소스 검색

【会员系统】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)
         }
     }