|
@@ -533,22 +533,8 @@
|
|
|
$(".ogMarkButton").on(tap, async function () {
|
|
|
console.log("paypaing")
|
|
|
$("#loadingModel").show(0)
|
|
|
- // 支付之前先判断是否有默认地址
|
|
|
- if (!addressId) {
|
|
|
- showToast('No address')
|
|
|
- return
|
|
|
|
|
|
- // 先添加地址
|
|
|
- // const res = await addAddress()
|
|
|
- // addressId = res
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
- const params = {
|
|
|
- //"cartIds": "10002",
|
|
|
- "delivery": 10,
|
|
|
- "address_id": addressId
|
|
|
- }
|
|
|
+ const params = { }
|
|
|
const res = await orderPayment(params)
|
|
|
const {status, message, data} = res || {}
|
|
|
if (status === 200 || status === "200") {
|