|
|
@@ -1,5 +1,5 @@
|
|
|
// pages/orders/order-detail.ts
|
|
|
-import { api_executeOrder, api_executePayment, api_queryByParamName, api_userPaymentOrderDetail, api_userPaymentOrderUnpaid } from "../../api/login";
|
|
|
+import { api_executeOrderV2, api_executePayment, api_queryByParamName, api_userPaymentOrderDetail, api_userPaymentOrderUnpaid } from "../../api/login";
|
|
|
import { api_sysAreaQueryAllProvince, api_userReceiveAddressPage, api_userReceiveAddressSave } from "../../api/new";
|
|
|
import { formatPrice, GRADE_ENUM } from "../../utils/util";
|
|
|
|
|
|
@@ -254,7 +254,7 @@ Page({
|
|
|
this.onPayError()
|
|
|
}
|
|
|
} else {
|
|
|
- const { data } = await api_executeOrder({
|
|
|
+ const { data } = await api_executeOrderV2({
|
|
|
orderType: "WECHAT_MINI",
|
|
|
paymentType: this.data.paymentType,
|
|
|
paymentCashAmount: allSalePrice,
|