|
@@ -1,22 +1,19 @@
|
|
|
package com.ym.mec.student.controller;
|
|
|
|
|
|
-import com.ym.mec.common.filters.TenantIdThreadLocal;
|
|
|
+import com.ym.mec.biz.dal.entity.SysConfig;
|
|
|
+import com.ym.mec.biz.service.SysConfigService;
|
|
|
+import com.ym.mec.common.controller.BaseController;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
-
|
|
|
-import java.util.HashMap;
|
|
|
-import java.util.List;
|
|
|
-import java.util.Map;
|
|
|
-
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
-import com.ym.mec.biz.dal.entity.SysConfig;
|
|
|
-import com.ym.mec.biz.service.SysConfigService;
|
|
|
-import com.ym.mec.common.controller.BaseController;
|
|
|
+import java.util.HashMap;
|
|
|
+import java.util.List;
|
|
|
+import java.util.Map;
|
|
|
|
|
|
/**
|
|
|
* 系统配置控制层
|
|
@@ -32,7 +29,6 @@ public class SysConfigController extends BaseController {
|
|
|
@ApiOperation(value = "参数列表")
|
|
|
@GetMapping(value = "list")
|
|
|
public Object configList(String group) {
|
|
|
- Integer integer = TenantIdThreadLocal.get();
|
|
|
Map<String,Object> params = new HashMap<String, Object>();
|
|
|
params.put("group", group);
|
|
|
List<SysConfig> configs = sysConfigService.findAll(params);
|