| | |
| | | import io.swagger.annotations.ApiParam; |
| | | import lombok.AllArgsConstructor; |
| | | import com.vci.ubcs.common.cache.CacheNames; |
| | | import org.hibernate.validator.internal.util.logging.Log; |
| | | import org.springblade.core.cache.utils.CacheUtil; |
| | | import org.springblade.core.excel.util.ExcelUtil; |
| | | import org.springblade.core.mp.support.Condition; |
| | |
| | | @RestController |
| | | @RequestMapping |
| | | @AllArgsConstructor |
| | | @lombok.extern.java.Log |
| | | public class UserController { |
| | | |
| | | private final IUserService userService; |
| | |
| | | @ApiOperationSupport(order = 20) |
| | | @ApiOperation(value = "查询用户密码策略是否需要提醒", notes = "传入id") |
| | | public R<Long> checkRenAndExpr(BladeUser user) { |
| | | System.out.println("==============================="+user.getUserId()); |
| | | log.info("==============================="+user.getUserId()); |
| | | Long res = userService.checkRenAndExpr(user.getUserId()); |
| | | return R.data(res); |
| | | } |