Commit 8b0503232b0a9c75826cf7f4547e724cbe5d5a84
1 parent
55e93928
Exists in
master
and in
1 other branch
test✅:调试签名验证日志
Showing
2 changed files
with
4 additions
and
4 deletions
Show diff stats
controllers/cardholder.go
middleware/sign/index.go
| ... | ... | @@ -171,9 +171,9 @@ func Check(req []byte, postdata interface{}, checkSign bool, checkToken bool) (c |
| 171 | 171 | |
| 172 | 172 | var b bool |
| 173 | 173 | |
| 174 | - fmt.Println(postdata) | |
| 175 | - fmt.Println(reflect.TypeOf(postdata)) | |
| 176 | - fmt.Println(reflect.TypeOf(postdata).Kind()) | |
| 174 | + lxalilog.Errors(postdata) | |
| 175 | + lxalilog.Errors(reflect.TypeOf(postdata)) | |
| 176 | + lxalilog.Errors(reflect.TypeOf(postdata).Kind()) | |
| 177 | 177 | |
| 178 | 178 | b, err = valid.Valid(postdata) |
| 179 | 179 | if err != nil { | ... | ... |