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
5e4b985f
Commit
5e4b985f
authored
May 07, 2022
by
肖健
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更改接口地址
parent
3fb01edd
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
12 additions
and
12 deletions
+12
-12
index.vue
pages/binding/index.vue
+3
-3
moveCar.vue
pages/binding/moveCar.vue
+1
-1
main.vue
pages/main.vue
+1
-1
moveCar.vue
pages/moveCar.vue
+1
-1
shop.vue
pages/shop.vue
+3
-3
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/binding/index.vue
View file @
5e4b985f
...
...
@@ -75,7 +75,7 @@ export default {
},
//检查挪车码存在、是否绑定
getCheckMoveCode
(){
let
opts
=
{
url
:
'/app/
index
/check/move/code'
,
method
:
'post'
};
let
opts
=
{
url
:
'/app/
user
/check/move/code'
,
method
:
'post'
};
this
.
http
.
httpTokenRequest
(
opts
,
{
code
:
this
.
scene
}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
this
.
checkCode
=
res
.
data
.
data
...
...
@@ -146,7 +146,7 @@ export default {
if
(
this
.
scene
)
{
let
param
=
{
code
:
this
.
scene
}
opts
=
{
url
:
'/app/
index
/check/move/code'
,
method
:
'post'
}
opts
=
{
url
:
'/app/
user
/check/move/code'
,
method
:
'post'
}
that
.
http
.
httpTokenRequest
(
opts
,
param
).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
data
.
bindFlag
)
{
...
...
@@ -233,7 +233,7 @@ export default {
uni
.
setStorageSync
(
'xcxIndexPath'
,
res
.
data
.
data
.
xcxIndexPath
);
if
(
that
.
scene
)
{
let
param
=
{
code
:
this
.
scene
}
opts
=
{
url
:
'/app/
index
/check/move/code'
,
method
:
'post'
}
opts
=
{
url
:
'/app/
user
/check/move/code'
,
method
:
'post'
}
that
.
http
.
httpTokenRequest
(
opts
,
param
).
then
(
res
=>
{
console
.
info
(
res
);
if
(
res
.
data
.
code
==
200
)
{
...
...
pages/binding/moveCar.vue
View file @
5e4b985f
...
...
@@ -81,7 +81,7 @@ export default {
code
:
scene
}
let
opts
=
{
url
:
'/app/
index
/check/move/code'
,
url
:
'/app/
user
/check/move/code'
,
method
:
'post'
}
...
...
pages/main.vue
View file @
5e4b985f
...
...
@@ -72,7 +72,7 @@ export default {
code
:
scene
}
let
opts
=
{
url
:
'/app/
index
/check/move/code'
,
url
:
'/app/
user
/check/move/code'
,
method
:
'post'
}
console
.
log
(
param
);
...
...
pages/moveCar.vue
View file @
5e4b985f
...
...
@@ -82,7 +82,7 @@ export default {
code
:
scene
}
let
opts
=
{
url
:
'/app/
index
/check/move/code'
,
url
:
'/app/
user
/check/move/code'
,
method
:
'post'
}
...
...
pages/shop.vue
View file @
5e4b985f
...
...
@@ -88,7 +88,7 @@ export default {
load
(
paging
)
{
setTimeout
(()
=>
{
let
opts
=
{
url
:
'/app/mall/list?pageSize='
+
paging
.
size
+
'&pageNum='
+
paging
.
page
,
url
:
'/app/
index/
mall/list?pageSize='
+
paging
.
size
+
'&pageNum='
+
paging
.
page
,
method
:
'get'
};
this
.
http
.
httpTokenRequest
(
opts
,
{
...
...
@@ -121,7 +121,7 @@ export default {
},
getMallList
()
{
let
opts
=
{
url
:
'/app/mall/list'
,
url
:
'/app/
index/
mall/list'
,
method
:
'get'
};
this
.
http
.
httpTokenRequest
(
opts
,
{
...
...
@@ -134,7 +134,7 @@ export default {
},
getBoutiqueMallList
()
{
let
opts
=
{
url
:
'/app/mall/list'
,
url
:
'/app/
index/
mall/list'
,
method
:
'get'
};
this
.
http
.
httpTokenRequest
(
opts
,
{
...
...
pagesC/pages/shop/detail.vue
View file @
5e4b985f
...
...
@@ -48,7 +48,7 @@ export default {
})
},
getMallInfo
(){
let
opts
=
{
url
:
'/app/mall/'
+
this
.
id
,
method
:
'get'
};
let
opts
=
{
url
:
'/app/
index/
mall/'
+
this
.
id
,
method
:
'get'
};
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
this
.
mallInfo
=
res
.
data
.
data
...
...
pagesC/pages/shop/pay.vue
View file @
5e4b985f
...
...
@@ -158,7 +158,7 @@ export default {
},
getMallInfo
(){
let
opts
=
{
url
:
'/app/mall/'
+
this
.
id
,
method
:
'get'
};
let
opts
=
{
url
:
'/app/
index/
mall/'
+
this
.
id
,
method
:
'get'
};
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
this
.
mallInfo
=
res
.
data
.
data
...
...
pagesC/pages/shop/search.vue
View file @
5e4b985f
...
...
@@ -52,7 +52,7 @@ export default {
searchVal
:
this
.
keyword
}
console
.
log
(
searchCondition
)
let
opts
=
{
url
:
'/app/mall/list'
,
method
:
'get'
};
let
opts
=
{
url
:
'/app/
index/
mall/list'
,
method
:
'get'
};
this
.
http
.
httpTokenRequest
(
opts
,
searchCondition
).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
){
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