| | |
| | | package com.moral.api.controller; |
| | | |
| | | import com.moral.constant.Constants; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | |
| | | return ResultMessage.fail(ResponseCodeEnum.PASSWORD_INVALID.getCode(), ResponseCodeEnum.PASSWORD_INVALID.getMsg()); |
| | | } |
| | | //校验是否删除 |
| | | if ("1".equals(user.getIsDelete())) { |
| | | if (Constants.DELETE.equals(user.getIsDelete())) { |
| | | return ResultMessage.fail(ResponseCodeEnum.ACCOUNT_IS_DELETE.getCode(), ResponseCodeEnum.ACCOUNT_IS_DELETE.getMsg()); |
| | | } |
| | | //校验是否过期 |