|
|
@@ -88,12 +88,12 @@ public class AdminSystemController extends BaseApiController {
|
|
|
return res.data(adminService.addSysConfig(in));
|
|
|
}
|
|
|
@RequestMapping(value = "/getSysConfig",method = RequestMethod.GET)
|
|
|
- public Result getSysConfig(Integer id){
|
|
|
+ public Result getSysConfig(Integer id){
|
|
|
Result res=new Result();
|
|
|
return res.data(adminService.getSysConfig(id));
|
|
|
}
|
|
|
@RequestMapping(value = "/updateSysConfig",method = RequestMethod.POST)
|
|
|
- public Result updateSysConfig(SysConfig in){
|
|
|
+ public Result updateSysConfig(SysConfig in){
|
|
|
Result res=new Result();
|
|
|
if(in.getContent()==null){
|
|
|
res.getError().add(buildError("内容不能为空"));
|