Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
epidemic
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
史锦峰
epidemic
Commits
f5638e64
Commit
f5638e64
authored
Feb 24, 2020
by
sjf1256754123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
305d73e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
10 deletions
+2
-10
request.js
utils/request.js
+2
-10
No files found.
utils/request.js
View file @
f5638e64
/**
* Request 1.0.5
* @Class Request
* @description luch-request 1.0.4 http请求插件
* @Author lu-ch
* @Date 2019-12-12
* @Email webwork.s@qq.com
* http://ext.dcloud.net.cn/plugin?id=392
*/
import
store
from
'
../store
'
export
default
class
Request
{
config
=
{
baseUrl
:
'
https://health.sh-sict.com/ncov-api
'
,
// baseUrl: 'https://health.sh-sict.com/ncov-test-api',
// baseUrl: 'http://139.9.163.126/ncov-api',
// baseUrl: 'https://health.sh-sict.com/ncov-api',
baseUrl
:
'
https://health.sh-sict.com/ncov-test-api
'
,
header
:
{
'
content-type
'
:
'
application/json;charset=UTF-8
'
,
},
...
...
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