zhouhao 8 роки тому
батько
коміт
0202e69159

+ 3 - 2
hsweb-system/hsweb-system-config/hsweb-system-config-controller/src/main/java/org/hswebframework/web/controller/config/ConfigController.java

@@ -35,10 +35,10 @@ import org.springframework.web.bind.annotation.RestController;
  * @author zhouhao
  */
 @RestController
-@RequestMapping("/config")
+@RequestMapping("${hsweb.web.mappings.config:config}")
 @Authorize(module = "config")
 @AccessLogger("配置管理")
-public class ConfigController implements GenericBeanController<SimpleConfigBean, String, QueryParamBean> {
+public class ConfigController implements GenericBeanController<SimpleConfigBean, String> {
 
     @Autowired
     private ConfigService<QueryParamBean> configService;
@@ -47,4 +47,5 @@ public class ConfigController implements GenericBeanController<SimpleConfigBean,
     public ConfigService getService() {
         return configService;
     }
+
 }