diff --git a/platformapi/mtwmapi/act.go b/platformapi/mtwmapi/act.go index bec8a38f..a6e0278a 100644 --- a/platformapi/mtwmapi/act.go +++ b/platformapi/mtwmapi/act.go @@ -384,11 +384,14 @@ func (a *API) RetailDiscountBatchSave2(poiCode string, actType int, actData []*R if actType == 0 { actType = RetailActTypeDirectDown } + globals.SugarLogger.Debugf("RetailDiscountBatchSave2 test0129 appID=%s,secret=%s", a.appID, a.secret) result, err := a.AccessAPI2("act/retail/discount/batchsave", false, map[string]interface{}{ KeyAppPoiCode: poiCode, "act_data": string(utils.MustMarshal(actData)), "act_type": actType, }, "", "") + globals.SugarLogger.Debugf("RetailDiscountBatchSave2 test0129 result=%s", utils.Format4Output(result, false)) + var msg string if err == nil { resultMap := result.(map[string]interface{})