Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_move
Project
Project
Details
Activity
Releases
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
胡宝山
template_move
Commits
d2d543b0
Commit
d2d543b0
authored
Oct 14, 2024
by
hubaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
第一版
parent
9fd203ad
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
login.js
src/api/login.js
+3
-1
vue.config.js
vue.config.js
+2
-3
No files found.
src/api/login.js
View file @
d2d543b0
...
@@ -13,7 +13,9 @@ export function login(username, password, code, uuid) {
...
@@ -13,7 +13,9 @@ export function login(username, password, code, uuid) {
return
request
({
return
request
({
url
:
'/auth/login'
,
url
:
'/auth/login'
,
method
:
'post'
,
method
:
'post'
,
params
:
data
,
data
:
Qs
.
stringify
({
sign
:
encrypt
(
data
)
}),
headers
:
{
headers
:
{
'Content-Type'
:
'application/x-www-form-urlencoded'
'Content-Type'
:
'application/x-www-form-urlencoded'
}
}
...
...
vue.config.js
View file @
d2d543b0
...
@@ -92,9 +92,8 @@ module.exports = {
...
@@ -92,9 +92,8 @@ module.exports = {
// target: `http://192.168.1.41:8082/`,
// target: `http://192.168.1.41:8082/`,
// target: `http://49.232.167.247:20014/`, // 线上
// target: `http://49.232.167.247:20014/`, // 线上
// target: `http://192.168.1.30:8082/`,
// target: `http://192.168.1.30:8082/`,
// target: `http://192.168.0.3:8092/`,
target
:
`http://192.168.0.3:8092/`
,
target
:
`http://localhost:8089/`
,
// target: `http://localhost:8089/`,
// target: `http://49.232.167.247:20014/`,
// target: `http://49.232.167.247:20014/`,
// changeOrigin: true,
// changeOrigin: true,
pathRewrite
:
{
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