lizhihui

更新190510版本

Showing 72 changed files with 258 additions and 258 deletions
No preview for this file type
......@@ -7,8 +7,8 @@
objects = {
/* Begin PBXBuildFile section */
265B2B2F22812A5700F193F4 /* Solstice.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 265B2B2E22812A5700F193F4 /* Solstice.framework */; };
269F653821B6613F006AEC88 /* HaiBaoJuheSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 269F653721B6613F006AEC88 /* HaiBaoJuheSDK.framework */; };
26D78A96228525FA00A5012D /* Garden.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 26D78A95228525F900A5012D /* Garden.framework */; };
845D18221C8D778400F27EB9 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 845D181B1C8D778400F27EB9 /* Images.xcassets */; };
846BD2241EE9342700E89A1D /* hnyouai_config in Resources */ = {isa = PBXBuildFile; fileRef = 846BD21F1EE9342700E89A1D /* hnyouai_config */; };
846BD2261EE9342700E89A1D /* SDKInterface.m in Sources */ = {isa = PBXBuildFile; fileRef = 846BD2231EE9342700E89A1D /* SDKInterface.m */; };
......@@ -59,8 +59,8 @@
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
265B2B2E22812A5700F193F4 /* Solstice.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Solstice.framework; sourceTree = "<group>"; };
269F653721B6613F006AEC88 /* HaiBaoJuheSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = HaiBaoJuheSDK.framework; sourceTree = "<group>"; };
26D78A95228525F900A5012D /* Garden.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Garden.framework; sourceTree = "<group>"; };
845D181B1C8D778400F27EB9 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = poolsdk_file/poolsdk/Images.xcassets; sourceTree = "<group>"; };
845D181C1C8D778400F27EB9 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = poolsdk_file/poolsdk/Info.plist; sourceTree = "<group>"; };
846BD21F1EE9342700E89A1D /* hnyouai_config */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = hnyouai_config; path = poolsdk_file/poolsdk/hnyouai_config; sourceTree = "<group>"; };
......@@ -106,7 +106,7 @@
269F653821B6613F006AEC88 /* HaiBaoJuheSDK.framework in Frameworks */,
8484E4FC1EE7E1D800B402D1 /* libsqlite3.dylib in Frameworks */,
8484E5121EE7E2B800B402D1 /* libz.1.dylib in Frameworks */,
265B2B2F22812A5700F193F4 /* Solstice.framework in Frameworks */,
26D78A96228525FA00A5012D /* Garden.framework in Frameworks */,
8484E5101EE7E29A00B402D1 /* libc++.1.dylib in Frameworks */,
8484E5001EE7E20C00B402D1 /* CFNetwork.framework in Frameworks */,
8484E5061EE7E24A00B402D1 /* CoreMotion.framework in Frameworks */,
......@@ -143,7 +143,7 @@
8476DF641C4DD71D00EC42BA /* poolsdk */ = {
isa = PBXGroup;
children = (
265B2B2E22812A5700F193F4 /* Solstice.framework */,
26D78A95228525F900A5012D /* Garden.framework */,
84A090AC1F174E21003D23FB /* TrackingIO.h */,
84A090AA1F160A69003D23FB /* TrackingIO.a */,
846BD21F1EE9342700E89A1D /* hnyouai_config */,
......
#import <Foundation/Foundation.h>
@interface SolsticeControl : NSObject
@interface GardenControl : NSObject
- (void)initSolsticeInstance;
- (void)initGardenInstance;
- (void)SolsticeStartGo;
- (void) GardenStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface SolsticeControl1 : NSObject
@interface GardenControl1 : NSObject
- (void)initSolsticeInstance;
- (void)initGardenInstance;
- (void)SolsticeStartGo;
- (void) GardenStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface SolsticeControl2 : NSObject
@interface GardenControl2 : NSObject
- (void)initSolsticeInstance;
- (void)initGardenInstance;
- (void)SolsticeStartGo;
- (void) GardenStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface SolsticeControl3 : NSObject
@interface GardenControl3 : NSObject
- (void)initSolsticeInstance;
- (void)initGardenInstance;
- (void)SolsticeStartGo;
- (void) GardenStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface SolsticeControl4 : NSObject
@interface GardenControl4 : NSObject
- (void)initSolsticeInstance;
- (void)initGardenInstance;
- (void)SolsticeStartGo;
- (void) GardenStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
#import "OtherSetting.h"
@interface SolsticeHaiBaoJuheBaseModel : NSObject
@interface GardenHaiBaoJuheBaseModel : NSObject
- (NSString *)SolsticeHaiBaoJuheObjectToJsonString;
- (NSString *) GardenHaiBaoJuheObjectToJsonString;
- (NSMutableString *)paramAddToString;
- (id)initWithDiction:(NSDictionary *)diction;
......
......@@ -11,7 +11,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel)
ELogError
};
@interface SolsticeHaiBaoJuheDGLogger : NSObject
@interface GardenHaiBaoJuheDGLogger : NSObject
+ (void)showLog:(NSString *)fmt,...;
......
......@@ -15,11 +15,11 @@
- (void)initChecker;
- (void)startCheck:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) createOrder:(HaiBaoJuheCreateOrderInfo *)gzyazfInfo;
- (void) SolsticeHaiBaoJuhereportOpen;
- (void) SolsticeHaiBaoJuhereportSDKOpen;
- (void)SolsticeHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) GardenHaiBaoJuhereportOpen;
- (void) GardenHaiBaoJuhereportSDKOpen;
- (void) GardenHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo;
- (void) SolsticeHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void) GardenHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void)sendNotice:(HaiBaoJuheSDKNotificationType)notiType
notiName:(NSString *)notiName
statusCode:(int)nCode
......@@ -28,7 +28,7 @@
- (void)startCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo;
- (void)SolsticeHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
- (void) GardenHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
/*
*初始化时调用
......
#import "HaiBaoJuheSDK/SolsticeHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheCreateOrderInfo : SolsticeHaiBaoJuheBaseModel
#import "HaiBaoJuheSDK/GardenHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheCreateOrderInfo : GardenHaiBaoJuheBaseModel
@property(nonatomic,strong)NSString *serverId;//服务器ID
@property(nonatomic, strong)NSString *serverName;//服务器名称
......@@ -16,7 +16,7 @@
@property(nonatomic, strong)NSString *userId;//用户ID
@property(nonatomic, strong)NSString *timestamp;//时间戳
- (NSString *) SolsticeHaiBaoJuheGetTsign ;
- (NSString *) SolsticeHaiBaoJuheGetTimestamp ;
- (NSString *) GardenHaiBaoJuheGetTsign ;
- (NSString *) GardenHaiBaoJuheGetTimestamp ;
@end
......
#import "HaiBaoJuheSDK/SolsticeHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheGzyazfInfo : SolsticeHaiBaoJuheBaseModel
#import "HaiBaoJuheSDK/GardenHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheGzyazfInfo : GardenHaiBaoJuheBaseModel
@property(nonatomic, strong)NSString *serverId;
@property(nonatomic, strong)NSString *queryId;
......
#import "HaiBaoJuheSDK/SolsticeHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheLoginInfo : SolsticeHaiBaoJuheBaseModel
#import "HaiBaoJuheSDK/GardenHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheLoginInfo : GardenHaiBaoJuheBaseModel
@property(nonatomic,strong)NSString *timestamp;
@property(nonatomic, strong)NSString *sign;
......
//
// SolsticeHaiBaoJuheReportInfo.h
// GardenHaiBaoJuheReportInfo.h
// HaiBaoJuheSDK
//
// Created by winFan on 12/21/15.
// Copyright (c) 2015 winFan. All rights reserved.
//
#import "HaiBaoJuheSDK/SolsticeHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheReportInfo : SolsticeHaiBaoJuheBaseModel
#import "HaiBaoJuheSDK/GardenHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheReportInfo : GardenHaiBaoJuheBaseModel
@property(nonatomic, strong)NSString *reportType;//类型
@property(nonatomic, strong)NSString *playerId;//玩家ID
......
......@@ -10,7 +10,7 @@
@property(nonatomic, strong)NSString *urlSchemes;
@property(strong) NSMutableArray* SolsticeList;
@property(strong) NSMutableArray* GardenList;
@property BOOL isAppleGzyazfing;
......
......@@ -4,7 +4,7 @@
@interface HaiBaoJuheUtils : NSObject
+(NSString *)md5:(NSString *)str;
+ (NSDictionary *)SolsticeHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+ (NSDictionary *) GardenHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+(NSString *)createGzyazfOrderUrl;
//*充值回调地址
+(NSString *)createGzyazfUrl;
......
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface GardenAllManager : NSObject
{
NSString* GardenAPPID_;
NSString* GardenAPPKEY_;
NSString* GardenInviterCode_;
}
@property(strong) NSMutableArray* GardenList;
@property bool GardenGeiWoHuaQianBa;
+ (GardenAllManager *)GardenInstance;
- (void)GardenChuShiHua;
- (void)GardenDengLu:(NSString *)GardenAPPID : (NSString *)GardenAPPKEY : (UIViewController *)controller;
- (void)GardenYangShi:(NSString*)GardenLeiXing;
- (void)GardenQuery: (NSString *)GardenFuWuQiID : (NSString *)GardenNickName : (NSNumber *)GardenAmount : (NSString *)GardenCallBack : (UIViewController *)controller : (NSString *)GardenServerName;
- (void)GardenQueryOperation:(UIViewController*)controll GardenHuoWuID:(NSString*)products GardenJiaGe:(NSString*)amount GardenHuoWuMing:(NSString*)productName GardenDingDanHao:(NSString*) DingDanHao;
@end
#import <Foundation/Foundation.h>
extern NSString * const GardenExitNotification;
extern NSString * const GardenLoginNotification;
extern NSString * const GardenErrorNotification;
@interface GardenHuiTiaoNotification : NSObject
@end
#import <UIKit/UIKit.h>
@interface GardenIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* GardenDingDanHao;
@property(nonatomic,strong) NSDictionary* GardenHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* GardenHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *GardenHuoWuLieBiaoView;
- (void)GardenHuaQianView:(UIViewController*)controller GardenHuoWuD:(NSString*)products GardenQian:(NSString*)amount GardenHuoWuMing:(NSString*)productName GardenDingDanHao:(NSString*)DingDanHao;
@end
#import <Foundation/Foundation.h>
@interface SolsticeInformation : NSObject
@interface GardenInformation : NSObject
{
//
NSString *openId;
......@@ -12,5 +12,5 @@ NSString *timestamp;
@property(retain,nonatomic) NSString *openId;
@property(retain,nonatomic) NSString *token;
@property(retain,nonatomic) NSString *timestamp;
+ (SolsticeInformation *)getInstance;
+ (GardenInformation *)getInstance;
@end
......
#import <Foundation/Foundation.h>
@interface SolsticeInformationJM : NSObject
@interface GardenInformationJM : NSObject
+(NSString *)SolsticeJM:(NSString *)jm;
+(NSString *)GardenJM:(NSString *)jm;
@end
......
#import <UIKit/UIKit.h>
@interface SolsticeLocation : NSObject
@interface GardenLocation : NSObject
+ (NSString *)SolsticeSKCloudServiceSetupOptionsKey;
+ (NSString *)GardenSKCloudServiceSetupOptionsKey;
@end
......
#import <UIKit/UIKit.h>
#import "SolsticeInformation.h"
#import "GardenInformation.h"
#import <JavaScriptCore/JavaScriptCore.h>
@interface SolsticeMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
@interface GardenMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
{
UIWebView *webSolsticeView_;
UIWebView *webGardenView_;
UIActivityIndicatorView *activityIndicator;
}
@property(assign) BOOL SolsticeYouYuanJiao;
@property(assign) BOOL GardenYouYuanJiao;
- (void)SolsticeSettingSolsticeView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)SolsticeInitWebView;
- (void)GardenSettingGardenView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)GardenInitWebView;
- (void)loadWebPageWithString:(NSString *)url;
- (void)loadWebPageWithJs:(NSString *)content;
- (void)postNotification:(NSString *)name : (NSString *)code;
......
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface SolsticeAllManager : NSObject
{
NSString* SolsticeAPPID_;
NSString* SolsticeAPPKEY_;
NSString* SolsticeInviterCode_;
}
@property(strong) NSMutableArray* SolsticeList;
@property bool SolsticeGeiWoHuaQianBa;
+ (SolsticeAllManager *)SolsticeInstance;
- (void)SolsticeChuShiHua;
- (void)SolsticeDengLu:(NSString *)SolsticeAPPID : (NSString *)SolsticeAPPKEY : (UIViewController *)controller;
- (void)SolsticeYangShi:(NSString*)SolsticeLeiXing;
- (void)SolsticeQuery: (NSString *)SolsticeFuWuQiID : (NSString *)SolsticeNickName : (NSNumber *)SolsticeAmount : (NSString *)SolsticeCallBack : (UIViewController *)controller : (NSString *)SolsticeServerName;
- (void)SolsticeQueryOperation:(UIViewController*)controll SolsticeHuoWuID:(NSString*)products SolsticeJiaGe:(NSString*)amount SolsticeHuoWuMing:(NSString*)productName SolsticeDingDanHao:(NSString*) DingDanHao;
@end
#import <Foundation/Foundation.h>
extern NSString * const SolsticeExitNotification;
extern NSString * const SolsticeLoginNotification;
extern NSString * const SolsticeErrorNotification;
@interface SolsticeHuiTiaoNotification : NSObject
@end
#import <UIKit/UIKit.h>
@interface SolsticeIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* SolsticeDingDanHao;
@property(nonatomic,strong) NSDictionary* SolsticeHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* SolsticeHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *SolsticeHuoWuLieBiaoView;
- (void)SolsticeHuaQianView:(UIViewController*)controller SolsticeHuoWuD:(NSString*)products SolsticeQian:(NSString*)amount SolsticeHuoWuMing:(NSString*)productName SolsticeDingDanHao:(NSString*)DingDanHao;
@end
#include "SDKInterface.h"
#import <UIKit/UIKit.h>
#import "Solstice/SolsticeAllManager.h"
#import "Solstice/SolsticeHuiTiaoNotification.h"
#import "Solstice/SolsticeInformation.h"
#import "Garden/GardenAllManager.h"
#import "Garden/GardenHuiTiaoNotification.h"
#import "Garden/GardenInformation.h"
#import "TrackingIO.h"
@implementation SDKInterface : Interface
int mExchange;
NSString *SolsticeAppId;
NSString *SolsticeAppKey;
NSString *SolsticeLeakOrderUrl;
NSString *GardenAppId;
NSString *GardenAppKey;
NSString *GardenLeakOrderUrl;
- (void)SDKinit:(UIViewController *) control
{
......@@ -20,10 +20,10 @@ NSString *SolsticeLeakOrderUrl;
[super SDKinit:control];
[HaiBaoJuheConfig getInstance];
[[SolsticeAllManager SolsticeInstance]SolsticeChuShiHua];
[[SolsticeAllManager SolsticeInstance]SolsticeYangShi:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:SolsticeLoginNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"SolsticeToolCallBack" object:nil];
[[GardenAllManager GardenInstance]GardenChuShiHua];
[[GardenAllManager GardenInstance]GardenYangShi:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:GardenLoginNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"GardenToolCallBack" object:nil];
[[HaiBaoJuheChecker getInstance] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
......@@ -40,9 +40,9 @@ NSString *SolsticeLeakOrderUrl;
- (void)SDKloginSDK
{
//APPID APPKEY
SolsticeAppId = [[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_ID"];
SolsticeAppKey =[[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_KEY"];
[[SolsticeAllManager SolsticeInstance]SolsticeDengLu:SolsticeAppId :SolsticeAppKey :self.controller];
GardenAppId = [[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_ID"];
GardenAppKey =[[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_KEY"];
[[GardenAllManager GardenInstance]GardenDengLu:GardenAppId :GardenAppKey :self.controller];
}
......@@ -53,9 +53,9 @@ NSString *SolsticeLeakOrderUrl;
{
NSLog(@"loginchek");
HaiBaoJuheLoginInfo *loginInfo = [HaiBaoJuheLoginInfo alloc];
loginInfo.openId = [[SolsticeInformation getInstance]openId];
loginInfo.sign = [[SolsticeInformation getInstance] token];
loginInfo.timestamp = [[SolsticeInformation getInstance] timestamp];
loginInfo.openId = [[GardenInformation getInstance]openId];
loginInfo.sign = [[GardenInformation getInstance] token];
loginInfo.timestamp = [[GardenInformation getInstance] timestamp];
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[[HaiBaoJuheChecker getInstance] startCheck:loginInfo];
......@@ -82,7 +82,7 @@ NSString *SolsticeLeakOrderUrl;
- (void)HCKAssetsToolCallBack:(NSNotification *)notification
{
NSDictionary* payResultDic = notification.object;
NSString* receiptStr = [payResultDic objectForKey:@"SolsticeToolResult"];
NSString* receiptStr = [payResultDic objectForKey:@"GardenToolResult"];
NSString* queryId = [payResultDic objectForKey:@"query_id"];
//收到回调,保存queryid和data
......@@ -101,7 +101,7 @@ NSString *SolsticeLeakOrderUrl;
[userDefaults setObject:receiptStr forKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSyn:SolsticeLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSyn:GardenLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
//删除已保存的
......@@ -121,11 +121,11 @@ NSString *SolsticeLeakOrderUrl;
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
NSString* lastqueryid = [userDefaults objectForKey:@"lastqueryid"];
SolsticeLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
GardenLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[HaiBaoJuheUtils createGzyazfUrl],
[payInfo userId],
[payInfo playerId]];
[userDefaults setObject:SolsticeLeakOrderUrl forKey:@"lastSolsticeLeakOrderUrl"];
[userDefaults setObject:GardenLeakOrderUrl forKey:@"lastGardenLeakOrderUrl"];
if (lastqueryid!=nil) {
//创建订单前进行补单
......@@ -135,7 +135,7 @@ NSString *SolsticeLeakOrderUrl;
receiptStr = [receiptStr stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
//如果不为空,进行最后一次补单
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",lastqueryid,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSyn:SolsticeLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSyn:GardenLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
//删除已保存的
[userDefaults removeObjectForKey:@"lastqueryid"];
......@@ -145,7 +145,7 @@ NSString *SolsticeLeakOrderUrl;
mExchange = [payInfo exchange].intValue;
[super SDKgzyazfWithGzyazfmentInfo:payInfo];
SolsticeLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
GardenLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[HaiBaoJuheUtils createGzyazfUrl],
[payInfo userId],
[payInfo playerId]];
......@@ -212,10 +212,10 @@ NSString *SolsticeLeakOrderUrl;
for (NSString* queryId in queryIdArray) {
NSString* receiptStr = [userDefaults valueForKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* lastSolsticeLeakOrderUrl = [userDefaults objectForKey:@"lastSolsticeLeakOrderUrl"];
NSString* lastGardenLeakOrderUrl = [userDefaults objectForKey:@"lastGardenLeakOrderUrl"];
NSString* result;
if (lastSolsticeLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSyn:lastSolsticeLeakOrderUrl :receiptDic];
if (lastGardenLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSyn:lastGardenLeakOrderUrl :receiptDic];
}else{
result = [[NetCenter getInstance] httpPostSyn:[HaiBaoJuheUtils createGzyazfUrl] :receiptDic];
}
......@@ -253,14 +253,14 @@ NSString *SolsticeLeakOrderUrl;
NSString *other = [payInfo other];
if (other && [other length] > 0) {
[[SolsticeAllManager SolsticeInstance] SolsticeQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
[[GardenAllManager GardenInstance] GardenQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
}else{
NSString* products = [payInfo products];
//保存订单号到本地
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
[userDefaults setObject:queryId forKey:@"lastqueryid"];
[userDefaults synchronize];
[[SolsticeAllManager SolsticeInstance] SolsticeQueryOperation:self.controller SolsticeHuoWuID:products SolsticeJiaGe:[payInfo postAmount] SolsticeHuoWuMing:[payInfo productName] SolsticeDingDanHao:queryId];
[[GardenAllManager GardenInstance] GardenQueryOperation:self.controller GardenHuoWuID:products GardenJiaGe:[payInfo postAmount] GardenHuoWuMing:[payInfo productName] GardenDingDanHao:queryId];
}
}
......
......@@ -10,9 +10,9 @@
7、``` 所有接口PoolSdk 替换成 HaiBaoJuheSDK(如不理解可以参考demo或者详细文档) ``` <br>
## 已更新 海豹聚合SDK 2018年12月05日版本 快速更新到 2019年05月07日版本1<br>
## 已更新 海豹聚合SDK 2018年12月05日版本 快速更新到 2019年05月10日版本1<br>
1、``` 删除poolsdk_file文件夹中原来framework ``` <br>
2、``` 引入poolsdk_file文件夹中Solstice.framework ``` <br>
2、``` 引入poolsdk_file文件夹中Garden.framework ``` <br>
3、``` 替换SDKInterface.m文件 ``` <br>
4、``` 替换HaiBaoJuheSDK.framework ``` <br>
5、``` 原配置文件 替换成新 hnyouai_config文件(可参考demo) ``` <br>
\ No newline at end of file
......
#import <Foundation/Foundation.h>
@interface SolsticeControl : NSObject
@interface GardenControl : NSObject
- (void)initSolsticeInstance;
- (void)initGardenInstance;
- (void)SolsticeStartGo;
- (void) GardenStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface SolsticeControl1 : NSObject
@interface GardenControl1 : NSObject
- (void)initSolsticeInstance;
- (void)initGardenInstance;
- (void)SolsticeStartGo;
- (void) GardenStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface SolsticeControl2 : NSObject
@interface GardenControl2 : NSObject
- (void)initSolsticeInstance;
- (void)initGardenInstance;
- (void)SolsticeStartGo;
- (void) GardenStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface SolsticeControl3 : NSObject
@interface GardenControl3 : NSObject
- (void)initSolsticeInstance;
- (void)initGardenInstance;
- (void)SolsticeStartGo;
- (void) GardenStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface SolsticeControl4 : NSObject
@interface GardenControl4 : NSObject
- (void)initSolsticeInstance;
- (void)initGardenInstance;
- (void)SolsticeStartGo;
- (void) GardenStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
#import "OtherSetting.h"
@interface SolsticeHaiBaoJuheBaseModel : NSObject
@interface GardenHaiBaoJuheBaseModel : NSObject
- (NSString *)SolsticeHaiBaoJuheObjectToJsonString;
- (NSString *) GardenHaiBaoJuheObjectToJsonString;
- (NSMutableString *)paramAddToString;
- (id)initWithDiction:(NSDictionary *)diction;
......
......@@ -11,7 +11,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel)
ELogError
};
@interface SolsticeHaiBaoJuheDGLogger : NSObject
@interface GardenHaiBaoJuheDGLogger : NSObject
+ (void)showLog:(NSString *)fmt,...;
......
......@@ -15,11 +15,11 @@
- (void)initChecker;
- (void)startCheck:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) createOrder:(HaiBaoJuheCreateOrderInfo *)gzyazfInfo;
- (void) SolsticeHaiBaoJuhereportOpen;
- (void) SolsticeHaiBaoJuhereportSDKOpen;
- (void)SolsticeHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) GardenHaiBaoJuhereportOpen;
- (void) GardenHaiBaoJuhereportSDKOpen;
- (void) GardenHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo;
- (void) SolsticeHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void) GardenHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void)sendNotice:(HaiBaoJuheSDKNotificationType)notiType
notiName:(NSString *)notiName
statusCode:(int)nCode
......@@ -28,7 +28,7 @@
- (void)startCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo;
- (void)SolsticeHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
- (void) GardenHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
/*
*初始化时调用
......
#import "HaiBaoJuheSDK/SolsticeHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheCreateOrderInfo : SolsticeHaiBaoJuheBaseModel
#import "HaiBaoJuheSDK/GardenHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheCreateOrderInfo : GardenHaiBaoJuheBaseModel
@property(nonatomic,strong)NSString *serverId;//服务器ID
@property(nonatomic, strong)NSString *serverName;//服务器名称
......@@ -16,7 +16,7 @@
@property(nonatomic, strong)NSString *userId;//用户ID
@property(nonatomic, strong)NSString *timestamp;//时间戳
- (NSString *) SolsticeHaiBaoJuheGetTsign ;
- (NSString *) SolsticeHaiBaoJuheGetTimestamp ;
- (NSString *) GardenHaiBaoJuheGetTsign ;
- (NSString *) GardenHaiBaoJuheGetTimestamp ;
@end
......
#import "HaiBaoJuheSDK/SolsticeHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheGzyazfInfo : SolsticeHaiBaoJuheBaseModel
#import "HaiBaoJuheSDK/GardenHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheGzyazfInfo : GardenHaiBaoJuheBaseModel
@property(nonatomic, strong)NSString *serverId;
@property(nonatomic, strong)NSString *queryId;
......
#import "HaiBaoJuheSDK/SolsticeHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheLoginInfo : SolsticeHaiBaoJuheBaseModel
#import "HaiBaoJuheSDK/GardenHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheLoginInfo : GardenHaiBaoJuheBaseModel
@property(nonatomic,strong)NSString *timestamp;
@property(nonatomic, strong)NSString *sign;
......
//
// SolsticeHaiBaoJuheReportInfo.h
// GardenHaiBaoJuheReportInfo.h
// HaiBaoJuheSDK
//
// Created by winFan on 12/21/15.
// Copyright (c) 2015 winFan. All rights reserved.
//
#import "HaiBaoJuheSDK/SolsticeHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheReportInfo : SolsticeHaiBaoJuheBaseModel
#import "HaiBaoJuheSDK/GardenHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheReportInfo : GardenHaiBaoJuheBaseModel
@property(nonatomic, strong)NSString *reportType;//类型
@property(nonatomic, strong)NSString *playerId;//玩家ID
......
......@@ -10,7 +10,7 @@
@property(nonatomic, strong)NSString *urlSchemes;
@property(strong) NSMutableArray* SolsticeList;
@property(strong) NSMutableArray* GardenList;
@property BOOL isAppleGzyazfing;
......
......@@ -4,7 +4,7 @@
@interface HaiBaoJuheUtils : NSObject
+(NSString *)md5:(NSString *)str;
+ (NSDictionary *)SolsticeHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+ (NSDictionary *) GardenHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+(NSString *)createGzyazfOrderUrl;
//*充值回调地址
+(NSString *)createGzyazfUrl;
......
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface GardenAllManager : NSObject
{
NSString* GardenAPPID_;
NSString* GardenAPPKEY_;
NSString* GardenInviterCode_;
}
@property(strong) NSMutableArray* GardenList;
@property bool GardenGeiWoHuaQianBa;
+ (GardenAllManager *)GardenInstance;
- (void)GardenChuShiHua;
- (void)GardenDengLu:(NSString *)GardenAPPID : (NSString *)GardenAPPKEY : (UIViewController *)controller;
- (void)GardenYangShi:(NSString*)GardenLeiXing;
- (void)GardenQuery: (NSString *)GardenFuWuQiID : (NSString *)GardenNickName : (NSNumber *)GardenAmount : (NSString *)GardenCallBack : (UIViewController *)controller : (NSString *)GardenServerName;
- (void)GardenQueryOperation:(UIViewController*)controll GardenHuoWuID:(NSString*)products GardenJiaGe:(NSString*)amount GardenHuoWuMing:(NSString*)productName GardenDingDanHao:(NSString*) DingDanHao;
@end
#import <Foundation/Foundation.h>
extern NSString * const GardenExitNotification;
extern NSString * const GardenLoginNotification;
extern NSString * const GardenErrorNotification;
@interface GardenHuiTiaoNotification : NSObject
@end
#import <UIKit/UIKit.h>
@interface GardenIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* GardenDingDanHao;
@property(nonatomic,strong) NSDictionary* GardenHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* GardenHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *GardenHuoWuLieBiaoView;
- (void)GardenHuaQianView:(UIViewController*)controller GardenHuoWuD:(NSString*)products GardenQian:(NSString*)amount GardenHuoWuMing:(NSString*)productName GardenDingDanHao:(NSString*)DingDanHao;
@end
#import <Foundation/Foundation.h>
@interface SolsticeInformation : NSObject
@interface GardenInformation : NSObject
{
//
NSString *openId;
......@@ -12,5 +12,5 @@ NSString *timestamp;
@property(retain,nonatomic) NSString *openId;
@property(retain,nonatomic) NSString *token;
@property(retain,nonatomic) NSString *timestamp;
+ (SolsticeInformation *)getInstance;
+ (GardenInformation *)getInstance;
@end
......
#import <Foundation/Foundation.h>
@interface SolsticeInformationJM : NSObject
@interface GardenInformationJM : NSObject
+(NSString *)SolsticeJM:(NSString *)jm;
+(NSString *)GardenJM:(NSString *)jm;
@end
......
#import <UIKit/UIKit.h>
@interface SolsticeLocation : NSObject
@interface GardenLocation : NSObject
+ (NSString *)SolsticeSKCloudServiceSetupOptionsKey;
+ (NSString *)GardenSKCloudServiceSetupOptionsKey;
@end
......
#import <UIKit/UIKit.h>
#import "SolsticeInformation.h"
#import "GardenInformation.h"
#import <JavaScriptCore/JavaScriptCore.h>
@interface SolsticeMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
@interface GardenMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
{
UIWebView *webSolsticeView_;
UIWebView *webGardenView_;
UIActivityIndicatorView *activityIndicator;
}
@property(assign) BOOL SolsticeYouYuanJiao;
@property(assign) BOOL GardenYouYuanJiao;
- (void)SolsticeSettingSolsticeView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)SolsticeInitWebView;
- (void)GardenSettingGardenView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)GardenInitWebView;
- (void)loadWebPageWithString:(NSString *)url;
- (void)loadWebPageWithJs:(NSString *)content;
- (void)postNotification:(NSString *)name : (NSString *)code;
......
#include "SDKInterface.h"
#import <UIKit/UIKit.h>
#import "Solstice/SolsticeAllManager.h"
#import "Solstice/SolsticeHuiTiaoNotification.h"
#import "Solstice/SolsticeInformation.h"
#import "Garden/GardenAllManager.h"
#import "Garden/GardenHuiTiaoNotification.h"
#import "Garden/GardenInformation.h"
#import "TrackingIO.h"
@implementation SDKInterface : Interface
int mExchange;
NSString *SolsticeAppId;
NSString *SolsticeAppKey;
NSString *SolsticeLeakOrderUrl;
NSString *GardenAppId;
NSString *GardenAppKey;
NSString *GardenLeakOrderUrl;
- (void)SDKinit:(UIViewController *) control
{
......@@ -20,10 +20,10 @@ NSString *SolsticeLeakOrderUrl;
[super SDKinit:control];
[HaiBaoJuheConfig getInstance];
[[SolsticeAllManager SolsticeInstance]SolsticeChuShiHua];
[[SolsticeAllManager SolsticeInstance]SolsticeYangShi:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:SolsticeLoginNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"SolsticeToolCallBack" object:nil];
[[GardenAllManager GardenInstance]GardenChuShiHua];
[[GardenAllManager GardenInstance]GardenYangShi:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:GardenLoginNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"GardenToolCallBack" object:nil];
[[HaiBaoJuheChecker getInstance] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
......@@ -40,9 +40,9 @@ NSString *SolsticeLeakOrderUrl;
- (void)SDKloginSDK
{
//APPID APPKEY
SolsticeAppId = [[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_ID"];
SolsticeAppKey =[[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_KEY"];
[[SolsticeAllManager SolsticeInstance]SolsticeDengLu:SolsticeAppId :SolsticeAppKey :self.controller];
GardenAppId = [[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_ID"];
GardenAppKey =[[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_KEY"];
[[GardenAllManager GardenInstance]GardenDengLu:GardenAppId :GardenAppKey :self.controller];
}
......@@ -53,9 +53,9 @@ NSString *SolsticeLeakOrderUrl;
{
NSLog(@"loginchek");
HaiBaoJuheLoginInfo *loginInfo = [HaiBaoJuheLoginInfo alloc];
loginInfo.openId = [[SolsticeInformation getInstance]openId];
loginInfo.sign = [[SolsticeInformation getInstance] token];
loginInfo.timestamp = [[SolsticeInformation getInstance] timestamp];
loginInfo.openId = [[GardenInformation getInstance]openId];
loginInfo.sign = [[GardenInformation getInstance] token];
loginInfo.timestamp = [[GardenInformation getInstance] timestamp];
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[[HaiBaoJuheChecker getInstance] startCheck:loginInfo];
......@@ -82,7 +82,7 @@ NSString *SolsticeLeakOrderUrl;
- (void)HCKAssetsToolCallBack:(NSNotification *)notification
{
NSDictionary* payResultDic = notification.object;
NSString* receiptStr = [payResultDic objectForKey:@"SolsticeToolResult"];
NSString* receiptStr = [payResultDic objectForKey:@"GardenToolResult"];
NSString* queryId = [payResultDic objectForKey:@"query_id"];
//收到回调,保存queryid和data
......@@ -101,7 +101,7 @@ NSString *SolsticeLeakOrderUrl;
[userDefaults setObject:receiptStr forKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSyn:SolsticeLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSyn:GardenLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
//删除已保存的
......@@ -121,11 +121,11 @@ NSString *SolsticeLeakOrderUrl;
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
NSString* lastqueryid = [userDefaults objectForKey:@"lastqueryid"];
SolsticeLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
GardenLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[HaiBaoJuheUtils createGzyazfUrl],
[payInfo userId],
[payInfo playerId]];
[userDefaults setObject:SolsticeLeakOrderUrl forKey:@"lastSolsticeLeakOrderUrl"];
[userDefaults setObject:GardenLeakOrderUrl forKey:@"lastGardenLeakOrderUrl"];
if (lastqueryid!=nil) {
//创建订单前进行补单
......@@ -135,7 +135,7 @@ NSString *SolsticeLeakOrderUrl;
receiptStr = [receiptStr stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
//如果不为空,进行最后一次补单
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",lastqueryid,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSyn:SolsticeLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSyn:GardenLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
//删除已保存的
[userDefaults removeObjectForKey:@"lastqueryid"];
......@@ -145,7 +145,7 @@ NSString *SolsticeLeakOrderUrl;
mExchange = [payInfo exchange].intValue;
[super SDKgzyazfWithGzyazfmentInfo:payInfo];
SolsticeLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
GardenLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[HaiBaoJuheUtils createGzyazfUrl],
[payInfo userId],
[payInfo playerId]];
......@@ -212,10 +212,10 @@ NSString *SolsticeLeakOrderUrl;
for (NSString* queryId in queryIdArray) {
NSString* receiptStr = [userDefaults valueForKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* lastSolsticeLeakOrderUrl = [userDefaults objectForKey:@"lastSolsticeLeakOrderUrl"];
NSString* lastGardenLeakOrderUrl = [userDefaults objectForKey:@"lastGardenLeakOrderUrl"];
NSString* result;
if (lastSolsticeLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSyn:lastSolsticeLeakOrderUrl :receiptDic];
if (lastGardenLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSyn:lastGardenLeakOrderUrl :receiptDic];
}else{
result = [[NetCenter getInstance] httpPostSyn:[HaiBaoJuheUtils createGzyazfUrl] :receiptDic];
}
......@@ -253,14 +253,14 @@ NSString *SolsticeLeakOrderUrl;
NSString *other = [payInfo other];
if (other && [other length] > 0) {
[[SolsticeAllManager SolsticeInstance] SolsticeQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
[[GardenAllManager GardenInstance] GardenQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
}else{
NSString* products = [payInfo products];
//保存订单号到本地
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
[userDefaults setObject:queryId forKey:@"lastqueryid"];
[userDefaults synchronize];
[[SolsticeAllManager SolsticeInstance] SolsticeQueryOperation:self.controller SolsticeHuoWuID:products SolsticeJiaGe:[payInfo postAmount] SolsticeHuoWuMing:[payInfo productName] SolsticeDingDanHao:queryId];
[[GardenAllManager GardenInstance] GardenQueryOperation:self.controller GardenHuoWuID:products GardenJiaGe:[payInfo postAmount] GardenHuoWuMing:[payInfo productName] GardenDingDanHao:queryId];
}
}
......
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface SolsticeAllManager : NSObject
{
NSString* SolsticeAPPID_;
NSString* SolsticeAPPKEY_;
NSString* SolsticeInviterCode_;
}
@property(strong) NSMutableArray* SolsticeList;
@property bool SolsticeGeiWoHuaQianBa;
+ (SolsticeAllManager *)SolsticeInstance;
- (void)SolsticeChuShiHua;
- (void)SolsticeDengLu:(NSString *)SolsticeAPPID : (NSString *)SolsticeAPPKEY : (UIViewController *)controller;
- (void)SolsticeYangShi:(NSString*)SolsticeLeiXing;
- (void)SolsticeQuery: (NSString *)SolsticeFuWuQiID : (NSString *)SolsticeNickName : (NSNumber *)SolsticeAmount : (NSString *)SolsticeCallBack : (UIViewController *)controller : (NSString *)SolsticeServerName;
- (void)SolsticeQueryOperation:(UIViewController*)controll SolsticeHuoWuID:(NSString*)products SolsticeJiaGe:(NSString*)amount SolsticeHuoWuMing:(NSString*)productName SolsticeDingDanHao:(NSString*) DingDanHao;
@end
#import <Foundation/Foundation.h>
extern NSString * const SolsticeExitNotification;
extern NSString * const SolsticeLoginNotification;
extern NSString * const SolsticeErrorNotification;
@interface SolsticeHuiTiaoNotification : NSObject
@end
#import <UIKit/UIKit.h>
@interface SolsticeIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* SolsticeDingDanHao;
@property(nonatomic,strong) NSDictionary* SolsticeHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* SolsticeHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *SolsticeHuoWuLieBiaoView;
- (void)SolsticeHuaQianView:(UIViewController*)controller SolsticeHuoWuD:(NSString*)products SolsticeQian:(NSString*)amount SolsticeHuoWuMing:(NSString*)productName SolsticeDingDanHao:(NSString*)DingDanHao;
@end