This commit is contained in:
richboo111
2023-02-16 11:33:00 +08:00
parent 608ed255a3
commit 9b2bf30cf2
2 changed files with 11 additions and 12 deletions

View File

@@ -2,6 +2,11 @@ package tiktok_store
import (
"encoding/json"
"io/ioutil"
"net/http"
"strings"
"time"
tiktokShop "git.rosy.net.cn/baseapi/platformapi/tiktok_shop/tiktok_api"
"git.rosy.net.cn/baseapi/utils"
"git.rosy.net.cn/jx-callback/business/jxutils"
@@ -9,10 +14,6 @@ import (
"git.rosy.net.cn/jx-callback/business/model/dao"
"git.rosy.net.cn/jx-callback/globals"
"git.rosy.net.cn/jx-callback/globals/api"
"io/ioutil"
"net/http"
"strings"
"time"
)
// 同一账号下,菜市消息推送到果园
@@ -91,7 +92,7 @@ func HttpToGuoYuan(param map[string]interface{}, requestType string) (*http.Resp
case CaiShiPushGyTagDeliveryDetail: // 配送查询详情
url = "http://callback-jxgy.jxc4.com/logistics/logisticsQuery"
case CaiShiPushGyTagWayBill: // 运单消息
url = "http://callback-jxgy.jxc4.com/tiktok/callbackTiktokOrderMsg"
}
httpReq, err := http.NewRequest(http.MethodPost, url, body)
if err != nil {