Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
groupPurchase-miniapp
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
彭佳妮(贵阳日报)
groupPurchase-miniapp
Commits
509ffcf3
Commit
509ffcf3
authored
Aug 10, 2024
by
张娇(东信)
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
de749fca
bb363da5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
0 deletions
+28
-0
shop.js
src/api/assistingAgriculture/shop.js
+24
-0
ConfirmOrder.vue
src/pages/assistingAgriculture/cart/ConfirmOrder.vue
+0
-0
confirmOrder.vue
src/pages/shop/confirmOrder.vue
+4
-0
No files found.
src/api/assistingAgriculture/shop.js
View file @
509ffcf3
...
@@ -40,3 +40,27 @@ export function znsgyOrderCreate(data) {
...
@@ -40,3 +40,27 @@ export function znsgyOrderCreate(data) {
data
,
data
,
});
});
}
}
// 筑农首页-查询用户默认收货地址
export
function
useraddrDefaultUserAddr
(
data
)
{
return
request
({
url
:
`/sgyrdd/useraddr/defaultUserAddr`
,
method
:
'GET'
,
data
,
});
}
// 筑农首页-修改临时订单
export
function
previewOrderBasketUpdate
(
data
)
{
return
request
({
url
:
`/sgyrdd/previewOrder/basket/update`
,
method
:
'POST'
,
data
,
});
}
// 筑农首页-3、订单详情
export
function
sgyOrderOrderInfo
(
data
)
{
return
request
({
url
:
`/sgyrdd/sgyOrder/orderInfo`
,
method
:
'GET'
,
data
,
});
}
src/pages/assistingAgriculture/cart/ConfirmOrder.vue
View file @
509ffcf3
This diff is collapsed.
Click to expand it.
src/pages/shop/confirmOrder.vue
View file @
509ffcf3
...
@@ -231,6 +231,10 @@ function groupBuyConfirmFn(prodId, skuId) {
...
@@ -231,6 +231,10 @@ function groupBuyConfirmFn(prodId, skuId) {
res
.
data
.
orderItems
[
0
].
pic
=
imgUrl
+
res
.
data
.
orderItems
[
0
].
pic
;
res
.
data
.
orderItems
[
0
].
pic
=
imgUrl
+
res
.
data
.
orderItems
[
0
].
pic
;
orderInfo
.
value
=
res
.
data
;
orderInfo
.
value
=
res
.
data
;
resolve
(
res
.
data
.
shopId
);
resolve
(
res
.
data
.
shopId
);
}
else
{
wx
.
showToast
({
title
:
res
.
msg
})
}
}
});
});
});
});
...
...
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