Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
db250c6c
Commit
db250c6c
authored
Oct 17, 2021
by
季圣华
Browse files
修改系统配置接口
parent
d776f342
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-boot/src/main/java/com/jsh/erp/controller/PlatformConfigController.java
View file @
db250c6c
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment