Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
11ac6472
Commit
11ac6472
authored
Apr 02, 2020
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除请求头
parent
e6bc71cd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
src/utils/request.js
+0
-3
No files found.
src/utils/request.js
View file @
11ac6472
...
@@ -11,7 +11,6 @@ export async function requestGET(url, options) {
...
@@ -11,7 +11,6 @@ export async function requestGET(url, options) {
header
:
{
header
:
{
"Shop-Mixid"
:
shopMixid
,
"Shop-Mixid"
:
shopMixid
,
"Offline-Shop-Code"
:
store
.
state
.
offlineShopCode
,
"Offline-Shop-Code"
:
store
.
state
.
offlineShopCode
,
"dubbo-tag"
:
"ljx"
,
"Authorization"
:
wx
.
getStorageSync
(
'sessionid'
)
||
""
"Authorization"
:
wx
.
getStorageSync
(
'sessionid'
)
||
""
},
},
success
:
function
(
res
)
{
success
:
function
(
res
)
{
...
@@ -34,7 +33,6 @@ export async function requestPOST(url, options) {
...
@@ -34,7 +33,6 @@ export async function requestPOST(url, options) {
"Shop-Mixid"
:
shopMixid
,
"Shop-Mixid"
:
shopMixid
,
"Authorization"
:
wx
.
getStorageSync
(
'sessionid'
)
||
""
,
"Authorization"
:
wx
.
getStorageSync
(
'sessionid'
)
||
""
,
"Offline-Shop-Code"
:
store
.
state
.
offlineShopCode
,
"Offline-Shop-Code"
:
store
.
state
.
offlineShopCode
,
"dubbo-tag"
:
"ljx"
},
},
success
:
function
(
res
)
{
success
:
function
(
res
)
{
resolve
(
res
)
resolve
(
res
)
...
@@ -57,7 +55,6 @@ export function requestPOST1(url, options) {
...
@@ -57,7 +55,6 @@ export function requestPOST1(url, options) {
"Shop-Mixid"
:
shopMixid
,
"Shop-Mixid"
:
shopMixid
,
Authorization
:
wx
.
getStorageSync
(
'sessionid'
)
||
""
,
Authorization
:
wx
.
getStorageSync
(
'sessionid'
)
||
""
,
"Offline-Shop-Code"
:
store
.
state
.
offlineShopCode
,
"Offline-Shop-Code"
:
store
.
state
.
offlineShopCode
,
"dubbo-tag"
:
"ljx"
},
},
success
:
function
(
res
)
{
success
:
function
(
res
)
{
resolve
(
res
)
resolve
(
res
)
...
...
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