mtps校验签名?

This commit is contained in:
苏尹岚
2020-06-16 18:05:50 +08:00
parent f01e9ca1fd
commit 657122bd1b

View File

@@ -133,6 +133,7 @@ func (c *DeliveryHandler) pushToGy(waybill *model.Waybill, msg *mtpsapi.Callback
if err != nil {
return
}
fmt.Println("testgy request : %v", request.FormValue("sign"))
request.Header.Set("content_type", "application/x-www-form-urlencoded; charset=UTF-8")
cl.Do(request)
}