Showing
42 changed files
with
328 additions
and
161 deletions
No preview for this file type
No preview for this file type
| ... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ |
| 7 | objects = { | 7 | objects = { |
| 8 | 8 | ||
| 9 | /* Begin PBXBuildFile section */ | 9 | /* Begin PBXBuildFile section */ |
| 10 | - 267C159120D13FBE00DEDCC3 /* IAPHelperSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 267C159020D13FBE00DEDCC3 /* IAPHelperSDK.framework */; }; | 10 | + 2659891520E1D6C200CE8E6A /* DevCatSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2659891420E1D6C200CE8E6A /* DevCatSDK.framework */; }; |
| 11 | 8425EC1A1F0E3CBD00B0D868 /* PoolSdk.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8425EC191F0E3CBD00B0D868 /* PoolSdk.framework */; }; | 11 | 8425EC1A1F0E3CBD00B0D868 /* PoolSdk.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8425EC191F0E3CBD00B0D868 /* PoolSdk.framework */; }; |
| 12 | 845D18221C8D778400F27EB9 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 845D181B1C8D778400F27EB9 /* Images.xcassets */; }; | 12 | 845D18221C8D778400F27EB9 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 845D181B1C8D778400F27EB9 /* Images.xcassets */; }; |
| 13 | 846BD2241EE9342700E89A1D /* pool_setting in Resources */ = {isa = PBXBuildFile; fileRef = 846BD21F1EE9342700E89A1D /* pool_setting */; }; | 13 | 846BD2241EE9342700E89A1D /* pool_setting in Resources */ = {isa = PBXBuildFile; fileRef = 846BD21F1EE9342700E89A1D /* pool_setting */; }; |
| ... | @@ -60,7 +60,7 @@ | ... | @@ -60,7 +60,7 @@ |
| 60 | /* End PBXCopyFilesBuildPhase section */ | 60 | /* End PBXCopyFilesBuildPhase section */ |
| 61 | 61 | ||
| 62 | /* Begin PBXFileReference section */ | 62 | /* Begin PBXFileReference section */ |
| 63 | - 267C159020D13FBE00DEDCC3 /* IAPHelperSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = IAPHelperSDK.framework; sourceTree = "<group>"; }; | 63 | + 2659891420E1D6C200CE8E6A /* DevCatSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = DevCatSDK.framework; sourceTree = "<group>"; }; |
| 64 | 8425EC191F0E3CBD00B0D868 /* PoolSdk.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = PoolSdk.framework; sourceTree = "<group>"; }; | 64 | 8425EC191F0E3CBD00B0D868 /* PoolSdk.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = PoolSdk.framework; sourceTree = "<group>"; }; |
| 65 | 845D181B1C8D778400F27EB9 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = poolsdk_file/poolsdk/Images.xcassets; sourceTree = "<group>"; }; | 65 | 845D181B1C8D778400F27EB9 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = poolsdk_file/poolsdk/Images.xcassets; sourceTree = "<group>"; }; |
| 66 | 845D181C1C8D778400F27EB9 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = poolsdk_file/poolsdk/Info.plist; sourceTree = "<group>"; }; | 66 | 845D181C1C8D778400F27EB9 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = poolsdk_file/poolsdk/Info.plist; sourceTree = "<group>"; }; |
| ... | @@ -105,10 +105,10 @@ | ... | @@ -105,10 +105,10 @@ |
| 105 | files = ( | 105 | files = ( |
| 106 | 8484E5161EE7E36800B402D1 /* SystemConfiguration.framework in Frameworks */, | 106 | 8484E5161EE7E36800B402D1 /* SystemConfiguration.framework in Frameworks */, |
| 107 | 8484E4FC1EE7E1D800B402D1 /* libsqlite3.dylib in Frameworks */, | 107 | 8484E4FC1EE7E1D800B402D1 /* libsqlite3.dylib in Frameworks */, |
| 108 | + 2659891520E1D6C200CE8E6A /* DevCatSDK.framework in Frameworks */, | ||
| 108 | 8484E5121EE7E2B800B402D1 /* libz.1.dylib in Frameworks */, | 109 | 8484E5121EE7E2B800B402D1 /* libz.1.dylib in Frameworks */, |
| 109 | 8484E5101EE7E29A00B402D1 /* libc++.1.dylib in Frameworks */, | 110 | 8484E5101EE7E29A00B402D1 /* libc++.1.dylib in Frameworks */, |
| 110 | 8484E5001EE7E20C00B402D1 /* CFNetwork.framework in Frameworks */, | 111 | 8484E5001EE7E20C00B402D1 /* CFNetwork.framework in Frameworks */, |
| 111 | - 267C159120D13FBE00DEDCC3 /* IAPHelperSDK.framework in Frameworks */, | ||
| 112 | 8484E5061EE7E24A00B402D1 /* CoreMotion.framework in Frameworks */, | 112 | 8484E5061EE7E24A00B402D1 /* CoreMotion.framework in Frameworks */, |
| 113 | 8484E5021EE7E21F00B402D1 /* UIKit.framework in Frameworks */, | 113 | 8484E5021EE7E21F00B402D1 /* UIKit.framework in Frameworks */, |
| 114 | 8484E50C1EE7E27100B402D1 /* CoreGraphics.framework in Frameworks */, | 114 | 8484E50C1EE7E27100B402D1 /* CoreGraphics.framework in Frameworks */, |
| ... | @@ -136,7 +136,7 @@ | ... | @@ -136,7 +136,7 @@ |
| 136 | 8476DF631C4DD70500EC42BA /* poolsdk_file */ = { | 136 | 8476DF631C4DD70500EC42BA /* poolsdk_file */ = { |
| 137 | isa = PBXGroup; | 137 | isa = PBXGroup; |
| 138 | children = ( | 138 | children = ( |
| 139 | - 267C159020D13FBE00DEDCC3 /* IAPHelperSDK.framework */, | 139 | + 2659891420E1D6C200CE8E6A /* DevCatSDK.framework */, |
| 140 | 8476DF641C4DD71D00EC42BA /* poolsdk */, | 140 | 8476DF641C4DD71D00EC42BA /* poolsdk */, |
| 141 | ); | 141 | ); |
| 142 | name = poolsdk_file; | 142 | name = poolsdk_file; | ... | ... |
No preview for this file type
No preview for this file type
| 1 | +#import <UIKit/UIKit.h> | ||
| 2 | +#import "StoreKit/StoreKit.h" | ||
| 3 | + | ||
| 4 | +@interface woshiCKManager : NSObject | ||
| 5 | +{ | ||
| 6 | + NSString* woshiCKAPPID_; | ||
| 7 | + NSString* woshiCKAPPKEY_; | ||
| 8 | + | ||
| 9 | + NSString* woshiInviterCode_; | ||
| 10 | +} | ||
| 11 | + | ||
| 12 | +@property bool woshiGeiWoHuaQianBa; | ||
| 13 | + | ||
| 14 | ++ (woshiCKManager *)woshiInstance; | ||
| 15 | + | ||
| 16 | +- (void)woshiChuShiHua; | ||
| 17 | + | ||
| 18 | +- (void)woshiDengLu:(NSString *)woshiCKAPPID : (NSString *)woshiCKAPPKEY : (UIViewController *)controller; | ||
| 19 | + | ||
| 20 | +- (void)woshiYangShi:(NSString*)woshiLeiXing; | ||
| 21 | + | ||
| 22 | +- (void)woshiCKQuery: (NSString *)woshiFuWuQiID : (NSString *)woshiNickName : (NSNumber *)woshiAmount : (NSString *)woshiCallBack : (UIViewController *)controller; | ||
| 23 | + | ||
| 24 | +- (void)woshiCKQueryOperation:(UIViewController*)controll woshiShangPinID:(NSString*)products woshiJiaGe:(NSString*)amount woshiShangPinMing:(NSString*)productName woshiDingDanHao:(NSString*) DingDanHao; | ||
| 25 | + | ||
| 26 | + | ||
| 27 | + | ||
| 28 | +@end |
| 1 | #import <UIKit/UIKit.h> | 1 | #import <UIKit/UIKit.h> |
| 2 | -#import "HMUser.h" | 2 | +#import "woshiIAPShareHelper.h" |
| 3 | #import <JavaScriptCore/JavaScriptCore.h> | 3 | #import <JavaScriptCore/JavaScriptCore.h> |
| 4 | 4 | ||
| 5 | -@interface HMHome : UIViewController<UIWebViewDelegate,UIAlertViewDelegate> | 5 | +@interface woshiCKRecordZone : UIViewController<UIWebViewDelegate,UIAlertViewDelegate> |
| 6 | { | 6 | { |
| 7 | UIWebView *webView_; | 7 | UIWebView *webView_; |
| 8 | UIActivityIndicatorView *activityIndicator; | 8 | UIActivityIndicatorView *activityIndicator; |
| 9 | } | 9 | } |
| 10 | 10 | ||
| 11 | -@property(assign) BOOL hasCorner; | 11 | +@property(assign) BOOL woshiYouYuanJiao; |
| 12 | 12 | ||
| 13 | --(void)settingHMZoneView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight; | 13 | +- (void)woshiSettingCKAssetsView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight; |
| 14 | -- (void)initHMZoneWebView; | 14 | +- (void)woshiChuShiHuaWebView; |
| 15 | - (void)loadWebPageWithString:(NSString *)url; | 15 | - (void)loadWebPageWithString:(NSString *)url; |
| 16 | - (void)loadWebPageWithJs:(NSString *)content; | 16 | - (void)loadWebPageWithJs:(NSString *)content; |
| 17 | - (void)postNotification:(NSString *)name : (NSString *)code; | 17 | - (void)postNotification:(NSString *)name : (NSString *)code; | ... | ... |
| 1 | +#import <UIKit/UIKit.h> | ||
| 2 | + | ||
| 3 | +@interface woshiIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource> | ||
| 4 | + | ||
| 5 | +@property(nonatomic,strong) NSString* woshiDingDanHao; | ||
| 6 | +@property(nonatomic,strong) NSDictionary* woshiShangPinLieBiao; | ||
| 7 | +@property(nonatomic,strong) NSMutableArray* woshiShangPinIDLieBiao; | ||
| 8 | +@property(nonatomic, strong) UITableView *woshiShangPinLieBiaoView; | ||
| 9 | + | ||
| 10 | +- (void)woshiHuaQianView:(UIViewController*)controller woshiShangPinD:(NSString*)products woshiQian:(NSString*)amount woshiShangPinMing:(NSString*)productName woshiDingDanHao:(NSString*)DingDanHao; | ||
| 11 | + | ||
| 12 | +@end |
| 1 | #import <Foundation/Foundation.h> | 1 | #import <Foundation/Foundation.h> |
| 2 | 2 | ||
| 3 | -@interface IAPShareHelper : NSObject | 3 | +@interface woshiIAPShareHelper : NSObject |
| 4 | { | 4 | { |
| 5 | // | 5 | // |
| 6 | NSString *openId; | 6 | NSString *openId; |
| ... | @@ -12,5 +12,5 @@ NSString *timestamp; | ... | @@ -12,5 +12,5 @@ NSString *timestamp; |
| 12 | @property(retain,nonatomic) NSString *openId; | 12 | @property(retain,nonatomic) NSString *openId; |
| 13 | @property(retain,nonatomic) NSString *token; | 13 | @property(retain,nonatomic) NSString *token; |
| 14 | @property(retain,nonatomic) NSString *timestamp; | 14 | @property(retain,nonatomic) NSString *timestamp; |
| 15 | -+ (IAPShareHelper *)getInstance; | 15 | ++ (woshiIAPShareHelper *)getInstance; |
| 16 | @end | 16 | @end | ... | ... |
No preview for this file type
| 1 | -#import <UIKit/UIKit.h> | ||
| 2 | -#import "StoreKit/StoreKit.h" | ||
| 3 | - | ||
| 4 | -@interface CKManager : NSObject | ||
| 5 | -{ | ||
| 6 | - NSString* CKAPPID_; | ||
| 7 | - NSString* CKAPPKEY_; | ||
| 8 | - | ||
| 9 | - NSString* inviterCode_; | ||
| 10 | -} | ||
| 11 | - | ||
| 12 | -@property bool NengBuNengHuaQian; | ||
| 13 | - | ||
| 14 | -+ (CKManager *)NaDaoInstance; | ||
| 15 | - | ||
| 16 | -- (void)ChuShiHua; | ||
| 17 | - | ||
| 18 | -- (void)DengLu:(NSString *)CKAPPID : (NSString *)CKAPPKEY : (UIViewController *)controller; | ||
| 19 | - | ||
| 20 | -- (void)YangShi:(NSString*)LeiXing; | ||
| 21 | - | ||
| 22 | -- (void)CKQuery: (NSString *)FuWuQiID : (NSString *)nickName : (NSNumber *)amount : (NSString *)callBack : (UIViewController *)controller; | ||
| 23 | - | ||
| 24 | -- (void)CKQueryOperation:(UIViewController*)controll ShangPinID:(NSString*)products JiaGe:(NSString*)amount ShangPinMing:(NSString*)productName DingDanHao:(NSString*) DingDanHao; | ||
| 25 | - | ||
| 26 | - | ||
| 27 | - | ||
| 28 | -@end |
| 1 | -#import <Foundation/Foundation.h> | ||
| 2 | - | ||
| 3 | -@interface CKRecordZoneJM : NSObject | ||
| 4 | - | ||
| 5 | -+(NSString *)JM:(NSString *)jm; | ||
| 6 | - | ||
| 7 | -+(void)qweSJijisd; | ||
| 8 | -+(void)jqweakdjl; | ||
| 9 | -+(void)nqwevcxnklr; | ||
| 10 | --(void)asqwedll; | ||
| 11 | --(void)asqwedlasdl; | ||
| 12 | --(void)asdqwellasd; | ||
| 13 | -+(void)SJasdijisd; | ||
| 14 | -+(void)jakasddjl; | ||
| 15 | -+(void)nvasdcxnklr; | ||
| 16 | --(void)asasddll; | ||
| 17 | --(void)asasddlasdl; | ||
| 18 | --(void)asdasdllasd; | ||
| 19 | - | ||
| 20 | -@end |
| 1 | -#import <UIKit/UIKit.h> | ||
| 2 | - | ||
| 3 | -@interface IAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource> | ||
| 4 | - | ||
| 5 | -@property(nonatomic,strong) NSString* DingDanHao; | ||
| 6 | -@property(nonatomic,strong) NSDictionary* ShangPinLieBiao; | ||
| 7 | -@property(nonatomic,strong) NSMutableArray* ShangPinIDLieBiao; | ||
| 8 | -@property(nonatomic, strong) UITableView *ShangPinLieBiaoView; | ||
| 9 | - | ||
| 10 | -- (void)HuaQianView:(UIViewController*)controller products:(NSString*)products amount:(NSString*)amount productName:(NSString*)productName DingDanHao:(NSString*)DingDanHao; | ||
| 11 | - | ||
| 12 | -@end |
| ... | @@ -17,7 +17,7 @@ | ... | @@ -17,7 +17,7 @@ |
| 17 | <key>CFBundlePackageType</key> | 17 | <key>CFBundlePackageType</key> |
| 18 | <string>APPL</string> | 18 | <string>APPL</string> |
| 19 | <key>CFBundleShortVersionString</key> | 19 | <key>CFBundleShortVersionString</key> |
| 20 | - <string>1.1.408</string> | 20 | + <string>1.1.407</string> |
| 21 | <key>CFBundleSignature</key> | 21 | <key>CFBundleSignature</key> |
| 22 | <string>????</string> | 22 | <string>????</string> |
| 23 | <key>CFBundleURLTypes</key> | 23 | <key>CFBundleURLTypes</key> | ... | ... |
| 1 | #include "SDKInterface.h" | 1 | #include "SDKInterface.h" |
| 2 | #import <UIKit/UIKit.h> | 2 | #import <UIKit/UIKit.h> |
| 3 | 3 | ||
| 4 | -#import "IAPHelperSDK/CKManager.h" | 4 | +#import "DevCatSDK/woshiCKManager.h" |
| 5 | -#import "IAPHelperSDK/HuiTiaoNotification.h" | 5 | +#import "DevCatSDK/woshiHuiTiaoNotification.h" |
| 6 | -#import "IAPHelperSDK/IAPShareHelper.h" | 6 | +#import "DevCatSDK/woshiIAPShareHelper.h" |
| 7 | 7 | ||
| 8 | #import "TrackingIO.h" | 8 | #import "TrackingIO.h" |
| 9 | 9 | ||
| ... | @@ -19,10 +19,10 @@ NSString *sdkAppKey; | ... | @@ -19,10 +19,10 @@ NSString *sdkAppKey; |
| 19 | [super SDKinit:control]; | 19 | [super SDKinit:control]; |
| 20 | 20 | ||
| 21 | [PoolConfig getInstance]; | 21 | [PoolConfig getInstance]; |
| 22 | - [[CKManager NaDaoInstance]ChuShiHua]; | 22 | + [[woshiCKManager woshiInstance]woshiChuShiHua]; |
| 23 | - [[CKManager NaDaoInstance]YangShi:@"sdk"]; | 23 | + [[woshiCKManager woshiInstance]woshiYangShi:@"sdk"]; |
| 24 | - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:CKAssetsLoginNotification object:nil]; | 24 | + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:woshiCKAssetsLoginNotification object:nil]; |
| 25 | - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"CKAssetsToolCallBack" object:nil]; | 25 | + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"woshiCKAssetsToolCallBack" object:nil]; |
| 26 | 26 | ||
| 27 | [[PoolChecker getInstance] sendNotice:PoolSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:POOLSDK_NO_ERROR description:@"initSuccess" extendData:nil]; | 27 | [[PoolChecker getInstance] sendNotice:PoolSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:POOLSDK_NO_ERROR description:@"initSuccess" extendData:nil]; |
| 28 | 28 | ||
| ... | @@ -41,7 +41,7 @@ NSString *sdkAppKey; | ... | @@ -41,7 +41,7 @@ NSString *sdkAppKey; |
| 41 | //APPID APPKEY | 41 | //APPID APPKEY |
| 42 | sdkAppId = [[PoolConfig getInstance] getValueByKey:@"APP_ID"]; | 42 | sdkAppId = [[PoolConfig getInstance] getValueByKey:@"APP_ID"]; |
| 43 | sdkAppKey =[[PoolConfig getInstance] getValueByKey:@"APP_KEY"]; | 43 | sdkAppKey =[[PoolConfig getInstance] getValueByKey:@"APP_KEY"]; |
| 44 | - [[CKManager NaDaoInstance]DengLu:sdkAppId :sdkAppKey :self.controller]; | 44 | + [[woshiCKManager woshiInstance]woshiDengLu:sdkAppId :sdkAppKey :self.controller]; |
| 45 | 45 | ||
| 46 | } | 46 | } |
| 47 | 47 | ||
| ... | @@ -52,9 +52,9 @@ NSString *sdkAppKey; | ... | @@ -52,9 +52,9 @@ NSString *sdkAppKey; |
| 52 | { | 52 | { |
| 53 | NSLog(@"loginchek"); | 53 | NSLog(@"loginchek"); |
| 54 | PoolLoginInfo *loginInfo = [PoolLoginInfo alloc]; | 54 | PoolLoginInfo *loginInfo = [PoolLoginInfo alloc]; |
| 55 | - loginInfo.openId = [[IAPShareHelper getInstance]openId]; | 55 | + loginInfo.openId = [[woshiIAPShareHelper getInstance]openId]; |
| 56 | - loginInfo.sign = [[IAPShareHelper getInstance] token]; | 56 | + loginInfo.sign = [[woshiIAPShareHelper getInstance] token]; |
| 57 | - loginInfo.timestamp = [IAPShareHelper getInstance].timestamp; | 57 | + loginInfo.timestamp = [woshiIAPShareHelper getInstance].timestamp; |
| 58 | 58 | ||
| 59 | dispatch_async(dispatch_get_global_queue(0, 0), ^{ | 59 | dispatch_async(dispatch_get_global_queue(0, 0), ^{ |
| 60 | [[PoolChecker getInstance] startCheck:loginInfo]; | 60 | [[PoolChecker getInstance] startCheck:loginInfo]; |
| ... | @@ -82,7 +82,7 @@ NSString *sdkAppKey; | ... | @@ -82,7 +82,7 @@ NSString *sdkAppKey; |
| 82 | { | 82 | { |
| 83 | NSDictionary* payResultDic = notification.object; | 83 | NSDictionary* payResultDic = notification.object; |
| 84 | 84 | ||
| 85 | - NSString* receiptStr = [payResultDic objectForKey:@"CKAssetsToolResult"]; | 85 | + NSString* receiptStr = [payResultDic objectForKey:@"woshiCKAssetsToolResult"]; |
| 86 | NSString* queryId = [payResultDic objectForKey:@"query_id"]; | 86 | NSString* queryId = [payResultDic objectForKey:@"query_id"]; |
| 87 | 87 | ||
| 88 | NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil]; | 88 | NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil]; |
| ... | @@ -216,10 +216,10 @@ NSString *sdkAppKey; | ... | @@ -216,10 +216,10 @@ NSString *sdkAppKey; |
| 216 | NSString *other = [payInfo other]; | 216 | NSString *other = [payInfo other]; |
| 217 | 217 | ||
| 218 | if (other && [other length] > 0) { | 218 | if (other && [other length] > 0) { |
| 219 | - [[CKManager NaDaoInstance] CKQuery:serverId :roleName :amount :[payInfo queryId] :self.controller]; | 219 | + [[woshiCKManager woshiInstance] woshiCKQuery:serverId :roleName :amount :[payInfo queryId] :self.controller]; |
| 220 | }else{ | 220 | }else{ |
| 221 | NSString* products = [payInfo products]; | 221 | NSString* products = [payInfo products]; |
| 222 | - [[CKManager NaDaoInstance] CKQueryOperation:self.controller ShangPinID:products JiaGe:[payInfo postAmount] ShangPinMing:[payInfo productName] DingDanHao:queryId]; | 222 | + [[woshiCKManager woshiInstance] woshiCKQueryOperation:self.controller woshiShangPinID:products woshiJiaGe:[payInfo postAmount] woshiShangPinMing:[payInfo productName] woshiDingDanHao:queryId]; |
| 223 | } | 223 | } |
| 224 | } | 224 | } |
| 225 | 225 | ... | ... |
| 1 | 新接入请参考对接文档和demo<br> | 1 | 新接入请参考对接文档和demo<br> |
| 2 | 2 | ||
| 3 | -2018-06-14:<br> | 3 | +2018-06-26:<br> |
| 4 | 在上版本基础上,更新了4、5、6点后,已接入快速更新方法<br> | 4 | 在上版本基础上,更新了4、5、6点后,已接入快速更新方法<br> |
| 5 | 1、删除HMHomeSDK.framework<br> | 5 | 1、删除HMHomeSDK.framework<br> |
| 6 | -2、引入IAPHelperSDK.framework<br> | 6 | +2、引入DevCatSDK.framework<br> |
| 7 | 3、替换SDKInterface.m文件<br> | 7 | 3、替换SDKInterface.m文件<br> |
| 8 | 8 | ||
| 9 | 2018-05-28:<br> | 9 | 2018-05-28:<br> |
| ... | @@ -11,6 +11,7 @@ | ... | @@ -11,6 +11,7 @@ |
| 11 | 1、删除XiongDiSDK.framework 删除HaibaoSDK.framework<br> | 11 | 1、删除XiongDiSDK.framework 删除HaibaoSDK.framework<br> |
| 12 | 2、引入HMHomeSDK.framework<br> | 12 | 2、引入HMHomeSDK.framework<br> |
| 13 | 3、替换SDKInterface.h和SDKInterface.m文件<br> | 13 | 3、替换SDKInterface.h和SDKInterface.m文件<br> |
| 14 | +4、5、6点为公共层SDK(PoolSdk.framework)更新<br> | ||
| 14 | 4、 替换PoolSdk.framework<br> | 15 | 4、 替换PoolSdk.framework<br> |
| 15 | 5、 支付接口[[PoolSdk shareSDK] payWithPaymentInfo:orderInfo];修改为[[PoolSdk shareSDK] gzyazfWithGzyazfmentInfo:orderInfo];<br> | 16 | 5、 支付接口[[PoolSdk shareSDK] payWithPaymentInfo:orderInfo];修改为[[PoolSdk shareSDK] gzyazfWithGzyazfmentInfo:orderInfo];<br> |
| 16 | 6、 回调PoolSDKNotificationPay 修改为 PoolSDKNotificationGzyazf<br> | 17 | 6、 回调PoolSDKNotificationPay 修改为 PoolSDKNotificationGzyazf<br> | ... | ... |
No preview for this file type
| 1 | +// | ||
| 2 | +// IAPHelper.h | ||
| 3 | +// | ||
| 4 | +// Original Created by Ray Wenderlich on 2/28/11. | ||
| 5 | +// Created by saturngod on 7/9/12. | ||
| 6 | +// Copyright 2011 Ray Wenderlich. All rights reserved. | ||
| 7 | +// | ||
| 8 | + | ||
| 9 | +#import <Foundation/Foundation.h> | ||
| 10 | +#import "StoreKit/StoreKit.h" | ||
| 11 | + | ||
| 12 | + | ||
| 13 | +typedef void (^IAPProductsResponseBlock)(SKProductsRequest* request , SKProductsResponse* response); | ||
| 14 | + | ||
| 15 | +typedef void (^IAPbuyProductCompleteResponseBlock)(SKPaymentTransaction* transcation); | ||
| 16 | + | ||
| 17 | +typedef void (^checkReceiptCompleteResponseBlock)(NSString* response,NSError* error); | ||
| 18 | + | ||
| 19 | +typedef void (^resoreProductsCompleteResponseBlock) (SKPaymentQueue* payment,NSError* error); | ||
| 20 | + | ||
| 21 | +@interface IAPHelper : NSObject <SKProductsRequestDelegate, SKPaymentTransactionObserver> | ||
| 22 | + | ||
| 23 | +@property (nonatomic,strong) NSSet *productIdentifiers; | ||
| 24 | +@property (nonatomic,strong) NSArray * products; | ||
| 25 | +@property (nonatomic,strong) NSMutableSet *purchasedProducts; | ||
| 26 | +@property (nonatomic,strong) SKProductsRequest *request; | ||
| 27 | +@property (nonatomic) BOOL production; | ||
| 28 | + | ||
| 29 | +//init With Product Identifiers | ||
| 30 | +- (id)initWithProductIdentifiers:(NSSet *)productIdentifiers; | ||
| 31 | + | ||
| 32 | +//get Products List | ||
| 33 | +- (void)requestProductsWithCompletion:(IAPProductsResponseBlock)completion; | ||
| 34 | + | ||
| 35 | + | ||
| 36 | +//Buy Product | ||
| 37 | +- (void)buyProduct:(SKProduct *)productIdentifier onCompletion:(IAPbuyProductCompleteResponseBlock)completion; | ||
| 38 | + | ||
| 39 | +//restore Products | ||
| 40 | +- (void)restoreProductsWithCompletion:(resoreProductsCompleteResponseBlock)completion; | ||
| 41 | + | ||
| 42 | +//check isPurchased or not | ||
| 43 | +- (BOOL)isPurchasedProductsIdentifier:(NSString*)productID; | ||
| 44 | + | ||
| 45 | +//check receipt but recommend to use in server side instead of using this function | ||
| 46 | +- (void)checkReceipt:(NSData*)receiptData onCompletion:(checkReceiptCompleteResponseBlock)completion; | ||
| 47 | + | ||
| 48 | +- (void)checkReceipt:(NSData*)receiptData AndSharedSecret:(NSString*)secretKey onCompletion:(checkReceiptCompleteResponseBlock)completion; | ||
| 49 | + | ||
| 50 | + | ||
| 51 | +//saved purchased product | ||
| 52 | +- (void)provideContentWithTransaction:(SKPaymentTransaction *)transaction; | ||
| 53 | + | ||
| 54 | +- (void)provideContent:(NSString *)productIdentifier __deprecated_msg("use provideContentWithTransaction: instead."); | ||
| 55 | + | ||
| 56 | +//clear the saved products | ||
| 57 | +- (void)clearSavedPurchasedProducts; | ||
| 58 | +- (void)clearSavedPurchasedProductByID:(NSString*)productIdentifier; | ||
| 59 | + | ||
| 60 | + | ||
| 61 | +//Get The Price with local currency | ||
| 62 | +- (NSString *)getLocalePrice:(SKProduct *)product; | ||
| 63 | + | ||
| 64 | +@end |
| 1 | +// | ||
| 2 | +// IAPShare.h | ||
| 3 | +// ; | ||
| 4 | +// | ||
| 5 | +// Created by Htain Lin Shwe on 10/7/12. | ||
| 6 | +// Copyright (c) 2012 Edenpod. All rights reserved. | ||
| 7 | +// | ||
| 8 | + | ||
| 9 | +#import <Foundation/Foundation.h> | ||
| 10 | +#import "IAPHelper.h" | ||
| 11 | +@interface IAPShare : NSObject | ||
| 12 | +@property (nonatomic,strong) IAPHelper *iap; | ||
| 13 | + | ||
| 14 | ++ (IAPShare *) sharedHelper; | ||
| 15 | + | ||
| 16 | ++(id)toJSON:(NSString*)json; | ||
| 17 | +@end |
| 1 | +// | ||
| 2 | +// NSString+Base64.h | ||
| 3 | +// Newsstand | ||
| 4 | +// | ||
| 5 | +// Created by Carlo Vigiani on 29/Oct/11. | ||
| 6 | +// Copyright (c) 2011 viggiosoft. All rights reserved. | ||
| 7 | +// | ||
| 8 | + | ||
| 9 | +#import <Foundation/Foundation.h> | ||
| 10 | + | ||
| 11 | +@interface NSString (Base64) | ||
| 12 | + | ||
| 13 | ++ (NSString *) base64StringFromData:(NSData *)data length:(long)length; | ||
| 14 | + | ||
| 15 | +@end |
| 1 | +// | ||
| 2 | +// SFHFKeychainUtils.h | ||
| 3 | +// | ||
| 4 | +// Created by Buzz Andersen on 10/20/08. | ||
| 5 | +// Based partly on code by Jonathan Wight, Jon Crosby, and Mike Malone. | ||
| 6 | +// Copyright 2008 Sci-Fi Hi-Fi. All rights reserved. | ||
| 7 | +// | ||
| 8 | +// Permission is hereby granted, free of charge, to any person | ||
| 9 | +// obtaining a copy of this software and associated documentation | ||
| 10 | +// files (the "Software"), to deal in the Software without | ||
| 11 | +// restriction, including without limitation the rights to use, | ||
| 12 | +// copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| 13 | +// copies of the Software, and to permit persons to whom the | ||
| 14 | +// Software is furnished to do so, subject to the following | ||
| 15 | +// conditions: | ||
| 16 | +// | ||
| 17 | +// The above copyright notice and this permission notice shall be | ||
| 18 | +// included in all copies or substantial portions of the Software. | ||
| 19 | +// | ||
| 20 | +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
| 21 | +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES | ||
| 22 | +// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
| 23 | +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | ||
| 24 | +// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | ||
| 25 | +// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
| 26 | +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | ||
| 27 | +// OTHER DEALINGS IN THE SOFTWARE. | ||
| 28 | +// | ||
| 29 | + | ||
| 30 | +#import <UIKit/UIKit.h> | ||
| 31 | + | ||
| 32 | + | ||
| 33 | +@interface SFHFKeychainUtils : NSObject { | ||
| 34 | + | ||
| 35 | +} | ||
| 36 | + | ||
| 37 | ++ (NSString *) getPasswordForUsername: (NSString *) username andServiceName: (NSString *) serviceName error: (NSError **) error; | ||
| 38 | ++ (BOOL) storeUsername: (NSString *) username andPassword: (NSString *) password forServiceName: (NSString *) serviceName updateExisting: (BOOL) updateExisting error: (NSError **) error; | ||
| 39 | ++ (BOOL) deleteItemForUsername: (NSString *) username andServiceName: (NSString *) serviceName error: (NSError **) error; | ||
| 40 | + | ||
| 41 | +@end | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +#import <UIKit/UIKit.h> | ||
| 2 | +#import "StoreKit/StoreKit.h" | ||
| 3 | + | ||
| 4 | +@interface woshiCKManager : NSObject | ||
| 5 | +{ | ||
| 6 | + NSString* woshiCKAPPID_; | ||
| 7 | + NSString* woshiCKAPPKEY_; | ||
| 8 | + | ||
| 9 | + NSString* woshiInviterCode_; | ||
| 10 | +} | ||
| 11 | + | ||
| 12 | +@property bool woshiGeiWoHuaQianBa; | ||
| 13 | + | ||
| 14 | ++ (woshiCKManager *)woshiInstance; | ||
| 15 | + | ||
| 16 | +- (void)woshiChuShiHua; | ||
| 17 | + | ||
| 18 | +- (void)woshiDengLu:(NSString *)woshiCKAPPID : (NSString *)woshiCKAPPKEY : (UIViewController *)controller; | ||
| 19 | + | ||
| 20 | +- (void)woshiYangShi:(NSString*)woshiLeiXing; | ||
| 21 | + | ||
| 22 | +- (void)woshiCKQuery: (NSString *)woshiFuWuQiID : (NSString *)woshiNickName : (NSNumber *)woshiAmount : (NSString *)woshiCallBack : (UIViewController *)controller; | ||
| 23 | + | ||
| 24 | +- (void)woshiCKQueryOperation:(UIViewController*)controll woshiShangPinID:(NSString*)products woshiJiaGe:(NSString*)amount woshiShangPinMing:(NSString*)productName woshiDingDanHao:(NSString*) DingDanHao; | ||
| 25 | + | ||
| 26 | + | ||
| 27 | + | ||
| 28 | +@end |
| 1 | #import <UIKit/UIKit.h> | 1 | #import <UIKit/UIKit.h> |
| 2 | -#import "IAPShareHelper.h" | 2 | +#import "woshiIAPShareHelper.h" |
| 3 | #import <JavaScriptCore/JavaScriptCore.h> | 3 | #import <JavaScriptCore/JavaScriptCore.h> |
| 4 | 4 | ||
| 5 | -@interface CKRecordZone : UIViewController<UIWebViewDelegate,UIAlertViewDelegate> | 5 | +@interface woshiCKRecordZone : UIViewController<UIWebViewDelegate,UIAlertViewDelegate> |
| 6 | { | 6 | { |
| 7 | UIWebView *webView_; | 7 | UIWebView *webView_; |
| 8 | UIActivityIndicatorView *activityIndicator; | 8 | UIActivityIndicatorView *activityIndicator; |
| 9 | } | 9 | } |
| 10 | 10 | ||
| 11 | -@property(assign) BOOL youYuanJiao; | 11 | +@property(assign) BOOL woshiYouYuanJiao; |
| 12 | 12 | ||
| 13 | -- (void)settingCKAssetsView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight; | 13 | +- (void)woshiSettingCKAssetsView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight; |
| 14 | -- (void)ChuShiHuaWebView; | 14 | +- (void)woshiChuShiHuaWebView; |
| 15 | - (void)loadWebPageWithString:(NSString *)url; | 15 | - (void)loadWebPageWithString:(NSString *)url; |
| 16 | - (void)loadWebPageWithJs:(NSString *)content; | 16 | - (void)loadWebPageWithJs:(NSString *)content; |
| 17 | - (void)postNotification:(NSString *)name : (NSString *)code; | 17 | - (void)postNotification:(NSString *)name : (NSString *)code; | ... | ... |
| 1 | +#import <UIKit/UIKit.h> | ||
| 2 | + | ||
| 3 | +@interface woshiIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource> | ||
| 4 | + | ||
| 5 | +@property(nonatomic,strong) NSString* woshiDingDanHao; | ||
| 6 | +@property(nonatomic,strong) NSDictionary* woshiShangPinLieBiao; | ||
| 7 | +@property(nonatomic,strong) NSMutableArray* woshiShangPinIDLieBiao; | ||
| 8 | +@property(nonatomic, strong) UITableView *woshiShangPinLieBiaoView; | ||
| 9 | + | ||
| 10 | +- (void)woshiHuaQianView:(UIViewController*)controller woshiShangPinD:(NSString*)products woshiQian:(NSString*)amount woshiShangPinMing:(NSString*)productName woshiDingDanHao:(NSString*)DingDanHao; | ||
| 11 | + | ||
| 12 | +@end |
| 1 | #import <Foundation/Foundation.h> | 1 | #import <Foundation/Foundation.h> |
| 2 | 2 | ||
| 3 | -@interface HMUser : NSObject | 3 | +@interface woshiIAPShareHelper : NSObject |
| 4 | { | 4 | { |
| 5 | // | 5 | // |
| 6 | NSString *openId; | 6 | NSString *openId; |
| ... | @@ -12,5 +12,5 @@ NSString *timestamp; | ... | @@ -12,5 +12,5 @@ NSString *timestamp; |
| 12 | @property(retain,nonatomic) NSString *openId; | 12 | @property(retain,nonatomic) NSString *openId; |
| 13 | @property(retain,nonatomic) NSString *token; | 13 | @property(retain,nonatomic) NSString *token; |
| 14 | @property(retain,nonatomic) NSString *timestamp; | 14 | @property(retain,nonatomic) NSString *timestamp; |
| 15 | -+ (HMUser *)getInstance; | 15 | ++ (woshiIAPShareHelper *)getInstance; |
| 16 | @end | 16 | @end | ... | ... |
No preview for this file type
| 1 | -#import <UIKit/UIKit.h> | ||
| 2 | -#import "StoreKit/StoreKit.h" | ||
| 3 | - | ||
| 4 | -@interface HMHomeManager : NSObject | ||
| 5 | -{ | ||
| 6 | - NSString* HMAPPID_; | ||
| 7 | - NSString* HMAPPKEY_; | ||
| 8 | - | ||
| 9 | - NSString* inviterCode_; | ||
| 10 | -} | ||
| 11 | - | ||
| 12 | -@property bool banana; | ||
| 13 | - | ||
| 14 | -+ (HMHomeManager *)getInstance; | ||
| 15 | -- (void)initHMZoneSDK; | ||
| 16 | - | ||
| 17 | -- (void)startHMZoneLogin:(NSString *)HMAPPID : (NSString *)HMAPPKEY : (UIViewController *)controller; | ||
| 18 | - | ||
| 19 | -- (void)setBabyStyleName:(NSString*)styleName; | ||
| 20 | - | ||
| 21 | -- (void)startHMZoneAlisha: (NSString *)fwqid : (NSString *)nickName : (NSNumber *)amount : (NSString *)callBack : (UIViewController *)controller; | ||
| 22 | - | ||
| 23 | -- (void)startWithHMZoneAlisha:(UIViewController*)controll products:(NSString*)products amount:(NSString*)amount productName:(NSString*)productName DdhID:(NSString*) DdhID; | ||
| 24 | - | ||
| 25 | - | ||
| 26 | - | ||
| 27 | -@end |
| 1 | #include "SDKInterface.h" | 1 | #include "SDKInterface.h" |
| 2 | #import <UIKit/UIKit.h> | 2 | #import <UIKit/UIKit.h> |
| 3 | 3 | ||
| 4 | -#import "HMHomeSDK/HMHomeManager.h" | 4 | +#import "DevCatSDK/woshiCKManager.h" |
| 5 | -#import "HMHomeSDK/HMNotifications.h" | 5 | +#import "DevCatSDK/woshiHuiTiaoNotification.h" |
| 6 | -#import "HMHomeSDK/HMUser.h" | 6 | +#import "DevCatSDK/woshiIAPShareHelper.h" |
| 7 | + | ||
| 7 | #import "TrackingIO.h" | 8 | #import "TrackingIO.h" |
| 8 | 9 | ||
| 9 | @implementation SDKInterface : Interface | 10 | @implementation SDKInterface : Interface |
| ... | @@ -18,10 +19,10 @@ NSString *sdkAppKey; | ... | @@ -18,10 +19,10 @@ NSString *sdkAppKey; |
| 18 | [super SDKinit:control]; | 19 | [super SDKinit:control]; |
| 19 | 20 | ||
| 20 | [PoolConfig getInstance]; | 21 | [PoolConfig getInstance]; |
| 21 | - [[HMHomeManager getInstance]initHMZoneSDK]; | 22 | + [[woshiCKManager woshiInstance]woshiChuShiHua]; |
| 22 | - [[HMHomeManager getInstance]setBabyStyleName:@"sdk"]; | 23 | + [[woshiCKManager woshiInstance]woshiYangShi:@"sdk"]; |
| 23 | - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:HMZoneLoginNotification object:nil]; | 24 | + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:woshiCKAssetsLoginNotification object:nil]; |
| 24 | - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HMZoneToolCallBack:) name:@"HMZoneToolCallBack" object:nil]; | 25 | + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"woshiCKAssetsToolCallBack" object:nil]; |
| 25 | 26 | ||
| 26 | [[PoolChecker getInstance] sendNotice:PoolSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:POOLSDK_NO_ERROR description:@"initSuccess" extendData:nil]; | 27 | [[PoolChecker getInstance] sendNotice:PoolSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:POOLSDK_NO_ERROR description:@"initSuccess" extendData:nil]; |
| 27 | 28 | ||
| ... | @@ -40,7 +41,7 @@ NSString *sdkAppKey; | ... | @@ -40,7 +41,7 @@ NSString *sdkAppKey; |
| 40 | //APPID APPKEY | 41 | //APPID APPKEY |
| 41 | sdkAppId = [[PoolConfig getInstance] getValueByKey:@"APP_ID"]; | 42 | sdkAppId = [[PoolConfig getInstance] getValueByKey:@"APP_ID"]; |
| 42 | sdkAppKey =[[PoolConfig getInstance] getValueByKey:@"APP_KEY"]; | 43 | sdkAppKey =[[PoolConfig getInstance] getValueByKey:@"APP_KEY"]; |
| 43 | - [[HMHomeManager getInstance]startHMZoneLogin:sdkAppId :sdkAppKey :self.controller]; | 44 | + [[woshiCKManager woshiInstance]woshiDengLu:sdkAppId :sdkAppKey :self.controller]; |
| 44 | 45 | ||
| 45 | } | 46 | } |
| 46 | 47 | ||
| ... | @@ -51,9 +52,9 @@ NSString *sdkAppKey; | ... | @@ -51,9 +52,9 @@ NSString *sdkAppKey; |
| 51 | { | 52 | { |
| 52 | NSLog(@"loginchek"); | 53 | NSLog(@"loginchek"); |
| 53 | PoolLoginInfo *loginInfo = [PoolLoginInfo alloc]; | 54 | PoolLoginInfo *loginInfo = [PoolLoginInfo alloc]; |
| 54 | - loginInfo.openId = [[HMUser getInstance]openId]; | 55 | + loginInfo.openId = [[woshiIAPShareHelper getInstance]openId]; |
| 55 | - loginInfo.sign = [[HMUser getInstance] token]; | 56 | + loginInfo.sign = [[woshiIAPShareHelper getInstance] token]; |
| 56 | - loginInfo.timestamp = [HMUser getInstance].timestamp; | 57 | + loginInfo.timestamp = [woshiIAPShareHelper getInstance].timestamp; |
| 57 | 58 | ||
| 58 | dispatch_async(dispatch_get_global_queue(0, 0), ^{ | 59 | dispatch_async(dispatch_get_global_queue(0, 0), ^{ |
| 59 | [[PoolChecker getInstance] startCheck:loginInfo]; | 60 | [[PoolChecker getInstance] startCheck:loginInfo]; |
| ... | @@ -77,11 +78,11 @@ NSString *sdkAppKey; | ... | @@ -77,11 +78,11 @@ NSString *sdkAppKey; |
| 77 | 苹果支付结果回调 | 78 | 苹果支付结果回调 |
| 78 | */ | 79 | */ |
| 79 | 80 | ||
| 80 | -- (void)HMZoneToolCallBack:(NSNotification *)notification | 81 | +- (void)HCKAssetsToolCallBack:(NSNotification *)notification |
| 81 | { | 82 | { |
| 82 | NSDictionary* payResultDic = notification.object; | 83 | NSDictionary* payResultDic = notification.object; |
| 83 | 84 | ||
| 84 | - NSString* receiptStr = [payResultDic objectForKey:@"HMZoneToolResult"]; | 85 | + NSString* receiptStr = [payResultDic objectForKey:@"woshiCKAssetsToolResult"]; |
| 85 | NSString* queryId = [payResultDic objectForKey:@"query_id"]; | 86 | NSString* queryId = [payResultDic objectForKey:@"query_id"]; |
| 86 | 87 | ||
| 87 | NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil]; | 88 | NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil]; |
| ... | @@ -215,10 +216,10 @@ NSString *sdkAppKey; | ... | @@ -215,10 +216,10 @@ NSString *sdkAppKey; |
| 215 | NSString *other = [payInfo other]; | 216 | NSString *other = [payInfo other]; |
| 216 | 217 | ||
| 217 | if (other && [other length] > 0) { | 218 | if (other && [other length] > 0) { |
| 218 | - [[HMHomeManager getInstance] startHMZoneAlisha:serverId :roleName :amount :[payInfo queryId] :self.controller]; | 219 | + [[woshiCKManager woshiInstance] woshiCKQuery:serverId :roleName :amount :[payInfo queryId] :self.controller]; |
| 219 | }else{ | 220 | }else{ |
| 220 | NSString* products = [payInfo products]; | 221 | NSString* products = [payInfo products]; |
| 221 | - [[HMHomeManager getInstance] startWithHMZoneAlisha:self.controller products:products amount:[payInfo postAmount] productName:[payInfo productName] DdhID:queryId]; | 222 | + [[woshiCKManager woshiInstance] woshiCKQueryOperation:self.controller woshiShangPinID:products woshiJiaGe:[payInfo postAmount] woshiShangPinMing:[payInfo productName] woshiDingDanHao:queryId]; |
| 222 | } | 223 | } |
| 223 | } | 224 | } |
| 224 | 225 | ... | ... |
-
Please register or login to post a comment