1
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package mtwmapi
|
||||
|
||||
import (
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
"strings"
|
||||
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
@@ -452,11 +453,14 @@ func (a *API) RetailDiscountDelete2(poiCode string, actType int, actIDList []str
|
||||
if actType == 0 {
|
||||
actType = RetailActTypeDirectDown
|
||||
}
|
||||
globals.SugarLogger.Debugf("=========poiCode : %s ,%d ,%s", poiCode, actType, utils.Format4Output(actIDList, false))
|
||||
result, err := a.AccessAPI("act/retail/discount/batchdelete", false, map[string]interface{}{
|
||||
KeyAppPoiCode: poiCode,
|
||||
"act_type": actType,
|
||||
"item_ids": strings.Join(actIDList, ","),
|
||||
})
|
||||
globals.SugarLogger.Debugf("==============resullt := %s", utils.Format4Output(result, false))
|
||||
globals.SugarLogger.Debugf("==============err := %v", err)
|
||||
var msg string
|
||||
if err == nil {
|
||||
msg = getMsgFromResult(result)
|
||||
|
||||
Reference in New Issue
Block a user