|
@@ -7,6 +7,7 @@ class AliPayUtil{ |
|
|
static Future<bool> toPay(String orderCode)async{ |
|
|
static Future<bool> toPay(String orderCode)async{ |
|
|
|
|
|
|
|
|
Map<dynamic,dynamic> result= await tobias.aliPay(orderCode); |
|
|
Map<dynamic,dynamic> result= await tobias.aliPay(orderCode); |
|
|
|
|
|
print(result); |
|
|
if(result!=null&&result['resultStatus']!=null&&result['resultStatus'].toString()=="9000"){ |
|
|
if(result!=null&&result['resultStatus']!=null&&result['resultStatus'].toString()=="9000"){ |
|
|
print("支付宝支付结果"); |
|
|
print("支付宝支付结果"); |
|
|
print(result); |
|
|
print(result); |
|
|