Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
A
accord-with-name
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
malin
accord-with-name
Commits
03f0a75b
Commit
03f0a75b
authored
Apr 09, 2021
by
malin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
t
parent
b7f555be
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
api.js
src/service/api.js
+1
-1
axios.js
src/service/axios.js
+1
-1
No files found.
src/service/api.js
View file @
03f0a75b
...
...
@@ -4,7 +4,7 @@ import sign from "./sign";
axios
.
defaults
.
withCredentials
=
false
// 设置axios不让携带cookie
const
reportUrl
=
"https://report.zhangxinhulian.com"
;
const
payUrl
=
"https://zx-pay
test
.zhangxinzhixun.com"
;
const
payUrl
=
"https://zx-pay.zhangxinzhixun.com"
;
const
request
=
(
url
,
method
,
data_or_params
=
{},
form
,
data
)
=>
{
if
(
process
.
env
.
NODE_ENV
===
"development"
)
{
...
...
src/service/axios.js
View file @
03f0a75b
import
axios
from
'axios'
let
baseURL
=
'https://feedapi
test
.zhangxinhulian.com'
let
baseURL
=
'https://feedapi.zhangxinhulian.com'
const
service
=
axios
.
create
({
baseURL
:
baseURL
,
...
...
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