- more error and warn output.

This commit is contained in:
gazebo
2018-07-01 10:10:50 +08:00
parent 71f774e02f
commit 1f22b95ee2
3 changed files with 8 additions and 8 deletions

View File

@@ -49,7 +49,7 @@ func (a *API) CheckCallbackValidation(request *http.Request) (callbackResponse *
for _, valueKey := range []string{"delivery_id", "mt_peisong_id", "order_id"} {
if request.FormValue(valueKey) == "" {
baseapi.SugarLogger.Errorf("Missing mandatory param:%v", valueKey)
baseapi.SugarLogger.Errorf("Missing mandatory param PostForm:%v, valueKey:%v", request.PostForm, valueKey)
return &CallbackResponse{
Code: -1,
}