소스 검색

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

hezihao 11 달 전
부모
커밋
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();