|
@@ -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")
|