Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高淑倩
7-Eleven
Commits
b35d7ec6
Commit
b35d7ec6
authored
May 15, 2020
by
程南
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
前端分类接口修改,提交订单新增needPayMoney字段
parent
673b7c08
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
category.js
src/pages/category/category.js
+2
-1
confirmOrder.js
src/pages/confirmOrder/confirmOrder.js
+4
-0
categoryPro.js
src/subPackage/page/pages/categoryPro/categoryPro.js
+1
-2
No files found.
src/pages/category/category.js
View file @
b35d7ec6
...
...
@@ -73,7 +73,8 @@ wxService.page({
wx
.
showLoading
({
title
:
'加载中'
})
wxService
.
get
(
`/sale/product/mallCategory/buyer/findCategoryTree`
).
then
(
res
=>
{
// wxService.get(`/sale/product/mallCategory/buyer/findCategoryTree`).then(res => {
wxService
.
get
(
`/sale/product/mallCategory/findCategoryTree`
).
then
(
res
=>
{
let
{
result
,
data
}
=
res
.
data
if
(
result
==
0
)
{
wx
.
hideLoading
();
...
...
src/pages/confirmOrder/confirmOrder.js
View file @
b35d7ec6
...
...
@@ -1044,6 +1044,10 @@ wxService.page({
}
let
_this
=
this
;
params
.
needPayMoney
=
this
.
data
.
orderPrice
*
10
*
10
;
let
url
=
isSelect
?
'/sale/payment/merged/buyer/bill'
:
'/sale/trade/buyer/bill'
wxService
.
post
(
`
${
url
}
`
,
params
).
then
(
res
=>
{
if
(
res
)
{
...
...
src/subPackage/page/pages/categoryPro/categoryPro.js
View file @
b35d7ec6
...
...
@@ -144,8 +144,7 @@ wxService.page({
let
pageNo
=
this
.
data
.
pageNo
,
pageSize
=
this
.
data
.
pageSize
;
// wxService.post(`/sale/product/buyer/listPageByCategoryId?pageNo=${pageNo}&pageSize=${pageSize}`, this.data.form).then(res => {
// wxService.post(`/sale/product/buyer/findCategoryTreeIdByProductList?pageNo=${pageNo}&pageSize=${pageSize}&id=${this.data.form.mallCategoryId}`).then(res => {
wxService
.
post
(
`/sale/product/buyer/findCategoryTreeIdByProductList?pageNo=
${
pageNo
}
&pageSize=
${
pageSize
}
`
,
this
.
data
.
form
).
then
(
res
=>
{
wxService
.
post
(
`/sale/product/mallCategory/listPageProductByMallCategoryIdAndItsSons?pageNo=
${
pageNo
}
&pageSize=
${
pageSize
}
`
,
this
.
data
.
form
).
then
(
res
=>
{
const
{
result
,
data
}
=
res
.
data
if
(
result
==
0
&&
data
.
content
)
{
wx
.
hideLoading
()
...
...
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