elkers
2025-04-07 bd9808a81b1eafdc75a42c1c9904408dc888061d
src/main/java/com/nanjing/water/host/controller/base/BaseController.java
文件名从 src/main/java/com/lunhan/xxx/host/controller/base/BaseController.java 修改
@@ -1,8 +1,8 @@
package com.lunhan.xxx.host.controller.base;
package com.nanjing.water.host.controller.base;
import com.lunhan.xxx.common.ExecutedResult;
import com.lunhan.xxx.entity.dto.NameValueDTO;
import com.lunhan.xxx.host.api.NonLogin;
import com.nanjing.water.common.ExecutedResult;
import com.nanjing.water.entity.dto.NameValueDTO;
import com.nanjing.water.host.api.NonLogin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -27,7 +27,7 @@
    @GetMapping("listEnumValue/{enumName}")
    public ExecutedResult<List<NameValueDTO>> listEnumValue(@PathVariable String enumName) {
        try {
            Class<?> enumClass = Class.forName("com.lunhan.xxx.entity.enums." + enumName);
            Class<?> enumClass = Class.forName("com.nanjing.water.entity.enums." + enumName);
            Method valuesMethod = enumClass.getMethod("values");
            Method getValueMethod = enumClass.getMethod("getValue");
            Method getDescMethod = enumClass.getMethod("getDesc");