Commit 8b89145e by dliangx

update

parent f15080d6
...@@ -90,6 +90,11 @@ func QueryPayResult(ctx context.Context, c *app.RequestContext) { ...@@ -90,6 +90,11 @@ func QueryPayResult(ctx context.Context, c *app.RequestContext) {
resp.Head.Code = string(nltconst.SUCCESS) resp.Head.Code = string(nltconst.SUCCESS)
resp.Head.ServiceTime = nltconst.GetNowTime() resp.Head.ServiceTime = nltconst.GetNowTime()
resp.Head.ServiceSn = req.Head.ServiceSn resp.Head.ServiceSn = req.Head.ServiceSn
if resp.Response.Status == "37" {
resp.Response.Status = "SUCCESS"
} else {
resp.Response.Status = "FAIL"
}
cresp, _ = model.EncryptAndSign(resp) cresp, _ = model.EncryptAndSign(resp)
c.JSON(consts.StatusOK, cresp) c.JSON(consts.StatusOK, cresp)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment