Browse Source

1.补充文件开放外部可用

tags/0.0.4+5
“yanghuaxuan” 3 years ago
parent
commit
9f59c2c579
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      lib/util/alipay_util.dart
  2. +1
    -0
      lib/zhiying_comm.dart

+ 1
- 0
lib/util/alipay_util.dart View File

@@ -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);


+ 1
- 0
lib/zhiying_comm.dart View File

@@ -41,4 +41,5 @@ export 'util/alipay_util.dart';
export 'util/bubble_tabIndicator/bubble_tabIndicator.dart'; export 'util/bubble_tabIndicator/bubble_tabIndicator.dart';
export 'util/event_util/event_util.dart'; export 'util/event_util/event_util.dart';
export 'util/event_util/login_success_event.dart'; export 'util/event_util/login_success_event.dart';
export 'package:zhiying_comm/util/custom_sliver_persistent_header_delegate.dart';



Loading…
Cancel
Save