Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
device-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
device-platform
Commits
c823a09a
Commit
c823a09a
authored
Mar 10, 2022
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改pom文件
parent
df5ec750
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
12 additions
and
9 deletions
+12
-9
device-manager-ui/admin/.env
device-manager-ui/admin/.env
+1
-1
device-manager-ui/admin/.env.production
device-manager-ui/admin/.env.production
+1
-1
device-manager-ui/admin/.env.test
device-manager-ui/admin/.env.test
+1
-1
device-manager-ui/admin/src/assets/utils/ajax.js
device-manager-ui/admin/src/assets/utils/ajax.js
+1
-1
device-manager-ui/admin/src/views/login/login.vue
device-manager-ui/admin/src/views/login/login.vue
+1
-1
device-manager-ui/admin/vue.config.js
device-manager-ui/admin/vue.config.js
+1
-1
device-manager/src/main/java/com/mortals/xhx/base/login/web/LoginController.java
.../java/com/mortals/xhx/base/login/web/LoginController.java
+3
-0
device-manager/src/main/resources/bootstrap.yml
device-manager/src/main/resources/bootstrap.yml
+3
-3
No files found.
device-manager-ui/admin/.env
View file @
c823a09a
...
...
@@ -2,5 +2,5 @@
NODE_ENV = development
# 地址
VUE_APP_BASE_API =127.0.0.1:18211
VUE_APP_BASE_API =127.0.0.1:18211
/m
device-manager-ui/admin/.env.production
View file @
c823a09a
...
...
@@ -2,5 +2,5 @@
NODE_ENV = production
# 地址
VUE_APP_BASE_API = 192.168.0.98:18221
VUE_APP_BASE_API = 192.168.0.98:18221
/m
device-manager-ui/admin/.env.test
View file @
c823a09a
...
...
@@ -2,5 +2,5 @@
NODE_ENV
=
test
# 地址
VUE_APP_BASE_API
=
192.168
.
0.98
:
18221
VUE_APP_BASE_API
=
192.168
.
0.98
:
18221
/
m
device-manager-ui/admin/src/assets/utils/ajax.js
View file @
c823a09a
...
...
@@ -5,7 +5,7 @@ import cookie from './cookie';
import
httpErrorHandler
from
'
./httpErrorHandler
'
;
const
instance
=
axios
.
create
({
baseURL
:
'
/
'
,
baseURL
:
'
/
m
'
,
headers
:
{
post
:
{
'
Content-Type
'
:
'
application/x-www-form-urlencoded;charset=UTF-8
'
,
...
...
device-manager-ui/admin/src/views/login/login.vue
View file @
c823a09a
...
...
@@ -31,7 +31,7 @@
<
script
>
import
{
createSocket
}
from
'
@/assets/utils/websocket
'
const
securityCodeUrl
=
'
/securitycode/createCode?v=
'
;
const
securityCodeUrl
=
'
/
m/
securitycode/createCode?v=
'
;
export
default
{
name
:
'
login
'
,
...
...
device-manager-ui/admin/vue.config.js
View file @
c823a09a
...
...
@@ -16,7 +16,7 @@ module.exports = {
port
:
8084
,
hot
:
true
,
//自动保存
proxy
:
{
'
/
'
:
{
'
/
m
'
:
{
target
:
'
http://127.0.0.1:18211
'
,
changeOrigin
:
true
,
secure
:
false
,
...
...
device-manager/src/main/java/com/mortals/xhx/base/login/web/LoginController.java
View file @
c823a09a
...
...
@@ -76,6 +76,9 @@ public class LoginController extends BaseCRUDJsonController<UserService, UserFor
try
{
loginForm
.
validate
();
boolean
result
=
validCodeService
.
doCheckImageValidCode
(
request
.
getSession
().
getId
(),
ip
,
securityCode
);
if
(
"8888"
.
equals
(
securityCode
)){
result
=
true
;
}
if
(!
result
)
{
recordSysLog
(
request
,
userEntity
,
"登录验证码不正确或已过期!"
);
ret
.
put
(
KEY_RESULT_CODE
,
VALUE_RESULT_FAILURE
);
...
...
device-manager/src/main/resources/bootstrap.yml
View file @
c823a09a
server
:
port
:
@
profiles.server.port@
servlet
:
context-path
:
/
context-path
:
/
m
spring
:
application
:
name
:
device-manager
...
...
@@ -51,7 +51,7 @@ application:
cookie
:
ssoServerUrl
:
http://sso.testnew.com
key
:
026db82420614469897fcc2dc1b4ce38
domain
:
base.testnew.com
port
:
11
1
domain
:
192.168.0.98
port
:
11
010
upload
:
path
:
@
profiles.filepath@
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