Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
H
huamu
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
郭铭瑶
huamu
Commits
3be9b06d
Commit
3be9b06d
authored
Sep 06, 2021
by
郭铭瑶
🤘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会后api改动
parent
b52e945f
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
298 additions
and
264 deletions
+298
-264
api-archive.ts
src/ajax/api-archive.ts
+283
-0
api.ts
src/ajax/api.ts
+14
-261
axios.ts
src/ajax/axios.ts
+1
-3
No files found.
src/ajax/api-archive.ts
0 → 100644
View file @
3be9b06d
This diff is collapsed.
Click to expand it.
src/ajax/api.ts
View file @
3be9b06d
This diff is collapsed.
Click to expand it.
src/ajax/axios.ts
View file @
3be9b06d
...
...
@@ -10,9 +10,7 @@ const Axios = axios.create({
Axios
.
interceptors
.
request
.
use
(
(
config
)
=>
{
// 添加token
config
.
headers
.
authorization
=
LZString
.
decompressFromEncodedURIComponent
(
api
.
TOKEN
,
)
config
.
headers
.
authorization
=
api
.
TOKEN
return
config
},
(
error
)
=>
{
...
...
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