This commit is contained in:
richboo111
2024-01-29 17:36:25 +08:00
parent cf5fa322be
commit b26b8e75e6

View File

@@ -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{})