Closed male110 closed 1 year ago
如何自义错误信息? { "code":400, "message":"please input password" } or { "code":400, "message":{"password":"please input password","username":"please input username"} }
@male110 This might be helpful https://github.com/rambler-digital-solutions/actix-web-validator/issues/20#issuecomment-856078177
如何自义错误信息? { "code":400, "message":"please input password" } or { "code":400, "message":{"password":"please input password","username":"please input username"} }