文件上传修复

This commit is contained in:
2025-12-20 13:33:08 +08:00
parent 89ff8a7dba
commit 9b6e959973
20 changed files with 180 additions and 119 deletions

View File

@@ -1,6 +1,5 @@
package org.xyzh.system.controller;
import org.apache.dubbo.config.annotation.DubboReference;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
@@ -26,7 +25,7 @@ public class DeptRoleController {
private static final Logger logger = LoggerFactory.getLogger(DeptRoleController.class);
@DubboReference(version = "1.0.0", group = "system", timeout = 3000, retries = 0, scope = "local")
@Autowired
private DeptRoleService deptRoleService;
// ================= 部门角色相关接口 =================

View File

@@ -2,7 +2,7 @@ package org.xyzh.system.controller;
import java.util.Arrays;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
@@ -32,7 +32,7 @@ import jakarta.validation.constraints.NotNull;
@RequestMapping("/system/guest")
public class GuestController {
@DubboReference(version = "1.0.0", group = "system", timeout = 3000, retries = 0, scope = "local")
@Autowired
private GuestService guestService;

View File

@@ -1,6 +1,5 @@
package org.xyzh.system.controller;
import org.apache.dubbo.config.annotation.DubboReference;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
@@ -25,7 +24,7 @@ public class PermissionController {
private static final Logger logger = LoggerFactory.getLogger(PermissionController.class);
@DubboReference(version = "1.0.0", group = "system", timeout = 3000, retries = 0, scope = "local")
@Autowired
private ModulePermissionService modulePermissionService;
// ================= 模块相关接口 =================

View File

@@ -1,6 +1,5 @@
package org.xyzh.system.controller;
import org.apache.dubbo.config.annotation.DubboReference;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
@@ -24,7 +23,7 @@ public class SysConfigController {
private static final Logger logger = LoggerFactory.getLogger(SysConfigController.class);
@DubboReference(version = "1.0.0", group = "system", timeout = 3000, retries = 0, scope = "local")
@Autowired
private SysConfigService sysConfigService;
// ================= 系统配置相关接口 =================

View File

@@ -1,6 +1,5 @@
package org.xyzh.system.controller;
import org.apache.dubbo.config.annotation.DubboReference;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
@@ -26,7 +25,7 @@ public class UserController {
private static final Logger logger = LoggerFactory.getLogger(UserController.class);
@DubboReference(version = "1.0.0", group = "system", timeout = 3000, retries = 0, scope = "local")
@Autowired
private SysUserService sysUserService;
// ================= 用户相关接口 =================

View File

@@ -1,6 +1,5 @@
package org.xyzh.system.controller;
import org.apache.dubbo.config.annotation.DubboReference;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
@@ -23,7 +22,7 @@ public class ViewController {
private static final Logger logger = LoggerFactory.getLogger(ViewController.class);
@DubboReference(version = "1.0.0", group = "system", timeout = 3000, retries = 0, scope = "local")
@Autowired
private ViewService viewService;
// ================= 视图相关接口 =================