瀏覽代碼

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

hezihao 6 月之前
父節點
當前提交
4e6730a2e4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/module/store/new_discount/new_discount_controller.dart

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

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