|
@@ -112,6 +112,7 @@ const getPayCod = (param) => { |
|
@@ -112,6 +112,7 @@ const getPayCod = (param) => { |
112
|
|
112
|
|
113
|
if (result && result[2] && result[2].data && result[2].data.payment_amount) {
|
113
|
if (result && result[2] && result[2].data && result[2].data.payment_amount) {
|
114
|
resu.payment = result[2].data.payment_amount;
|
114
|
resu.payment = result[2].data.payment_amount;
|
|
|
115
|
+
|
115
|
} else {
|
116
|
} else {
|
116
|
resu.match = false;
|
117
|
resu.match = false;
|
117
|
}
|
118
|
}
|
|
@@ -154,6 +155,8 @@ const getPayAli = (param) => { |
|
@@ -154,6 +155,8 @@ const getPayAli = (param) => { |
154
|
|
155
|
|
155
|
if (result && result[2] && result[2].data && result[2].data.payment_amount) {
|
156
|
if (result && result[2] && result[2].data && result[2].data.payment_amount) {
|
156
|
resu.payment = result[2].data.payment_amount;
|
157
|
resu.payment = result[2].data.payment_amount;
|
|
|
158
|
+ resu.payWay = result[2].data.payment_amount === 0 ? false : true;
|
|
|
159
|
+
|
157
|
} else {
|
160
|
} else {
|
158
|
resu.match = false;
|
161
|
resu.match = false;
|
159
|
}
|
162
|
}
|