浏览代码

【会员系统】DMG 登录会员后,价格更新接口

zenghong 1 周之前
父节点
当前提交
7d41ce5ab6
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      PDF Office/PDF Master/MemberCenter/ViewModel/KMProductModel.swift

+ 1 - 0
PDF Office/PDF Master/MemberCenter/ViewModel/KMProductModel.swift

@@ -114,6 +114,7 @@ class KMProductModel: ObservableObject {
         KMMemberCenterManager.manager.getProductPriceForBuy(productId: productId, isEducation: 0, userId:KMMemberInfo.shared.userID) { [weak self] success, result in
             guard let productsArrays : KMMemberProductResult = result else { return }
             self?.dmgLastGetProductPriceInfos = productsArrays
+            complete(true, productsArrays)
         }
     }