Commit db250c6c authored by 季圣华's avatar 季圣华
Browse files

修改系统配置接口

parent d776f342
......@@ -76,31 +76,6 @@ public class PlatformConfigController {
return res;
}
/**
* 是否显示广告
* @param request
* @return
*/
@GetMapping(value = "/isShowAd")
public BaseResponseInfo isShowAd(HttpServletRequest request)throws Exception {
BaseResponseInfo res = new BaseResponseInfo();
try {
User user = userService.getCurrentUser();
if (demonstrateOpen && TEST_USER.equals(user.getLoginName())) {
res.code = 200;
res.data = true;
} else {
res.code = 200;
res.data = false;
}
} catch(Exception e){
e.printStackTrace();
res.code = 500;
res.data = "获取数据失败";
}
return res;
}
/**
* 根据platformKey更新platformValue
* @param object
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment