[baozhangchao] 2 年之前
父節點
當前提交
acdaba7341
共有 1 個檔案被更改,包括 2 行新增9 行删除
  1. 2
    9
      lib/pages/orderInfo/index.dart

+ 2
- 9
lib/pages/orderInfo/index.dart 查看文件

269
               })
269
               })
270
             });
270
             });
271
   }
271
   }
272
-  Map result={
273
-    'appid':'wx0969b05b5393ae17',
274
-    'partnerid':'122asdas5551222',
275
-    'prepayid':'wsserrg996ae17',
276
-    'package':'hkrllfl,g://sdsadaa',
277
-    'noncestr':'1221222',
278
-    'timestamp':'e55s5a6a6s',
279
-    'sign':'92552d22f541g2f5sd',
280
-  };
272
+
281
 
273
 
282
 Future<void> payMoney (String payType) async {
274
 Future<void> payMoney (String payType) async {
283
     if(payType=='wxPay'){
275
     if(payType=='wxPay'){
322
         // 支付成功
314
         // 支付成功
323
         if (event.errCode == 0) {
315
         if (event.errCode == 0) {
324
           EasyLoading.showSuccess('支付成功');
316
           EasyLoading.showSuccess('支付成功');
317
+          Get.offNamed('/order');
325
 
318
 
326
         }else{
319
         }else{
327
           EasyLoading.showError('支付失败');
320
           EasyLoading.showError('支付失败');