|
@@ -24,6 +24,7 @@ import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.security.oauth2.common.OAuth2AccessToken;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
@@ -74,10 +75,10 @@ public class SysUserController {
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "获取验证码[by:cy]")
|
|
|
- @PostMapping("/getCaptcha")
|
|
|
+ @GetMapping("/getCaptcha")
|
|
|
@SysLogger("getCaptcha")
|
|
|
public void getCaptcha(HttpServletRequest request, HttpServletResponse response) throws IOException {
|
|
|
- userFacade.getCaptcha(request,response);
|
|
|
+ userFacade.getCaptcha(request, response);
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "获取标识--选择登录页面[by:cy]")
|