From b26b8e75e6763d9c566cc5b7ec5a4a4297159cef Mon Sep 17 00:00:00 2001 From: richboo111 Date: Mon, 29 Jan 2024 17:36:25 +0800 Subject: [PATCH] 1 --- platformapi/mtwmapi/act.go | 3 +++ 1 file changed, 3 insertions(+) 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{})