zjj
2025-07-19 f300ac5af5afc40c7a225768ad4cfa36ff99a11f
rsf-server/src/main/java/com/vincent/rsf/server/system/controller/AuthController.java
@@ -64,7 +64,8 @@
    public R login(@RequestBody LoginParam param, HttpServletRequest request) {
        String username = param.getUsername();
        User user = userService.getByUsername(username
                , configProperties.getSystemMode().equals(SystemModeType.OFFLINE) ? param.getTenantId() : null
                , configProperties.getSystemMode()
                        .equals(SystemModeType.OFFLINE) ? param.getTenantId() : null
        );
        if (user == null) {
            return R.parse(BusinessRes.USERNAME_NOT_EXIST);