This commit is contained in:
邹宗楠
2024-12-05 11:12:44 +08:00
parent 21d56935b4
commit 35cfea05ee
5 changed files with 10 additions and 3 deletions

View File

@@ -199,7 +199,6 @@ func pushMTPSToTiktok(msgStatus int, order *model.Waybill, lng, lat, vendorOrgCo
}
func (c *DeliveryHandler) pushToGy(msg *mtpsapi.CallbackOrderMsg, serverType string) {
cl := http.Client{}
params := make(map[string]interface{})
params["mt_peisong_id"] = msg.MtPeisongID
params["courier_name"] = msg.CourierName
@@ -215,6 +214,7 @@ func (c *DeliveryHandler) pushToGy(msg *mtpsapi.CallbackOrderMsg, serverType str
sign := signParams(urls)
params["sign"] = sign
cl := http.Client{}
var request *http.Request
var err error
switch serverType {