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 | 587 | card_id: it.card_id, | 
| 588 | 588 | prom_type: it.prom_type, | 
| 589 | 589 | prom_id: it.prom_id, | 
| 590 | + ispay:1 | |
| 590 | 591 | } | 
| 591 | 592 | }).then(res => { | 
| 592 | 593 | |
| ... | ... | @@ -662,6 +663,7 @@ Page({ | 
| 662 | 663 | card_id: it.card_id, | 
| 663 | 664 | prom_type: it.prom_type, | 
| 664 | 665 | prom_id: it.prom_id, | 
| 666 | + ispay:1 | |
| 665 | 667 | } | 
| 666 | 668 | }).then(res => { | 
| 667 | 669 | if (res.data.code == 0) { | ... | ... | 
pages/user/order_list/order_list.js
| ... | ... | @@ -2551,6 +2551,7 @@ Page({ | 
| 2551 | 2551 | card_id: it.card_id, | 
| 2552 | 2552 | prom_type: it.prom_type, | 
| 2553 | 2553 | prom_id: it.prom_id, | 
| 2554 | + ispay:1 | |
| 2554 | 2555 | } | 
| 2555 | 2556 | }).then(res => { | 
| 2556 | 2557 | if (res.data.code == 0) { | 
| ... | ... | @@ -2624,6 +2625,7 @@ Page({ | 
| 2624 | 2625 | card_id: it.card_id, | 
| 2625 | 2626 | prom_type: it.prom_type, | 
| 2626 | 2627 | prom_id: it.prom_id, | 
| 2628 | + ispay:1 | |
| 2627 | 2629 | } | 
| 2628 | 2630 | }).then(res => { | 
| 2629 | 2631 | if (res.data.code == 0) { | 
| ... | ... | @@ -2804,7 +2806,7 @@ Page({ | 
| 2804 | 2806 | |
| 2805 | 2807 | |
| 2806 | 2808 | if (action == "buy") { | 
| 2807 | - //--------------此时操作的数据------------ | |
| 2809 | + //-------------- 此时操作的数据 ------------ | |
| 2808 | 2810 | var newd = { | 
| 2809 | 2811 | id: th.data.data.id, | 
| 2810 | 2812 | goods_num: th.data.goodsInputNum, | ... | ... |