Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gas-management
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴卿华
gas-management
Commits
29e962ba
Commit
29e962ba
authored
May 28, 2024
by
吴卿华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024/5/28
parent
9764361c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
25 deletions
+26
-25
SysUserServiceImpl.java
...va/com/zehong/system/service/impl/SysUserServiceImpl.java
+21
-21
login.vue
gas-management-web/src/views/login.vue
+2
-2
vue.config.js
gas-management-web/vue.config.js
+3
-2
No files found.
gas-management-system/src/main/java/com/zehong/system/service/impl/SysUserServiceImpl.java
View file @
29e962ba
...
...
@@ -209,7 +209,7 @@ public class SysUserServiceImpl implements ISysUserService
{
if
(
StringUtils
.
isNotNull
(
user
.
getUserId
())
&&
user
.
isAdmin
())
{
throw
new
CustomException
(
"不允许操作超级管理员用户"
);
//
throw new CustomException("不允许操作超级管理员用户");
}
}
...
...
gas-management-web/src/views/login.vue
View file @
29e962ba
...
...
@@ -65,8 +65,8 @@ export default {
codeUrl
:
""
,
cookiePassword
:
""
,
loginForm
:
{
username
:
"
admin
"
,
password
:
"
admin123
"
,
username
:
""
,
password
:
""
,
rememberMe
:
false
,
code
:
""
,
uuid
:
""
...
...
gas-management-web/vue.config.js
View file @
29e962ba
...
...
@@ -35,7 +35,8 @@ module.exports = {
[
process
.
env
.
VUE_APP_BASE_API
]:
{
// target: `http://36.148.23.59:8901/gassafety`,
//target: 'http://192.168.2.22:8903/gassafety',
target
:
'http://27.128.175.86:8903/gassafety'
,
// target: 'http://27.128.175.86:8903/gassafety',
target
:
'http://127.0.0.1:8903/gassafety'
,
// target: 'https://bazhou.zhkjgf.com:8903/gassafety',
changeOrigin
:
true
,
pathRewrite
:
{
...
...
Write
Preview
Markdown
is supported
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