Commit b7f3d90d by liang.deng

log

parent bec31acf
...@@ -29,7 +29,8 @@ func Auth(ctx context.Context, c *app.RequestContext) { ...@@ -29,7 +29,8 @@ func Auth(ctx context.Context, c *app.RequestContext) {
return return
} }
req, err = model.VerifyAndDecrypt[model.AuthReq](creq) req, err = model.VerifyAndDecrypt[model.AuthReq](creq)
fmt.Println(req) log.Println("互信接口请求参数(解密后):")
log.Println(req)
if err != nil { if err != nil {
if err.Error() == "解密错误" { if err.Error() == "解密错误" {
resp.Head.Code = nltconst.DECRYPT_ERROR resp.Head.Code = nltconst.DECRYPT_ERROR
......
...@@ -28,6 +28,8 @@ func QueryPayResult(ctx context.Context, c *app.RequestContext) { ...@@ -28,6 +28,8 @@ func QueryPayResult(ctx context.Context, c *app.RequestContext) {
return return
} }
req, err = model.VerifyAndDecrypt[model.PayResultReq](creq) req, err = model.VerifyAndDecrypt[model.PayResultReq](creq)
log.Println("查询接口请求参数(解密后):")
log.Println(req)
if err != nil { if err != nil {
if err.Error() == "解密错误" { if err.Error() == "解密错误" {
resp.Head.Code = nltconst.DECRYPT_ERROR resp.Head.Code = nltconst.DECRYPT_ERROR
......
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