Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 97c88b48
authored
Mar 27, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix 请求配置遗漏问题
1 parent
5c5cf34a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/api/request.js
src/api/request.js
View file @
97c88b4
...
@@ -23,7 +23,6 @@ const request = (
...
@@ -23,7 +23,6 @@ const request = (
if
(
!
apiName
)
{
if
(
!
apiName
)
{
throw
new
Error
(
"apiName is null"
)
throw
new
Error
(
"apiName is null"
)
}
}
// const apiName
const
mappingName
=
{
const
mappingName
=
{
"dj.smartcarlife"
:
"axios"
,
"dj.smartcarlife"
:
"axios"
,
dj
:
"axios"
,
dj
:
"axios"
,
...
@@ -52,7 +51,8 @@ const request = (
...
@@ -52,7 +51,8 @@ const request = (
"dj.smartcarlife"
:
"sha1"
,
"dj.smartcarlife"
:
"sha1"
,
dj
:
"sha1"
,
dj
:
"sha1"
,
scrm
:
"md5"
,
scrm
:
"md5"
,
glsx
:
"md5"
glsx
:
"md5"
,
"glsx.accounts.biz.common.pictureUpload"
:
"md5"
}
}
const
secret
=
baseConfig
[
baseApiName
].
secret
const
secret
=
baseConfig
[
baseApiName
].
secret
// const signWay = baseConfig[baseApiName].signWay
// const signWay = baseConfig[baseApiName].signWay
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment