Commit a4cb4ded by lixian7

添加解密注解

parent ae5601ce
......@@ -50,6 +50,7 @@ public class BindInfoControlller extends BaseController {
* @date: 2020/6/19 10:27
*/
@PostMapping("bind")
@BodyDecryptAnnotation
@ResponseEncryptAnnotation
public Response<String> bindInfo(@RequestBody BindInfo info) {
if (info == null) {
......@@ -68,6 +69,8 @@ public class BindInfoControlller extends BaseController {
* @date: 2020/6/19 10:27
*/
@PostMapping("unbind")
@BodyDecryptAnnotation
@ResponseEncryptAnnotation
public Response unbindInfo(@RequestBody @Validated UnBindReq req) {
return service.unbindInfo(req) ? ResponseGenerator.success() : ResponseGenerator.fail("解绑失败");
}
......
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