Browse Source

接口api

liulingchao 4 years ago
parent
commit
4b3512bd79

+ 4 - 0
dgtly-member/dgtly-member-api/src/main/java/com/dgtly/member/controller/CaptchaController.java

@@ -1,5 +1,7 @@
 package com.dgtly.member.controller;
 
+import com.dgtly.common.annotation.ApiNoCheckSign;
+import com.dgtly.common.annotation.ApiPassToken;
 import com.dgtly.common.core.controller.BaseController;
 import com.google.code.kaptcha.Constants;
 import com.google.code.kaptcha.Producer;
@@ -19,6 +21,8 @@ import java.io.IOException;
 
 @Controller
 @RequestMapping("/captcha/info")
+@ApiPassToken
+@ApiNoCheckSign
 public class CaptchaController extends BaseController
 {
     @Resource(name = "captchaProducer")