Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
strategy-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
strategy-ui
Commits
16d042b3
Commit
16d042b3
authored
Dec 31, 2019
by
derong.zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改路径
parent
6770c6ee
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
strategymange.serve.js
src/api/strategymange.serve.js
+3
-1
user.serve.js
src/api/user.serve.js
+5
-5
No files found.
src/api/strategymange.serve.js
View file @
16d042b3
import
axios
from
'
../services/http.service
'
import
sapi
from
'
../config/index
'
import
{
sapi
}
from
'
../config
'
export
function
getSoulSoother
()
{
return
axios
.
get
(
`
${
sapi
}
/api/sysStrategy/getTodaySoul`
,
{
headers
:
{
'
Content-Type
'
:
'
application/json
'
...
...
src/api/user.serve.js
View file @
16d042b3
import
axios
from
'
../services/http.service
'
//
import {
//
sapi
//
} from '../config'
import
{
sapi
}
from
'
../config
'
export
function
login
(
data
)
{
return
axios
.
post
(
`
/gateway
/api/login/doLogin`
,
data
,
{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/login/doLogin`
,
data
,
{
headers
:
{
'
Content-Type
'
:
'
application/json
'
}})
}
...
...
@@ -13,7 +13,7 @@ export function loginout () {
}})
}
export
function
getmassage
()
{
return
axios
.
get
(
`
/gateway
/api/login/me`
,
{
headers
:
{
return
axios
.
get
(
`
${
sapi
}
/api/login/me`
,
{
headers
:
{
'
Content-Type
'
:
'
application/json
'
}})
}
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