Showing
1 changed file
with
2 additions
and
1 deletions
@@ -155,7 +155,8 @@ const getPayAli = (param) => { | @@ -155,7 +155,8 @@ const getPayAli = (param) => { | ||
155 | 155 | ||
156 | 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) { |
157 | 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; | 158 | + |
159 | + resu.payWay = result[2].data.payment_amount !== 0; | ||
159 | 160 | ||
160 | } else { | 161 | } else { |
161 | resu.match = false; | 162 | resu.match = false; |
-
Please register or login to post a comment