Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
shop_mobile_uni
Project
Project
Details
Activity
Releases
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
郑秀明
shop_mobile_uni
Commits
d59f1113
Commit
d59f1113
authored
Feb 17, 2020
by
郑秀明
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改请求路径
parent
a61452ab
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
Category.vue
pages/category/Category.vue
+4
-4
index.vue
pages/index/index.vue
+1
-1
No files found.
pages/category/Category.vue
View file @
d59f1113
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
},
},
getData
(
params
)
{
getData
(
params
)
{
uni
.
request
({
uni
.
request
({
url
:
'/api/credit_goods/get_credit_second_goods'
,
url
:
'/
uni/
api/credit_goods/get_credit_second_goods'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
dataType
:
'json'
,
dataType
:
'json'
,
...
@@ -91,7 +91,7 @@
...
@@ -91,7 +91,7 @@
}
}
this
.
tabIndex
=
index
;
this
.
tabIndex
=
index
;
uni
.
request
({
uni
.
request
({
url
:
'/api/credit_goods/get_credit_second_goods'
,
url
:
'/
uni/
api/credit_goods/get_credit_second_goods'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
{
data
:
{
...
params
,
...
params
,
...
@@ -110,7 +110,7 @@
...
@@ -110,7 +110,7 @@
changePage
(
data
)
{
changePage
(
data
)
{
const
{
current
}
=
data
;
const
{
current
}
=
data
;
uni
.
request
({
uni
.
request
({
url
:
'/api/credit_goods/get_credit_second_goods'
,
url
:
'/
uni/
api/credit_goods/get_credit_second_goods'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
{
data
:
{
...
this
.
params
,
...
this
.
params
,
...
@@ -125,7 +125,7 @@
...
@@ -125,7 +125,7 @@
},
},
search
(
keyword
)
{
search
(
keyword
)
{
uni
.
request
({
uni
.
request
({
url
:
'/api/credit_goods/get_credit_second_goods'
,
url
:
'/
uni/
api/credit_goods/get_credit_second_goods'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
{
data
:
{
goods_name
:
this
.
keyword
,
goods_name
:
this
.
keyword
,
...
...
pages/index/index.vue
View file @
d59f1113
...
@@ -116,7 +116,7 @@
...
@@ -116,7 +116,7 @@
},
},
getData
()
{
getData
()
{
uni
.
request
({
uni
.
request
({
url
:
'/api/credit_goods/get_credit_index_goods'
,
url
:
'/
uni/
api/credit_goods/get_credit_index_goods'
,
method
:
'GET'
,
method
:
'GET'
,
dataType
:
'json'
,
dataType
:
'json'
,
success
:
(
res
)
=>
{
success
:
(
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