lizhihui

更新190422版本1

Showing 74 changed files with 256 additions and 256 deletions
No preview for this file type
......@@ -7,7 +7,7 @@
objects = {
/* Begin PBXBuildFile section */
26310D3E2260450A007A86CC /* WorkersDay.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 26310D3D2260450A007A86CC /* WorkersDay.framework */; };
2613DAF0226D623500717B37 /* IronMan.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2613DAEF226D623500717B37 /* IronMan.framework */; };
269F653821B6613F006AEC88 /* HaiBaoJuheSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 269F653721B6613F006AEC88 /* HaiBaoJuheSDK.framework */; };
845D18221C8D778400F27EB9 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 845D181B1C8D778400F27EB9 /* Images.xcassets */; };
846BD2241EE9342700E89A1D /* haibaoyouxi_config in Resources */ = {isa = PBXBuildFile; fileRef = 846BD21F1EE9342700E89A1D /* haibaoyouxi_config */; };
......@@ -59,7 +59,7 @@
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
26310D3D2260450A007A86CC /* WorkersDay.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = WorkersDay.framework; sourceTree = "<group>"; };
2613DAEF226D623500717B37 /* IronMan.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = IronMan.framework; sourceTree = "<group>"; };
269F653721B6613F006AEC88 /* HaiBaoJuheSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = HaiBaoJuheSDK.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>"; };
......@@ -107,11 +107,11 @@
8484E4FC1EE7E1D800B402D1 /* libsqlite3.dylib in Frameworks */,
8484E5121EE7E2B800B402D1 /* libz.1.dylib in Frameworks */,
8484E5101EE7E29A00B402D1 /* libc++.1.dylib in Frameworks */,
2613DAF0226D623500717B37 /* IronMan.framework in Frameworks */,
8484E5001EE7E20C00B402D1 /* CFNetwork.framework in Frameworks */,
8484E5061EE7E24A00B402D1 /* CoreMotion.framework in Frameworks */,
8484E5021EE7E21F00B402D1 /* UIKit.framework in Frameworks */,
8484E50C1EE7E27100B402D1 /* CoreGraphics.framework in Frameworks */,
26310D3E2260450A007A86CC /* WorkersDay.framework in Frameworks */,
8484E5081EE7E25600B402D1 /* CoreText.framework in Frameworks */,
8484E50E1EE7E28000B402D1 /* QuartzCore.framework in Frameworks */,
8484E5141EE7E2DE00B402D1 /* Foundation.framework in Frameworks */,
......@@ -143,7 +143,7 @@
8476DF641C4DD71D00EC42BA /* poolsdk */ = {
isa = PBXGroup;
children = (
26310D3D2260450A007A86CC /* WorkersDay.framework */,
2613DAEF226D623500717B37 /* IronMan.framework */,
84A090AC1F174E21003D23FB /* TrackingIO.h */,
84A090AA1F160A69003D23FB /* TrackingIO.a */,
846BD21F1EE9342700E89A1D /* haibaoyouxi_config */,
......
......@@ -15,11 +15,11 @@
- (void)initChecker;
- (void)startCheck:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) createOrder:(HaiBaoJuheCreateOrderInfo *)gzyazfInfo;
- (void) WorkersDayHaiBaoJuhereportOpen;
- (void) WorkersDayHaiBaoJuhereportSDKOpen;
- (void)WorkersDayHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) IronManHaiBaoJuhereportOpen;
- (void) IronManHaiBaoJuhereportSDKOpen;
- (void)IronManHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo;
- (void) WorkersDayHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void) IronManHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void)sendNotice:(HaiBaoJuheSDKNotificationType)notiType
notiName:(NSString *)notiName
statusCode:(int)nCode
......@@ -28,7 +28,7 @@
- (void)startCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo;
- (void)WorkersDayHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
- (void)IronManHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
/*
*初始化时调用
......
#import "HaiBaoJuheSDK/WorkersDayHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheCreateOrderInfo : WorkersDayHaiBaoJuheBaseModel
#import "HaiBaoJuheSDK/IronManHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheCreateOrderInfo : IronManHaiBaoJuheBaseModel
@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 *) WorkersDayHaiBaoJuheGetTsign ;
- (NSString *) WorkersDayHaiBaoJuheGetTimestamp ;
- (NSString *) IronManHaiBaoJuheGetTsign ;
- (NSString *) IronManHaiBaoJuheGetTimestamp ;
@end
......
#import "HaiBaoJuheSDK/WorkersDayHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheGzyazfInfo : WorkersDayHaiBaoJuheBaseModel
#import "HaiBaoJuheSDK/IronManHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheGzyazfInfo : IronManHaiBaoJuheBaseModel
@property(nonatomic, strong)NSString *serverId;
@property(nonatomic, strong)NSString *queryId;
......
#import "HaiBaoJuheSDK/WorkersDayHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheLoginInfo : WorkersDayHaiBaoJuheBaseModel
#import "HaiBaoJuheSDK/IronManHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheLoginInfo : IronManHaiBaoJuheBaseModel
@property(nonatomic,strong)NSString *timestamp;
@property(nonatomic, strong)NSString *sign;
......
//
// WorkersDayHaiBaoJuheReportInfo.h
// IronManHaiBaoJuheReportInfo.h
// HaiBaoJuheSDK
//
// Created by winFan on 12/21/15.
// Copyright (c) 2015 winFan. All rights reserved.
//
#import "HaiBaoJuheSDK/WorkersDayHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheReportInfo : WorkersDayHaiBaoJuheBaseModel
#import "HaiBaoJuheSDK/IronManHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheReportInfo : IronManHaiBaoJuheBaseModel
@property(nonatomic, strong)NSString *reportType;//类型
@property(nonatomic, strong)NSString *playerId;//玩家ID
......
......@@ -10,7 +10,7 @@
@property(nonatomic, strong)NSString *urlSchemes;
@property(strong) NSMutableArray* WorkersDayList;
@property(strong) NSMutableArray* IronManList;
@property BOOL isAppleGzyazfing;
......
......@@ -4,7 +4,7 @@
@interface HaiBaoJuheUtils : NSObject
+(NSString *)md5:(NSString *)str;
+ (NSDictionary *)WorkersDayHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+ (NSDictionary *)IronManHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+(NSString *)createGzyazfOrderUrl;
//*充值回调地址
+(NSString *)createGzyazfUrl;
......
#import <Foundation/Foundation.h>
@interface WorkersDayControl : NSObject
@interface IronManControl : NSObject
- (void)initWorkersDayInstance;
- (void)initIronManInstance;
- (void)WorkersDayStartGo;
- (void)IronManStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface WorkersDayControl1 : NSObject
@interface IronManControl1 : NSObject
- (void)initWorkersDayInstance;
- (void)initIronManInstance;
- (void)WorkersDayStartGo;
- (void)IronManStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface WorkersDayControl2 : NSObject
@interface IronManControl2 : NSObject
- (void)initWorkersDayInstance;
- (void)initIronManInstance;
- (void)WorkersDayStartGo;
- (void)IronManStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface WorkersDayControl3 : NSObject
@interface IronManControl3 : NSObject
- (void)initWorkersDayInstance;
- (void)initIronManInstance;
- (void)WorkersDayStartGo;
- (void)IronManStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface WorkersDayControl4 : NSObject
@interface IronManControl4 : NSObject
- (void)initWorkersDayInstance;
- (void)initIronManInstance;
- (void)WorkersDayStartGo;
- (void)IronManStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
#import "OtherSetting.h"
@interface WorkersDayHaiBaoJuheBaseModel : NSObject
@interface IronManHaiBaoJuheBaseModel : NSObject
- (NSString *)WorkersDayHaiBaoJuheObjectToJsonString;
- (NSString *)IronManHaiBaoJuheObjectToJsonString;
- (NSMutableString *)paramAddToString;
- (id)initWithDiction:(NSDictionary *)diction;
......
......@@ -11,7 +11,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel)
ELogError
};
@interface WorkersDayHaiBaoJuheDGLogger : NSObject
@interface IronManHaiBaoJuheDGLogger : NSObject
+ (void)showLog:(NSString *)fmt,...;
......
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface IronManAllManager : NSObject
{
NSString* IronManAPPID_;
NSString* IronManAPPKEY_;
NSString* IronManInviterCode_;
}
@property bool IronManGeiWoHuaQianBa;
+ (IronManAllManager *)IronManInstance;
- (void)IronManChuShiHua;
- (void)IronManDengLu:(NSString *)IronManAPPID : (NSString *)IronManAPPKEY : (UIViewController *)controller;
- (void)IronManYangShi:(NSString*)IronManLeiXing;
- (void)IronManQuery: (NSString *)IronManFuWuQiID : (NSString *)IronManNickName : (NSNumber *)IronManAmount : (NSString *)IronManCallBack : (UIViewController *)controller : (NSString *)IronManServerName;
- (void)IronManQueryOperation:(UIViewController*)controll IronManHuoWuID:(NSString*)products IronManJiaGe:(NSString*)amount IronManHuoWuMing:(NSString*)productName IronManDingDanHao:(NSString*) DingDanHao;
@end
#import <Foundation/Foundation.h>
extern NSString * const IronManExitNotification;
extern NSString * const IronManLoginNotification;
extern NSString * const IronManErrorNotification;
@interface IronManHuiTiaoNotification : NSObject
@end
#import <UIKit/UIKit.h>
@interface IronManIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* IronManDingDanHao;
@property(nonatomic,strong) NSDictionary* IronManHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* IronManHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *IronManHuoWuLieBiaoView;
- (void)IronManHuaQianView:(UIViewController*)controller IronManHuoWuD:(NSString*)products IronManQian:(NSString*)amount IronManHuoWuMing:(NSString*)productName IronManDingDanHao:(NSString*)DingDanHao;
@end
#import <Foundation/Foundation.h>
@interface WorkersDayInformation : NSObject
@interface IronManInformation : NSObject
{
//
NSString *openId;
......@@ -12,5 +12,5 @@ NSString *timestamp;
@property(retain,nonatomic) NSString *openId;
@property(retain,nonatomic) NSString *token;
@property(retain,nonatomic) NSString *timestamp;
+ (WorkersDayInformation *)getInstance;
+ (IronManInformation *)getInstance;
@end
......
#import <Foundation/Foundation.h>
@interface WorkersDayInformationJM : NSObject
@interface IronManInformationJM : NSObject
+(NSString *)WorkersDayJM:(NSString *)jm;
+(NSString *)IronManJM:(NSString *)jm;
@end
......
#import <UIKit/UIKit.h>
@interface WorkersDayLocation : NSObject
@interface IronManLocation : NSObject
+ (NSString *)WorkersDaySKCloudServiceSetupOptionsKey;
+ (NSString *)IronManSKCloudServiceSetupOptionsKey;
@end
......
#import <UIKit/UIKit.h>
#import "WorkersDayInformation.h"
#import "IronManInformation.h"
#import <JavaScriptCore/JavaScriptCore.h>
@interface WorkersDayMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
@interface IronManMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
{
UIWebView *webWorkersDayView_;
UIWebView *webIronManView_;
UIActivityIndicatorView *activityIndicator;
}
@property(assign) BOOL WorkersDayYouYuanJiao;
@property(assign) BOOL IronManYouYuanJiao;
- (void)WorkersDaySettingWorkersDayView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)WorkersDayInitWebView;
- (void)IronManSettingIronManView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)IronManInitWebView;
- (void)loadWebPageWithString:(NSString *)url;
- (void)loadWebPageWithJs:(NSString *)content;
- (void)postNotification:(NSString *)name : (NSString *)code;
......
No preview for this file type
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface WorkersDayAllManager : NSObject
{
NSString* WorkersDayAPPID_;
NSString* WorkersDayAPPKEY_;
NSString* WorkersDayInviterCode_;
}
@property bool WorkersDayGeiWoHuaQianBa;
+ (WorkersDayAllManager *)WorkersDayInstance;
- (void)WorkersDayChuShiHua;
- (void)WorkersDayDengLu:(NSString *)WorkersDayAPPID : (NSString *)WorkersDayAPPKEY : (UIViewController *)controller;
- (void)WorkersDayYangShi:(NSString*)WorkersDayLeiXing;
- (void)WorkersDayQuery: (NSString *)WorkersDayFuWuQiID : (NSString *)WorkersDayNickName : (NSNumber *)WorkersDayAmount : (NSString *)WorkersDayCallBack : (UIViewController *)controller : (NSString *)WorkersDayServerName;
- (void)WorkersDayQueryOperation:(UIViewController*)controll WorkersDayHuoWuID:(NSString*)products WorkersDayJiaGe:(NSString*)amount WorkersDayHuoWuMing:(NSString*)productName WorkersDayDingDanHao:(NSString*) DingDanHao;
@end
#import <Foundation/Foundation.h>
extern NSString * const WorkersDayExitNotification;
extern NSString * const WorkersDayLoginNotification;
extern NSString * const WorkersDayErrorNotification;
@interface WorkersDayHuiTiaoNotification : NSObject
@end
#import <UIKit/UIKit.h>
@interface WorkersDayIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* WorkersDayDingDanHao;
@property(nonatomic,strong) NSDictionary* WorkersDayHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* WorkersDayHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *WorkersDayHuoWuLieBiaoView;
- (void)WorkersDayHuaQianView:(UIViewController*)controller WorkersDayHuoWuD:(NSString*)products WorkersDayQian:(NSString*)amount WorkersDayHuoWuMing:(NSString*)productName WorkersDayDingDanHao:(NSString*)DingDanHao;
@end
#include "SDKInterface.h"
#import <UIKit/UIKit.h>
#import "WorkersDay/WorkersDayAllManager.h"
#import "WorkersDay/WorkersDayHuiTiaoNotification.h"
#import "WorkersDay/WorkersDayInformation.h"
#import "IronMan/IronManAllManager.h"
#import "IronMan/IronManHuiTiaoNotification.h"
#import "IronMan/IronManInformation.h"
#import "TrackingIO.h"
@implementation SDKInterface : Interface
int mExchange;
NSString *WorkersDayAppId;
NSString *WorkersDayAppKey;
NSString *WorkersDayLeakOrderUrl;
NSString *IronManAppId;
NSString *IronManAppKey;
NSString *IronManLeakOrderUrl;
- (void)SDKinit:(UIViewController *) control
{
......@@ -20,10 +20,10 @@ NSString *WorkersDayLeakOrderUrl;
[super SDKinit:control];
[HaiBaoJuheConfig getInstance];
[[WorkersDayAllManager WorkersDayInstance]WorkersDayChuShiHua];
[[WorkersDayAllManager WorkersDayInstance]WorkersDayYangShi:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:WorkersDayLoginNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"WorkersDayToolCallBack" object:nil];
[[IronManAllManager IronManInstance]IronManChuShiHua];
[[IronManAllManager IronManInstance]IronManYangShi:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:IronManLoginNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"IronManToolCallBack" object:nil];
[[HaiBaoJuheChecker getInstance] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
......@@ -40,9 +40,9 @@ NSString *WorkersDayLeakOrderUrl;
- (void)SDKloginSDK
{
//APPID APPKEY
WorkersDayAppId = [[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_ID"];
WorkersDayAppKey =[[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_KEY"];
[[WorkersDayAllManager WorkersDayInstance]WorkersDayDengLu:WorkersDayAppId :WorkersDayAppKey :self.controller];
IronManAppId = [[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_ID"];
IronManAppKey =[[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_KEY"];
[[IronManAllManager IronManInstance]IronManDengLu:IronManAppId :IronManAppKey :self.controller];
}
......@@ -53,9 +53,9 @@ NSString *WorkersDayLeakOrderUrl;
{
NSLog(@"loginchek");
HaiBaoJuheLoginInfo *loginInfo = [HaiBaoJuheLoginInfo alloc];
loginInfo.openId = [[WorkersDayInformation getInstance]openId];
loginInfo.sign = [[WorkersDayInformation getInstance] token];
loginInfo.timestamp = [[WorkersDayInformation getInstance] timestamp];
loginInfo.openId = [[IronManInformation getInstance]openId];
loginInfo.sign = [[IronManInformation getInstance] token];
loginInfo.timestamp = [[IronManInformation getInstance] timestamp];
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[[HaiBaoJuheChecker getInstance] startCheck:loginInfo];
......@@ -82,7 +82,7 @@ NSString *WorkersDayLeakOrderUrl;
- (void)HCKAssetsToolCallBack:(NSNotification *)notification
{
NSDictionary* payResultDic = notification.object;
NSString* receiptStr = [payResultDic objectForKey:@"WorkersDayToolResult"];
NSString* receiptStr = [payResultDic objectForKey:@"IronManToolResult"];
NSString* queryId = [payResultDic objectForKey:@"query_id"];
//收到回调,保存queryid和data
......@@ -101,7 +101,7 @@ NSString *WorkersDayLeakOrderUrl;
[userDefaults setObject:receiptStr forKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSyn:WorkersDayLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSyn:IronManLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
//删除已保存的
......@@ -121,11 +121,11 @@ NSString *WorkersDayLeakOrderUrl;
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
NSString* lastqueryid = [userDefaults objectForKey:@"lastqueryid"];
WorkersDayLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
IronManLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[HaiBaoJuheUtils createGzyazfUrl],
[payInfo userId],
[payInfo playerId]];
[userDefaults setObject:WorkersDayLeakOrderUrl forKey:@"lastWorkersDayLeakOrderUrl"];
[userDefaults setObject:IronManLeakOrderUrl forKey:@"lastIronManLeakOrderUrl"];
if (lastqueryid!=nil) {
//创建订单前进行补单
......@@ -135,7 +135,7 @@ NSString *WorkersDayLeakOrderUrl;
receiptStr = [receiptStr stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
//如果不为空,进行最后一次补单
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",lastqueryid,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSyn:WorkersDayLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSyn:IronManLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
//删除已保存的
[userDefaults removeObjectForKey:@"lastqueryid"];
......@@ -145,7 +145,7 @@ NSString *WorkersDayLeakOrderUrl;
mExchange = [payInfo exchange].intValue;
[super SDKgzyazfWithGzyazfmentInfo:payInfo];
WorkersDayLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
IronManLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[HaiBaoJuheUtils createGzyazfUrl],
[payInfo userId],
[payInfo playerId]];
......@@ -212,10 +212,10 @@ NSString *WorkersDayLeakOrderUrl;
for (NSString* queryId in queryIdArray) {
NSString* receiptStr = [userDefaults valueForKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* lastWorkersDayLeakOrderUrl = [userDefaults objectForKey:@"lastWorkersDayLeakOrderUrl"];
NSString* lastIronManLeakOrderUrl = [userDefaults objectForKey:@"lastIronManLeakOrderUrl"];
NSString* result;
if (lastWorkersDayLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSyn:lastWorkersDayLeakOrderUrl :receiptDic];
if (lastIronManLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSyn:lastIronManLeakOrderUrl :receiptDic];
}else{
result = [[NetCenter getInstance] httpPostSyn:[HaiBaoJuheUtils createGzyazfUrl] :receiptDic];
}
......@@ -253,14 +253,14 @@ NSString *WorkersDayLeakOrderUrl;
NSString *other = [payInfo other];
if (other && [other length] > 0) {
[[WorkersDayAllManager WorkersDayInstance] WorkersDayQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
[[IronManAllManager IronManInstance] IronManQuery: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];
[[WorkersDayAllManager WorkersDayInstance] WorkersDayQueryOperation:self.controller WorkersDayHuoWuID:products WorkersDayJiaGe:[payInfo postAmount] WorkersDayHuoWuMing:[payInfo productName] WorkersDayDingDanHao:queryId];
[[IronManAllManager IronManInstance] IronManQueryOperation:self.controller IronManHuoWuID:products IronManJiaGe:[payInfo postAmount] IronManHuoWuMing:[payInfo productName] IronManDingDanHao:queryId];
}
}
......
......@@ -10,8 +10,8 @@
7、``` 所有接口PoolSdk 替换成 HaiBaoJuheSDK(如不理解可以参考demo或者详细文档) ``` <br>
## 已更新 海豹聚合SDK 2018年12月05日版本 快速更新到 2019年04月12日版本<br>
## 已更新 海豹聚合SDK 2018年12月05日版本 快速更新到 2019年04月22日版本<br>
1、``` 删除poolsdk_file文件夹中原来framework ``` <br>
2、``` 引入poolsdk_file文件夹中WorkersDay.framework ``` <br>
2、``` 引入poolsdk_file文件夹中IronMan.framework ``` <br>
3、``` 替换SDKInterface.m文件 ``` <br>
4、``` 替换HaiBaoJuheSDK.framework ``` <br>
\ No newline at end of file
......
......@@ -15,11 +15,11 @@
- (void)initChecker;
- (void)startCheck:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) createOrder:(HaiBaoJuheCreateOrderInfo *)gzyazfInfo;
- (void) WorkersDayHaiBaoJuhereportOpen;
- (void) WorkersDayHaiBaoJuhereportSDKOpen;
- (void)WorkersDayHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) IronManHaiBaoJuhereportOpen;
- (void) IronManHaiBaoJuhereportSDKOpen;
- (void)IronManHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo;
- (void) WorkersDayHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void) IronManHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void)sendNotice:(HaiBaoJuheSDKNotificationType)notiType
notiName:(NSString *)notiName
statusCode:(int)nCode
......@@ -28,7 +28,7 @@
- (void)startCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo;
- (void)WorkersDayHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
- (void)IronManHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
/*
*初始化时调用
......
#import "HaiBaoJuheSDK/WorkersDayHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheCreateOrderInfo : WorkersDayHaiBaoJuheBaseModel
#import "HaiBaoJuheSDK/IronManHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheCreateOrderInfo : IronManHaiBaoJuheBaseModel
@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 *) WorkersDayHaiBaoJuheGetTsign ;
- (NSString *) WorkersDayHaiBaoJuheGetTimestamp ;
- (NSString *) IronManHaiBaoJuheGetTsign ;
- (NSString *) IronManHaiBaoJuheGetTimestamp ;
@end
......
#import "HaiBaoJuheSDK/WorkersDayHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheGzyazfInfo : WorkersDayHaiBaoJuheBaseModel
#import "HaiBaoJuheSDK/IronManHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheGzyazfInfo : IronManHaiBaoJuheBaseModel
@property(nonatomic, strong)NSString *serverId;
@property(nonatomic, strong)NSString *queryId;
......
#import "HaiBaoJuheSDK/WorkersDayHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheLoginInfo : WorkersDayHaiBaoJuheBaseModel
#import "HaiBaoJuheSDK/IronManHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheLoginInfo : IronManHaiBaoJuheBaseModel
@property(nonatomic,strong)NSString *timestamp;
@property(nonatomic, strong)NSString *sign;
......
//
// WorkersDayHaiBaoJuheReportInfo.h
// IronManHaiBaoJuheReportInfo.h
// HaiBaoJuheSDK
//
// Created by winFan on 12/21/15.
// Copyright (c) 2015 winFan. All rights reserved.
//
#import "HaiBaoJuheSDK/WorkersDayHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheReportInfo : WorkersDayHaiBaoJuheBaseModel
#import "HaiBaoJuheSDK/IronManHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheReportInfo : IronManHaiBaoJuheBaseModel
@property(nonatomic, strong)NSString *reportType;//类型
@property(nonatomic, strong)NSString *playerId;//玩家ID
......
......@@ -10,7 +10,7 @@
@property(nonatomic, strong)NSString *urlSchemes;
@property(strong) NSMutableArray* WorkersDayList;
@property(strong) NSMutableArray* IronManList;
@property BOOL isAppleGzyazfing;
......
......@@ -4,7 +4,7 @@
@interface HaiBaoJuheUtils : NSObject
+(NSString *)md5:(NSString *)str;
+ (NSDictionary *)WorkersDayHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+ (NSDictionary *)IronManHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+(NSString *)createGzyazfOrderUrl;
//*充值回调地址
+(NSString *)createGzyazfUrl;
......
#import <Foundation/Foundation.h>
@interface WorkersDayControl : NSObject
@interface IronManControl : NSObject
- (void)initWorkersDayInstance;
- (void)initIronManInstance;
- (void)WorkersDayStartGo;
- (void)IronManStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface WorkersDayControl1 : NSObject
@interface IronManControl1 : NSObject
- (void)initWorkersDayInstance;
- (void)initIronManInstance;
- (void)WorkersDayStartGo;
- (void)IronManStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface WorkersDayControl2 : NSObject
@interface IronManControl2 : NSObject
- (void)initWorkersDayInstance;
- (void)initIronManInstance;
- (void)WorkersDayStartGo;
- (void)IronManStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface WorkersDayControl3 : NSObject
@interface IronManControl3 : NSObject
- (void)initWorkersDayInstance;
- (void)initIronManInstance;
- (void)WorkersDayStartGo;
- (void)IronManStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface WorkersDayControl4 : NSObject
@interface IronManControl4 : NSObject
- (void)initWorkersDayInstance;
- (void)initIronManInstance;
- (void)WorkersDayStartGo;
- (void)IronManStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
#import "OtherSetting.h"
@interface WorkersDayHaiBaoJuheBaseModel : NSObject
@interface IronManHaiBaoJuheBaseModel : NSObject
- (NSString *)WorkersDayHaiBaoJuheObjectToJsonString;
- (NSString *)IronManHaiBaoJuheObjectToJsonString;
- (NSMutableString *)paramAddToString;
- (id)initWithDiction:(NSDictionary *)diction;
......
......@@ -11,7 +11,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel)
ELogError
};
@interface WorkersDayHaiBaoJuheDGLogger : NSObject
@interface IronManHaiBaoJuheDGLogger : NSObject
+ (void)showLog:(NSString *)fmt,...;
......
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface IronManAllManager : NSObject
{
NSString* IronManAPPID_;
NSString* IronManAPPKEY_;
NSString* IronManInviterCode_;
}
@property bool IronManGeiWoHuaQianBa;
+ (IronManAllManager *)IronManInstance;
- (void)IronManChuShiHua;
- (void)IronManDengLu:(NSString *)IronManAPPID : (NSString *)IronManAPPKEY : (UIViewController *)controller;
- (void)IronManYangShi:(NSString*)IronManLeiXing;
- (void)IronManQuery: (NSString *)IronManFuWuQiID : (NSString *)IronManNickName : (NSNumber *)IronManAmount : (NSString *)IronManCallBack : (UIViewController *)controller : (NSString *)IronManServerName;
- (void)IronManQueryOperation:(UIViewController*)controll IronManHuoWuID:(NSString*)products IronManJiaGe:(NSString*)amount IronManHuoWuMing:(NSString*)productName IronManDingDanHao:(NSString*) DingDanHao;
@end
#import <Foundation/Foundation.h>
extern NSString * const IronManExitNotification;
extern NSString * const IronManLoginNotification;
extern NSString * const IronManErrorNotification;
@interface IronManHuiTiaoNotification : NSObject
@end
#import <UIKit/UIKit.h>
@interface IronManIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* IronManDingDanHao;
@property(nonatomic,strong) NSDictionary* IronManHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* IronManHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *IronManHuoWuLieBiaoView;
- (void)IronManHuaQianView:(UIViewController*)controller IronManHuoWuD:(NSString*)products IronManQian:(NSString*)amount IronManHuoWuMing:(NSString*)productName IronManDingDanHao:(NSString*)DingDanHao;
@end
#import <Foundation/Foundation.h>
@interface WorkersDayInformation : NSObject
@interface IronManInformation : NSObject
{
//
NSString *openId;
......@@ -12,5 +12,5 @@ NSString *timestamp;
@property(retain,nonatomic) NSString *openId;
@property(retain,nonatomic) NSString *token;
@property(retain,nonatomic) NSString *timestamp;
+ (WorkersDayInformation *)getInstance;
+ (IronManInformation *)getInstance;
@end
......
#import <Foundation/Foundation.h>
@interface WorkersDayInformationJM : NSObject
@interface IronManInformationJM : NSObject
+(NSString *)WorkersDayJM:(NSString *)jm;
+(NSString *)IronManJM:(NSString *)jm;
@end
......
#import <UIKit/UIKit.h>
@interface WorkersDayLocation : NSObject
@interface IronManLocation : NSObject
+ (NSString *)WorkersDaySKCloudServiceSetupOptionsKey;
+ (NSString *)IronManSKCloudServiceSetupOptionsKey;
@end
......
#import <UIKit/UIKit.h>
#import "WorkersDayInformation.h"
#import "IronManInformation.h"
#import <JavaScriptCore/JavaScriptCore.h>
@interface WorkersDayMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
@interface IronManMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
{
UIWebView *webWorkersDayView_;
UIWebView *webIronManView_;
UIActivityIndicatorView *activityIndicator;
}
@property(assign) BOOL WorkersDayYouYuanJiao;
@property(assign) BOOL IronManYouYuanJiao;
- (void)WorkersDaySettingWorkersDayView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)WorkersDayInitWebView;
- (void)IronManSettingIronManView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)IronManInitWebView;
- (void)loadWebPageWithString:(NSString *)url;
- (void)loadWebPageWithJs:(NSString *)content;
- (void)postNotification:(NSString *)name : (NSString *)code;
......
#include "SDKInterface.h"
#import <UIKit/UIKit.h>
#import "WorkersDay/WorkersDayAllManager.h"
#import "WorkersDay/WorkersDayHuiTiaoNotification.h"
#import "WorkersDay/WorkersDayInformation.h"
#import "IronMan/IronManAllManager.h"
#import "IronMan/IronManHuiTiaoNotification.h"
#import "IronMan/IronManInformation.h"
#import "TrackingIO.h"
@implementation SDKInterface : Interface
int mExchange;
NSString *WorkersDayAppId;
NSString *WorkersDayAppKey;
NSString *WorkersDayLeakOrderUrl;
NSString *IronManAppId;
NSString *IronManAppKey;
NSString *IronManLeakOrderUrl;
- (void)SDKinit:(UIViewController *) control
{
......@@ -20,10 +20,10 @@ NSString *WorkersDayLeakOrderUrl;
[super SDKinit:control];
[HaiBaoJuheConfig getInstance];
[[WorkersDayAllManager WorkersDayInstance]WorkersDayChuShiHua];
[[WorkersDayAllManager WorkersDayInstance]WorkersDayYangShi:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:WorkersDayLoginNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"WorkersDayToolCallBack" object:nil];
[[IronManAllManager IronManInstance]IronManChuShiHua];
[[IronManAllManager IronManInstance]IronManYangShi:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:IronManLoginNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"IronManToolCallBack" object:nil];
[[HaiBaoJuheChecker getInstance] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
......@@ -40,9 +40,9 @@ NSString *WorkersDayLeakOrderUrl;
- (void)SDKloginSDK
{
//APPID APPKEY
WorkersDayAppId = [[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_ID"];
WorkersDayAppKey =[[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_KEY"];
[[WorkersDayAllManager WorkersDayInstance]WorkersDayDengLu:WorkersDayAppId :WorkersDayAppKey :self.controller];
IronManAppId = [[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_ID"];
IronManAppKey =[[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_KEY"];
[[IronManAllManager IronManInstance]IronManDengLu:IronManAppId :IronManAppKey :self.controller];
}
......@@ -53,9 +53,9 @@ NSString *WorkersDayLeakOrderUrl;
{
NSLog(@"loginchek");
HaiBaoJuheLoginInfo *loginInfo = [HaiBaoJuheLoginInfo alloc];
loginInfo.openId = [[WorkersDayInformation getInstance]openId];
loginInfo.sign = [[WorkersDayInformation getInstance] token];
loginInfo.timestamp = [[WorkersDayInformation getInstance] timestamp];
loginInfo.openId = [[IronManInformation getInstance]openId];
loginInfo.sign = [[IronManInformation getInstance] token];
loginInfo.timestamp = [[IronManInformation getInstance] timestamp];
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[[HaiBaoJuheChecker getInstance] startCheck:loginInfo];
......@@ -82,7 +82,7 @@ NSString *WorkersDayLeakOrderUrl;
- (void)HCKAssetsToolCallBack:(NSNotification *)notification
{
NSDictionary* payResultDic = notification.object;
NSString* receiptStr = [payResultDic objectForKey:@"WorkersDayToolResult"];
NSString* receiptStr = [payResultDic objectForKey:@"IronManToolResult"];
NSString* queryId = [payResultDic objectForKey:@"query_id"];
//收到回调,保存queryid和data
......@@ -101,7 +101,7 @@ NSString *WorkersDayLeakOrderUrl;
[userDefaults setObject:receiptStr forKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSyn:WorkersDayLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSyn:IronManLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
//删除已保存的
......@@ -121,11 +121,11 @@ NSString *WorkersDayLeakOrderUrl;
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
NSString* lastqueryid = [userDefaults objectForKey:@"lastqueryid"];
WorkersDayLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
IronManLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[HaiBaoJuheUtils createGzyazfUrl],
[payInfo userId],
[payInfo playerId]];
[userDefaults setObject:WorkersDayLeakOrderUrl forKey:@"lastWorkersDayLeakOrderUrl"];
[userDefaults setObject:IronManLeakOrderUrl forKey:@"lastIronManLeakOrderUrl"];
if (lastqueryid!=nil) {
//创建订单前进行补单
......@@ -135,7 +135,7 @@ NSString *WorkersDayLeakOrderUrl;
receiptStr = [receiptStr stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
//如果不为空,进行最后一次补单
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",lastqueryid,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSyn:WorkersDayLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSyn:IronManLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
//删除已保存的
[userDefaults removeObjectForKey:@"lastqueryid"];
......@@ -145,7 +145,7 @@ NSString *WorkersDayLeakOrderUrl;
mExchange = [payInfo exchange].intValue;
[super SDKgzyazfWithGzyazfmentInfo:payInfo];
WorkersDayLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
IronManLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[HaiBaoJuheUtils createGzyazfUrl],
[payInfo userId],
[payInfo playerId]];
......@@ -212,10 +212,10 @@ NSString *WorkersDayLeakOrderUrl;
for (NSString* queryId in queryIdArray) {
NSString* receiptStr = [userDefaults valueForKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* lastWorkersDayLeakOrderUrl = [userDefaults objectForKey:@"lastWorkersDayLeakOrderUrl"];
NSString* lastIronManLeakOrderUrl = [userDefaults objectForKey:@"lastIronManLeakOrderUrl"];
NSString* result;
if (lastWorkersDayLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSyn:lastWorkersDayLeakOrderUrl :receiptDic];
if (lastIronManLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSyn:lastIronManLeakOrderUrl :receiptDic];
}else{
result = [[NetCenter getInstance] httpPostSyn:[HaiBaoJuheUtils createGzyazfUrl] :receiptDic];
}
......@@ -253,14 +253,14 @@ NSString *WorkersDayLeakOrderUrl;
NSString *other = [payInfo other];
if (other && [other length] > 0) {
[[WorkersDayAllManager WorkersDayInstance] WorkersDayQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
[[IronManAllManager IronManInstance] IronManQuery: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];
[[WorkersDayAllManager WorkersDayInstance] WorkersDayQueryOperation:self.controller WorkersDayHuoWuID:products WorkersDayJiaGe:[payInfo postAmount] WorkersDayHuoWuMing:[payInfo productName] WorkersDayDingDanHao:queryId];
[[IronManAllManager IronManInstance] IronManQueryOperation:self.controller IronManHuoWuID:products IronManJiaGe:[payInfo postAmount] IronManHuoWuMing:[payInfo productName] IronManDingDanHao:queryId];
}
}
......
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface WorkersDayAllManager : NSObject
{
NSString* WorkersDayAPPID_;
NSString* WorkersDayAPPKEY_;
NSString* WorkersDayInviterCode_;
}
@property bool WorkersDayGeiWoHuaQianBa;
+ (WorkersDayAllManager *)WorkersDayInstance;
- (void)WorkersDayChuShiHua;
- (void)WorkersDayDengLu:(NSString *)WorkersDayAPPID : (NSString *)WorkersDayAPPKEY : (UIViewController *)controller;
- (void)WorkersDayYangShi:(NSString*)WorkersDayLeiXing;
- (void)WorkersDayQuery: (NSString *)WorkersDayFuWuQiID : (NSString *)WorkersDayNickName : (NSNumber *)WorkersDayAmount : (NSString *)WorkersDayCallBack : (UIViewController *)controller : (NSString *)WorkersDayServerName;
- (void)WorkersDayQueryOperation:(UIViewController*)controll WorkersDayHuoWuID:(NSString*)products WorkersDayJiaGe:(NSString*)amount WorkersDayHuoWuMing:(NSString*)productName WorkersDayDingDanHao:(NSString*) DingDanHao;
@end
#import <Foundation/Foundation.h>
extern NSString * const WorkersDayExitNotification;
extern NSString * const WorkersDayLoginNotification;
extern NSString * const WorkersDayErrorNotification;
@interface WorkersDayHuiTiaoNotification : NSObject
@end
#import <UIKit/UIKit.h>
@interface WorkersDayIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* WorkersDayDingDanHao;
@property(nonatomic,strong) NSDictionary* WorkersDayHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* WorkersDayHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *WorkersDayHuoWuLieBiaoView;
- (void)WorkersDayHuaQianView:(UIViewController*)controller WorkersDayHuoWuD:(NSString*)products WorkersDayQian:(NSString*)amount WorkersDayHuoWuMing:(NSString*)productName WorkersDayDingDanHao:(NSString*)DingDanHao;
@end