Commit d5117856357433c62879ac81fb7338de41d5ff97
1 parent
3777381e
小程序的优化
Showing
2 changed files
with
5 additions
and
1 deletions
packageA/pages/details_serviceCard/details_serviceCard.js
@@ -587,6 +587,7 @@ Page({ | @@ -587,6 +587,7 @@ Page({ | ||
587 | card_id: it.card_id, | 587 | card_id: it.card_id, |
588 | prom_type: it.prom_type, | 588 | prom_type: it.prom_type, |
589 | prom_id: it.prom_id, | 589 | prom_id: it.prom_id, |
590 | + ispay:1 | ||
590 | } | 591 | } |
591 | }).then(res => { | 592 | }).then(res => { |
592 | 593 | ||
@@ -662,6 +663,7 @@ Page({ | @@ -662,6 +663,7 @@ Page({ | ||
662 | card_id: it.card_id, | 663 | card_id: it.card_id, |
663 | prom_type: it.prom_type, | 664 | prom_type: it.prom_type, |
664 | prom_id: it.prom_id, | 665 | prom_id: it.prom_id, |
666 | + ispay:1 | ||
665 | } | 667 | } |
666 | }).then(res => { | 668 | }).then(res => { |
667 | if (res.data.code == 0) { | 669 | if (res.data.code == 0) { |
pages/user/order_list/order_list.js
@@ -2551,6 +2551,7 @@ Page({ | @@ -2551,6 +2551,7 @@ Page({ | ||
2551 | card_id: it.card_id, | 2551 | card_id: it.card_id, |
2552 | prom_type: it.prom_type, | 2552 | prom_type: it.prom_type, |
2553 | prom_id: it.prom_id, | 2553 | prom_id: it.prom_id, |
2554 | + ispay:1 | ||
2554 | } | 2555 | } |
2555 | }).then(res => { | 2556 | }).then(res => { |
2556 | if (res.data.code == 0) { | 2557 | if (res.data.code == 0) { |
@@ -2624,6 +2625,7 @@ Page({ | @@ -2624,6 +2625,7 @@ Page({ | ||
2624 | card_id: it.card_id, | 2625 | card_id: it.card_id, |
2625 | prom_type: it.prom_type, | 2626 | prom_type: it.prom_type, |
2626 | prom_id: it.prom_id, | 2627 | prom_id: it.prom_id, |
2628 | + ispay:1 | ||
2627 | } | 2629 | } |
2628 | }).then(res => { | 2630 | }).then(res => { |
2629 | if (res.data.code == 0) { | 2631 | if (res.data.code == 0) { |
@@ -2804,7 +2806,7 @@ Page({ | @@ -2804,7 +2806,7 @@ Page({ | ||
2804 | 2806 | ||
2805 | 2807 | ||
2806 | if (action == "buy") { | 2808 | if (action == "buy") { |
2807 | - //--------------此时操作的数据------------ | 2809 | + //-------------- 此时操作的数据 ------------ |
2808 | var newd = { | 2810 | var newd = { |
2809 | id: th.data.data.id, | 2811 | id: th.data.data.id, |
2810 | goods_num: th.data.goodsInputNum, | 2812 | goods_num: th.data.goodsInputNum, |