feat:购物车订单
This commit is contained in:
1 parent
f15d3dbe90
commit
ce027925d4
7 files changed
+35
-35
No files matched your search
@@ -21,7 +21,7 @@ export default {
|
||||
}),
|
||||
product: (params: any) =>
|
||||
request({
|
||||
url: `/onlinefood/category/list`,
|
||||
url: `/canteen/canteenOnlineSpu/app/getCanteenSpuList`,
|
||||
method: "GET",
|
||||
params,
|
||||
custom: {
|
||||
@@ -39,7 +39,7 @@ export default {
|
||||
}),
|
||||
updateShopCar: (data: any) =>
|
||||
request({
|
||||
url: `/hard/car/save-or-upload`,
|
||||
url: `/hard/hard-car/app/save-or-upload`,
|
||||
method: "POST",
|
||||
data,
|
||||
custom: {
|
||||
|
||||
@@ -18,11 +18,11 @@ export default {
|
||||
});
|
||||
},
|
||||
// 创建硬件订单
|
||||
createHardwareOrder: (data) => {
|
||||
createHardwareOrder: (params) => {
|
||||
return request({
|
||||
url: "/hardware/order/create-order",
|
||||
method: "POST",
|
||||
data,
|
||||
url: "/hard/hard-order/app/create-order",
|
||||
method: "GET",
|
||||
params,
|
||||
custom: {
|
||||
showLoading: false,
|
||||
},
|
||||
|
||||
@@ -56,7 +56,7 @@ export default {
|
||||
}),
|
||||
transaction: (params: any) =>
|
||||
request({
|
||||
url: "wallet/wallet-transaction/page",
|
||||
url: "wallet/wallet-transaction/app/page",
|
||||
method: "GET",
|
||||
params,
|
||||
custom: {
|
||||
|
||||
Reference in new issue
Block a user