|
@@ -3,6 +3,7 @@ package com.yonge.cooleshow.teacher.controller;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
|
|
+import java.util.Arrays;
|
|
|
import java.util.HashMap;
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
@@ -53,4 +54,14 @@ public class SysConfigController extends BaseController {
|
|
|
}
|
|
|
return succeed(sysConfigService.findByParamName(paramName));
|
|
|
}
|
|
|
+
|
|
|
+ @ApiOperation(value = "查询参数")
|
|
|
+ @GetMapping(value = "queryByParamNameList")
|
|
|
+ public Object queryByParamNameList(String paramNames) {
|
|
|
+ if(StringUtils.isBlank(paramNames)){
|
|
|
+ return failed("参数不能为空");
|
|
|
+ }
|
|
|
+ List<String> paramNameList = Arrays.asList(paramNames.split(","));
|
|
|
+ return succeed(sysConfigService.findByParamName(paramNameList));
|
|
|
+ }
|
|
|
}
|