Jelajahi Sumber

[feat]会员折扣页,增加检查订阅状态API

hezihao 6 bulan lalu
induk
melakukan
be26c64c1a

+ 1 - 1
lib/module/store/new_discount/new_discount_controller.dart

@@ -922,7 +922,7 @@ class NewDiscountController extends BaseController
     int payPlatform = paymentWay.payPlatform;
     int payMethod = paymentWay.payMethod;
     // var code = await storeRepository.resume(payPlatform, payMethod, receiptData);
-    storeRepository.resume(payPlatform, payMethod, receiptData).then((data) {
+    storeRepository.subscribeResume(payPlatform, payMethod, receiptData).then((data) {
       CustomLoadingDialog.hide();
       ToastUtil.show("Restore success");
       accountRepository.getUserInfo();