Browse Source

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

hezihao 6 months ago
parent
commit
76993f801e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/module/store/new_discount/new_discount_controller.dart

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

@@ -851,7 +851,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();