|
@@ -32,9 +32,7 @@ public class AdminLoginController {
|
|
public JsonResult adminLogin(@RequestBody AdminPojo adminPojo){
|
|
public JsonResult adminLogin(@RequestBody AdminPojo adminPojo){
|
|
|
|
|
|
CaptchaVO captchaVO = new CaptchaVO();
|
|
CaptchaVO captchaVO = new CaptchaVO();
|
|
- captchaVO.setCaptchaType( adminPojo.getCaptchaType() );
|
|
|
|
- captchaVO.setPointJson(adminPojo.getPointJson() );
|
|
|
|
- captchaVO.setToken( adminPojo.getToken() );
|
|
|
|
|
|
+ captchaVO.setCaptchaVerification( adminPojo.getCaptchaVerification() );
|
|
ResponseModel response = captchaService.verification(captchaVO);
|
|
ResponseModel response = captchaService.verification(captchaVO);
|
|
if (!response.isSuccess()) {
|
|
if (!response.isSuccess()) {
|
|
throw new EasException( response.getRepMsg() , Integer.parseInt(response.getRepCode()));
|
|
throw new EasException( response.getRepMsg() , Integer.parseInt(response.getRepCode()));
|