This commit is contained in:
richboo111
2023-02-16 17:06:34 +08:00
parent 9b2bf30cf2
commit d504e54eaf

View File

@@ -67,7 +67,7 @@ func OnOrderMsg(msgId string, msg interface{}) (response *tiktokShop.CallbackRes
func HttpToGuoYuan(param map[string]interface{}, requestType string) (*http.Response, error) {
var paramData []byte
var err error
if requestType == "order" {
if requestType == "order" || requestType == "waybill" {
param["data"] = utils.Format4Output(param["data"], false)
paramData, err = json.Marshal([]interface{}{param})
if err != nil {