This commit is contained in:
邹宗楠
2024-06-17 09:42:09 +08:00
parent bc71a1f1d9
commit bbc344763f
10 changed files with 42 additions and 29 deletions

View File

@@ -3,6 +3,7 @@ package mtwmapi
import (
"encoding/json"
"fmt"
"git.rosy.net.cn/jx-callback/globals"
"io/ioutil"
"net/http"
"strings"
@@ -260,6 +261,9 @@ func (a *API) PoiSettleSave(poiSettleSaveParam *PoiSettleSaveParam) (vendorStore
"type": poiSettleSaveParam.Type,
"apply_info": string(data),
})
globals.SugarLogger.Debugf("========data := %s", utils.Format4Output(data, false))
globals.SugarLogger.Debugf("========result := %s", utils.Format4Output(result, false))
globals.SugarLogger.Debugf("========err := %v", err)
if err == nil {
vendorStoreID = result.(map[string]interface{})["success_list"].([]interface{})[0].(map[string]interface{})["app_poi_code"].(string)
}