From 11ca32f6a726d7fc015e8206cff31bd0b1a4f556 Mon Sep 17 00:00:00 2001
From: lipengwei <lipengwei@nianben.com>
Date: Thu, 26 Sep 2019 12:32:59 +0800
Subject: [PATCH] 3.8.3
---
frameworks/WASdkIntf.framework/WASdkIntf | 0
frameworks/WASdkIntf.framework/Headers/WAPayProxy.h | 13 ++++++
WASdkIntf/3.8.3/WASdkIntf.podspec | 23 +++++++++++
frameworks/WASdkIntf.framework/Headers/WAIPay.h | 2 +
frameworks/WASdkIntf.framework/Headers/WAChannelProduct.h | 22 +++++++++++
WASdkIntf.podspec | 2
frameworks/WASdkIntf.framework/Headers/WASdkIntf.h | 3 +
frameworks/WASdkIntf.framework/Info.plist | 0
8 files changed, 62 insertions(+), 3 deletions(-)
diff --git a/WASdkIntf.podspec b/WASdkIntf.podspec
index 80e1d2d..a88ab83 100644
--- a/WASdkIntf.podspec
+++ b/WASdkIntf.podspec
@@ -9,7 +9,7 @@
Pod::Spec.new do |s|
s.name = 'WASdkIntf'
-s.version = '3.8.2'
+s.version = '3.8.3'
s.summary = 'WASdkIntf framework in production environment.'
s.license = 'MIT'
s.author = { "Wuyx" => "wuyixin_gh@gamehollywood.com" }
diff --git a/WASdkIntf/3.8.3/WASdkIntf.podspec b/WASdkIntf/3.8.3/WASdkIntf.podspec
new file mode 100644
index 0000000..a88ab83
--- /dev/null
+++ b/WASdkIntf/3.8.3/WASdkIntf.podspec
@@ -0,0 +1,23 @@
+#
+# Be sure to run `pod spec lint WASdkIntf.podspec' to ensure this is a
+# valid spec and to remove all comments including this before submitting the spec.
+#
+# To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html
+# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
+#
+
+Pod::Spec.new do |s|
+
+s.name = 'WASdkIntf'
+s.version = '3.8.3'
+s.summary = 'WASdkIntf framework in production environment.'
+s.license = 'MIT'
+s.author = { "Wuyx" => "wuyixin_gh@gamehollywood.com" }
+s.homepage = 'http://repo.wingsdk.cn:8082/summary/WASdkIntf.git'
+s.source = { :git => "http://admin@repo.wingsdk.cn:8082/r/WASdkIntf.git" , :tag => s.version}
+s.platform = :ios
+s.ios.deployment_target = "7.0"
+s.vendored_frameworks = 'frameworks/WASdkIntf.framework'
+s.resources = ['config/*.plist']
+s.requires_arc = true
+end
diff --git a/frameworks/WASdkIntf.framework/Headers/WAChannelProduct.h b/frameworks/WASdkIntf.framework/Headers/WAChannelProduct.h
new file mode 100644
index 0000000..11b2978
--- /dev/null
+++ b/frameworks/WASdkIntf.framework/Headers/WAChannelProduct.h
@@ -0,0 +1,22 @@
+//
+// WAChannelProduct.h
+// WASdkIntf
+//
+// Created by LPW on 2019/9/17.
+// Copyright © 2019 GHW-T-01. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface WAChannelProduct : NSObject
+@property(nonatomic, strong) NSString *channel; //渠道名称
+@property(nonatomic, strong) NSString *productIdentifier; //平台商品id
+@property(nonatomic, strong) NSString *localeCurrencyCode; //当前币种code USD 、CNY
+@property(nonatomic, strong) NSString *localFormattedPrice;//格式化价格 $999.99 ¥6,498.00
+@property(nonatomic, strong) NSDecimalNumber * price ; //价格 999.99 6498
+
+@end
+
+NS_ASSUME_NONNULL_END
diff --git a/frameworks/WASdkIntf.framework/Headers/WAIPay.h b/frameworks/WASdkIntf.framework/Headers/WAIPay.h
index 3219a90..be0b470 100644
--- a/frameworks/WASdkIntf.framework/Headers/WAIPay.h
+++ b/frameworks/WASdkIntf.framework/Headers/WAIPay.h
@@ -14,6 +14,8 @@
-(void)init4Iap;
-(void)queryInventory:(id<WAInventoryDelegate>)delegate;
-(void)payWithProductId:(NSString *)productId extInfo:(NSString *)extInfo delegate:(id<WAPaymentDelegate>)delegate;
+-(void)queryChannelProduct:(NSString *)channel
+ callBackBlock:(void(^)(NSArray *channelProductsArray,NSError *error))callBackBlock;
-(BOOL)isPayServiceAvailable;
-(void)fetchProductInformations:(NSDictionary *)waProductIds inventoryDelegate:(id<WAInventoryDelegate>)delegate;
- (void)checkFinishTransactions;
diff --git a/frameworks/WASdkIntf.framework/Headers/WAPayProxy.h b/frameworks/WASdkIntf.framework/Headers/WAPayProxy.h
index c7a23bc..5b5a423 100644
--- a/frameworks/WASdkIntf.framework/Headers/WAPayProxy.h
+++ b/frameworks/WASdkIntf.framework/Headers/WAPayProxy.h
@@ -8,7 +8,7 @@
#import <Foundation/Foundation.h>
#import "WAIPay.h"
-@class WAIapProduct,WAIapResult;
+@class WAIapProduct,WAIapResult,WAChannelProduct;
/*!
@discussion 查询商品库存协议
@@ -60,6 +60,15 @@
@param delegate 委托
*/
+(void)queryInventoryWithDelegate:(id<WAInventoryDelegate>)delegate;
+
+/*!
+@abstract 查询渠道商品调用方法
+@param callBackBlock 回掉
+*/
++ (void)queryChannelProduct:(NSString *)channel
+ callBackBlock:(void(^)(NSArray <WAChannelProduct *>*channelProductsArray,NSError *error))callBackBlock;
+
+
/*!
@abstract 支付某个商品
@param productId 商品id
@@ -75,4 +84,6 @@
+(void)payLog:(NSString *)logInfo;
+
+
@end
diff --git a/frameworks/WASdkIntf.framework/Headers/WASdkIntf.h b/frameworks/WASdkIntf.framework/Headers/WASdkIntf.h
index 3ca7b32..7408df1 100644
--- a/frameworks/WASdkIntf.framework/Headers/WASdkIntf.h
+++ b/frameworks/WASdkIntf.framework/Headers/WASdkIntf.h
@@ -25,6 +25,7 @@
#import <WASdkIntf/WAIPay.h>
#import <WASdkIntf/WAPayProxy.h>
#import <WASdkIntf/WAIapProduct.h>
+#import <WASdkIntf/WAChannelProduct.h>
#import <WASdkIntf/WAPayChannel.h>
#import <WASdkIntf/WAIapResult.h>
#import <WASdkIntf/WAISocial.h>
@@ -66,4 +67,4 @@
// In this header, you should import all the public headers of your framework using statements like #import <WASdkIntf/PublicHeader.h>
-//time:2019/06/20 09:15 ver:3.8.2
+//time:2019/09/19 09:15 ver:3.8.3
diff --git a/frameworks/WASdkIntf.framework/Info.plist b/frameworks/WASdkIntf.framework/Info.plist
index 754df2c..7df3c97 100644
--- a/frameworks/WASdkIntf.framework/Info.plist
+++ b/frameworks/WASdkIntf.framework/Info.plist
Binary files differ
diff --git a/frameworks/WASdkIntf.framework/WASdkIntf b/frameworks/WASdkIntf.framework/WASdkIntf
index 53fc0f8..affbd6a 100644
--- a/frameworks/WASdkIntf.framework/WASdkIntf
+++ b/frameworks/WASdkIntf.framework/WASdkIntf
Binary files differ
--
Gitblit v1.8.0