1
This commit is contained in:
@@ -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{})
|
||||
|
||||
Reference in New Issue
Block a user