Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
J
jd-vx-app
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
Administrator
jd-vx-app
Commits
7facf74f
Commit
7facf74f
authored
May 07, 2022
by
肖健
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更改为非token请求
parent
66948fdc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
shop.vue
pages/shop.vue
+1
-1
detail.vue
pagesC/pages/shop/detail.vue
+1
-1
pay.vue
pagesC/pages/shop/pay.vue
+1
-1
search.vue
pagesC/pages/shop/search.vue
+1
-1
No files found.
pages/shop.vue
View file @
7facf74f
...
@@ -91,7 +91,7 @@ export default {
...
@@ -91,7 +91,7 @@ export default {
url
:
'/app/index/mall/list?pageSize='
+
paging
.
size
+
'&pageNum='
+
paging
.
page
,
url
:
'/app/index/mall/list?pageSize='
+
paging
.
size
+
'&pageNum='
+
paging
.
page
,
method
:
'get'
method
:
'get'
};
};
this
.
http
.
http
Token
Request
(
opts
,
{
this
.
http
.
httpRequest
(
opts
,
{
classification
:
"2"
classification
:
"2"
}).
then
(
res
=>
{
}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
...
...
pagesC/pages/shop/detail.vue
View file @
7facf74f
...
@@ -49,7 +49,7 @@ export default {
...
@@ -49,7 +49,7 @@ export default {
},
},
getMallInfo
(){
getMallInfo
(){
let
opts
=
{
url
:
'/app/index/mall/'
+
this
.
id
,
method
:
'get'
};
let
opts
=
{
url
:
'/app/index/mall/'
+
this
.
id
,
method
:
'get'
};
this
.
http
.
http
Token
Request
(
opts
,
{}).
then
(
res
=>
{
this
.
http
.
httpRequest
(
opts
,
{}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
this
.
mallInfo
=
res
.
data
.
data
this
.
mallInfo
=
res
.
data
.
data
this
.
list6
=
this
.
mallInfo
.
imageUrls
this
.
list6
=
this
.
mallInfo
.
imageUrls
...
...
pagesC/pages/shop/pay.vue
View file @
7facf74f
...
@@ -159,7 +159,7 @@ export default {
...
@@ -159,7 +159,7 @@ export default {
},
},
getMallInfo
(){
getMallInfo
(){
let
opts
=
{
url
:
'/app/index/mall/'
+
this
.
id
,
method
:
'get'
};
let
opts
=
{
url
:
'/app/index/mall/'
+
this
.
id
,
method
:
'get'
};
this
.
http
.
http
Token
Request
(
opts
,
{}).
then
(
res
=>
{
this
.
http
.
httpRequest
(
opts
,
{}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
this
.
mallInfo
=
res
.
data
.
data
this
.
mallInfo
=
res
.
data
.
data
}
}
...
...
pagesC/pages/shop/search.vue
View file @
7facf74f
...
@@ -53,7 +53,7 @@ export default {
...
@@ -53,7 +53,7 @@ export default {
}
}
console
.
log
(
searchCondition
)
console
.
log
(
searchCondition
)
let
opts
=
{
url
:
'/app/index/mall/list'
,
method
:
'get'
};
let
opts
=
{
url
:
'/app/index/mall/list'
,
method
:
'get'
};
this
.
http
.
http
Token
Request
(
opts
,
searchCondition
).
then
(
res
=>
{
this
.
http
.
httpRequest
(
opts
,
searchCondition
).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
){
if
(
res
.
data
.
code
==
200
){
this
.
items
=
res
.
data
.
data
.
rows
this
.
items
=
res
.
data
.
data
.
rows
}
}
...
...
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