skyouc
2025-09-09 dcf15598a799655041d098bb9d1a97dcb4485629
zy-asrs-wms/src/main/java/com/zy/asrs/wms/system/controller/AuthController.java
@@ -62,9 +62,9 @@
    @PostMapping("/login")
    public R login(@RequestBody LoginParam param, HttpServletRequest request) {
        if (!licenseTimer.getSystemSupport()) {//许可证已失效
            return R.parse(CodeRes.SYSTEM_20001);
        }
//        if (!licenseTimer.getSystemSupport()) {//许可证已失效
//            return R.parse(CodeRes.SYSTEM_20001);
//        }
        String username = param.getUsername();
        Long hostId = param.getHostId();
        User user = userService.getByUsername(username, hostId);