上传发货api优化

This commit is contained in:
liwei1dao 2023-06-16 11:12:47 +08:00
parent 59ad039502
commit 1359da0f16

View File

@ -53,6 +53,8 @@ func (this *Api_Comp) PayDelivery(c *engine.Context) {
if sign != req[4].(string) {
payresp.Code = pb.ErrorCode_SignError
payresp.Msg = pb.GetErrorCodeMsg(pb.ErrorCode_SignError)
this.module.Errorf("PayDelivery 签名错误! sginStr:%s sign:%s", sginStr, sign)
return
}
ctx, _ := context.WithTimeout(context.TODO(), time.Second*5)
if err = this.module.service.RpcCall(