Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
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
shenshaokai
jinfa-platform
Commits
e16b20bb
Commit
e16b20bb
authored
Dec 07, 2020
by
前端-许佳敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 添加构建前接口的source字段
parent
6ea840d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
index.js
scripts/services/index.js
+4
-2
No files found.
scripts/services/index.js
View file @
e16b20bb
...
...
@@ -28,6 +28,9 @@ console.log(`\n当前访问的后端url是${remoteUrl}!!!!!!`)
const
axios
=
Axios
.
create
({
baseURL
:
remoteUrl
,
responseType
:
'json'
,
headers
:
{
"source"
:
"1"
}
})
if
(
!
SITE_ID
)
{
...
...
@@ -134,4 +137,4 @@ async function batchAxiosHttps() {
return
isDemo
?
Object
.
assign
(
asyncHttpQueue
,
await
demoFetch
())
:
asyncHttpQueue
}
exports
.
fetchConfig
=
batchAxiosHttps
\ No newline at end of file
exports
.
fetchConfig
=
batchAxiosHttps
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