xuguohong

update

Showing 63 changed files with 332 additions and 308 deletions
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>Demo.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
</dict>
</plist>
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface AthlonLengthsAllManagerTenor : NSObject
{
NSString* LengthsAPPID_;
NSString* LengthsAPPKEY_;
NSString* LengthsInviterCode_;
}
@property(strong) NSMutableArray* LengthsList;
@property bool LengthsGeiWoHuaQianBa;
+ (AthlonLengthsAllManagerTenor *)SamplesLengthsInstanceStepped;
- (void)TunedLengthsChuShiHuaHebrews;
- (void)WantingLengthsDengLuWhisper:(NSString *)LengthsAPPID : (NSString *)LengthsAPPKEY : (UIViewController *)controller;
- (void)PossessLengthsYangShiPeugeot:(NSString*)LengthsLeiXing;
- (void)PossessLengthsUrlPeugeot:(NSString*)LengthsUrl;
- (void)LengthsQuery: (NSString *)LengthsFuWuQiID : (NSString *)LengthsNickName : (NSNumber *)LengthsAmount : (NSString *)LengthsCallBack : (UIViewController *)controller : (NSString *)LengthsServerName;
- (void)LengthsQueryOperation:(UIViewController*)controll LengthsHuoWuID:(NSString*)products LengthsJiaGe:(NSString*)amount LengthsHuoWuMing:(NSString*)productName LengthsDingDanHao:(NSString*) DingDanHao;
@end
......@@ -11,7 +11,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel)
ELogError
};
@interface CasperHatredHaiBaoJuheDGLoggerPanties : NSObject
@interface AthlonLengthsHaiBaoJuheDGLoggerTenor : NSObject
+ (void)showLog:(NSString *)fmt,...;
......
......@@ -2,7 +2,7 @@
NS_ASSUME_NONNULL_BEGIN
@interface TenantHatredEncryptToolPivot : NSObject
@interface BelgianLengthsEncryptToolSmoke : NSObject
+ (NSString *)base64EncodedStringWithWrapWidth:(NSUInteger)wrapWidth withData:(NSData *)argData;
......
#import <Foundation/Foundation.h>
#import "OtherSetting.h"
@interface TenantHatredHaiBaoJuheBaseModelPivot : NSObject
@interface BelgianLengthsHaiBaoJuheBaseModelSmoke : NSObject
- (NSString *) HatredHaiBaoJuheObjectToJsonString;
- (NSString *) LengthsHaiBaoJuheObjectToJsonString;
- (NSMutableString *)paramAddToString;
- (id)initWithDiction:(NSDictionary *)diction;
......
#import <Foundation/Foundation.h>
extern NSString * const CasperHatredExitNotificationPanties;
extern NSString * const YieldHatredLoginNotificationClouds;
extern NSString * const TenantHatredErrorNotificationPivot;
@interface BluffHatredHuiTiaoNotificationHerbal : NSObject
@end
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface CasperHatredAllManagerPanties : NSObject
{
NSString* HatredAPPID_;
NSString* HatredAPPKEY_;
NSString* HatredInviterCode_;
}
@property(strong) NSMutableArray* HatredList;
@property bool HatredGeiWoHuaQianBa;
+ (CasperHatredAllManagerPanties *)WebcastHatredInstanceCollars;
- (void)LocusHatredChuShiHuaPhotos;
- (void)CoolpixHatredDengLuCharged:(NSString *)HatredAPPID : (NSString *)HatredAPPKEY : (UIViewController *)controller;
- (void)MakingHatredYangShiJukebox:(NSString*)HatredLeiXing;
- (void)MakingHatredUrlJukebox:(NSString*)HatredUrl;
- (void)HatredQuery: (NSString *)HatredFuWuQiID : (NSString *)HatredNickName : (NSNumber *)HatredAmount : (NSString *)HatredCallBack : (UIViewController *)controller : (NSString *)HatredServerName;
- (void)HatredQueryOperation:(UIViewController*)controll HatredHuoWuID:(NSString*)products HatredJiaGe:(NSString*)amount HatredHuoWuMing:(NSString*)productName HatredDingDanHao:(NSString*) DingDanHao;
@end
#import <Foundation/Foundation.h>
@interface BluffHatredControlHerbal : NSObject
@interface CeleronLengthsControlEarlier : NSObject
- (void)initHatredInstance;
- (void)initLengthsInstance;
- (void) HatredStartGo;
- (void) LengthsStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface YieldHaiBaoJuheConfigClouds : NSObject
@interface EmptyHaiBaoJuheConfigLipitor : NSObject
@property(nonatomic, strong)NSString *gameSimpleName;
@property(nonatomic, strong)NSString *sdkSimpleName;
......@@ -12,11 +12,11 @@
@property(nonatomic, strong)NSString *c2;
@property(nonatomic, strong)NSString *custom;
+ (YieldHaiBaoJuheConfigClouds *)TenantgetInstancePivot;
+ (EmptyHaiBaoJuheConfigLipitor *)BelgiangetInstanceSmoke;
- (void) loadFile:(NSString *) fileName;
- (NSString *)CaspergetValueByKeyPanties:(NSString *) key;
- (NSString *)AthlongetValueByKeyTenor:(NSString *) key;
- (void) updateC1C2Value:(NSString *)c1 c2:(NSString *)c2;
......
#import "TenantHatredHaiBaoJuheBaseModelPivot.h"
@interface YieldHaiBaoJuheGzyazfInfoClouds : TenantHatredHaiBaoJuheBaseModelPivot
#import "BelgianLengthsHaiBaoJuheBaseModelSmoke.h"
@interface EmptyHaiBaoJuheGzyazfInfoLipitor : BelgianLengthsHaiBaoJuheBaseModelSmoke
@property(nonatomic, strong)NSString *serverId;
@property(nonatomic, strong)NSString *queryId;
......
//
// YieldHaiBaoJuheNotificationClouds.h
// EmptyHaiBaoJuheNotificationLipitor.h
// public_i9133
//
// Created by winFan on 12/1/15.
......@@ -28,7 +28,7 @@ typedef NS_ENUM(int, HaiBaoJuheSDKNotificationType) {
@interface YieldHaiBaoJuheNotificationClouds : NSObject
@interface EmptyHaiBaoJuheNotificationLipitor : NSObject
@end
......
#import <Foundation/Foundation.h>
@interface CoolpixHatredControlCharged : NSObject
@interface EmptyLengthsControlLipitor : NSObject
- (void)initHatredInstance;
- (void)initLengthsInstance;
- (void) HatredStartGo;
- (void) LengthsStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface FalconHaiBaoJuheUtilsTelstra : NSObject
@interface ForrestHaiBaoJuheUtilsOxygen : NSObject
+(NSString *)md5:(NSString *)str;
+ (NSDictionary *) HatredHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+ (NSDictionary *) LengthsHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+(NSString *)createGzyazfOrderUrl;
//*充值回调地址
+(NSString *)YieldcreateGzyazfUrlClouds;
+(NSString *)EmptycreateGzyazfUrlLipitor;
+(UIActivityIndicatorView *)showLoadingDialog:(UIView*)parentView;
+(void)dismissLoadingDialog:(UIActivityIndicatorView*)indicatorView;
......
#import <UIKit/UIKit.h>
#import "LocusHatredInformationPhotos.h"
#import "TunedLengthsInformationHebrews.h"
#import <JavaScriptCore/JavaScriptCore.h>
#import <WebKit/WebKit.h>
@interface FalconHatredMainTelstra : UIViewController<WKNavigationDelegate,WKScriptMessageHandler>
@interface ForrestLengthsMainOxygen : UIViewController<WKNavigationDelegate,WKScriptMessageHandler>
{
WKWebView *webHatredView_;
WKWebView *webLengthsView_;
UIActivityIndicatorView *activityIndicator;
}
@property(assign) BOOL HatredYouYuanJiao;
@property(assign) BOOL LengthsYouYuanJiao;
- (void)HatredSettingHatredView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)HatredInitWebView;
- (void)LengthsSettingLengthsView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)LengthsInitWebView;
- (void)loadWebPageWithString:(NSString *)url;
- (void)loadWebPageWithJs:(NSString *)content;
- (void)postNotification:(NSString *)name : (NSString *)code;
......
#import "TenantHatredHaiBaoJuheBaseModelPivot.h"
@interface HaiBaoJuheCreateOrderInfo : TenantHatredHaiBaoJuheBaseModelPivot
#import "BelgianLengthsHaiBaoJuheBaseModelSmoke.h"
@interface HaiBaoJuheCreateOrderInfo : BelgianLengthsHaiBaoJuheBaseModelSmoke
@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 *) HatredHaiBaoJuheGetTsign ;
- (NSString *) HatredHaiBaoJuheGetTimestamp ;
- (NSString *) LengthsHaiBaoJuheGetTsign ;
- (NSString *) LengthsHaiBaoJuheGetTimestamp ;
@end
......
#import "TenantHatredHaiBaoJuheBaseModelPivot.h"
@interface HaiBaoJuheLoginInfo : TenantHatredHaiBaoJuheBaseModelPivot
#import "BelgianLengthsHaiBaoJuheBaseModelSmoke.h"
@interface HaiBaoJuheLoginInfo : BelgianLengthsHaiBaoJuheBaseModelSmoke
@property(nonatomic,strong)NSString *timestamp;
@property(nonatomic, strong)NSString *sign;
......
//
// HatredHaiBaoJuheReportInfo.h
// LengthsHaiBaoJuheReportInfo.h
// HaiBaoJuheSDK
//
// Created by winFan on 12/21/15.
// Copyright (c) 2015 winFan. All rights reserved.
//
#import "TenantHatredHaiBaoJuheBaseModelPivot.h"
@interface HaiBaoJuheReportInfo : TenantHatredHaiBaoJuheBaseModelPivot
#import "BelgianLengthsHaiBaoJuheBaseModelSmoke.h"
@interface HaiBaoJuheReportInfo : BelgianLengthsHaiBaoJuheBaseModelSmoke
@property(nonatomic, strong)NSString *reportType;//类型
@property(nonatomic, strong)NSString *playerId;//玩家ID
......
......@@ -10,7 +10,7 @@
@property(nonatomic, strong)NSString *urlSchemes;
@property(strong) NSMutableArray* HatredList;
@property(strong) NSMutableArray* LengthsList;
@property BOOL isAppleGzyazfing;
......
#import <UIKit/UIKit.h>
#import "WestinHaiBaoJuheCheckerDietary.h"
#import "SuperbHaiBaoJuheCheckerValet.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheLoginInfo.h"
#import "Interface.h"
#import "YieldHaiBaoJuheNotificationClouds.h"
#import "YieldHaiBaoJuheGzyazfInfoClouds.h"
#import "EmptyHaiBaoJuheNotificationLipitor.h"
#import "EmptyHaiBaoJuheGzyazfInfoLipitor.h"
#import "UnionInterface.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "YieldHaiBaoJuheConfigClouds.h"
#import "FalconHaiBaoJuheUtilsTelstra.h"
#import "EmptyHaiBaoJuheConfigLipitor.h"
#import "ForrestHaiBaoJuheUtilsOxygen.h"
#import "NetCenter.h"
#import "HaiBaoJuheSDK.h"
#import "HaiBaoJuheSDKDelegate.h"
......
#import <Foundation/Foundation.h>
@interface CroydonHatredControlKnock : NSObject
@interface HelperLengthsControlExpress : NSObject
- (void)initHatredInstance;
- (void)initLengthsInstance;
- (void) HatredStartGo;
- (void) LengthsStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
extern NSString * const AthlonLengthsExitNotificationTenor;
extern NSString * const EmptyLengthsLoginNotificationLipitor;
extern NSString * const BelgianLengthsErrorNotificationSmoke;
@interface HelperLengthsHuiTiaoNotificationExpress : NSObject
@end
#import <Foundation/Foundation.h>
@interface MakingHatredControlJukebox : NSObject
@interface PossessLengthsControlPeugeot : NSObject
- (void)initHatredInstance;
- (void)initLengthsInstance;
- (void) HatredStartGo;
- (void) LengthsStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface MakingHatredInformationJMJukebox : NSObject
@interface PossessLengthsInformationJMPeugeot : NSObject
+(NSString *)HatredJM:(NSString *)jm;
+(NSString *)LengthsJM:(NSString *)jm;
@end
......
#import <UIKit/UIKit.h>
@interface SamplesLengthsIAPHelperControlStepped : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* LengthsDingDanHao;
@property(nonatomic,strong) NSDictionary* LengthsHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* LengthsHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *LengthsHuoWuLieBiaoView;
- (void)LengthsHuaQianView:(UIViewController*)controller LengthsHuoWuD:(NSString*)products LengthsQian:(NSString*)amount LengthsHuoWuMing:(NSString*)productName LengthsDingDanHao:(NSString*)DingDanHao;
@end
#import <Foundation/Foundation.h>
#import "HaiBaoJuheLoginInfo.h"
#import "YieldHaiBaoJuheNotificationClouds.h"
#import "EmptyHaiBaoJuheNotificationLipitor.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "YieldHaiBaoJuheGzyazfInfoClouds.h"
#import "EmptyHaiBaoJuheGzyazfInfoLipitor.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheSDKDelegate.h"
@interface WestinHaiBaoJuheCheckerDietary : NSObject<HaiBaoJuheSDKDelegate>
@interface SuperbHaiBaoJuheCheckerValet : NSObject<HaiBaoJuheSDKDelegate>
@property(nonatomic, strong)NSString *userId;
@property(nonatomic, strong)id<HaiBaoJuheSDKDelegate> mHaiBaoJuheSDKDelegate;
@property bool onlyOneTimeGzyazf;
+ (WestinHaiBaoJuheCheckerDietary *)CroydongetInstanceKnock;
+ (SuperbHaiBaoJuheCheckerValet *)CelerongetInstanceEarlier;
- (void)initChecker;
- (void)startCheck:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) createOrder:(HaiBaoJuheCreateOrderInfo *)gzyazfInfo;
- (void) HatredHaiBaoJuhereportOpen;
- (void) HatredHaiBaoJuhereportSDKOpen;
- (void) HatredHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) LengthsHaiBaoJuhereportOpen;
- (void) LengthsHaiBaoJuhereportSDKOpen;
- (void) LengthsHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo;
- (void) HatredHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void) LengthsHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void)sendNotice:(HaiBaoJuheSDKNotificationType)notiType
notiName:(NSString *)notiName
statusCode:(int)nCode
......@@ -28,7 +28,7 @@
- (void)startCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) HatredHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
- (void) LengthsHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
/*
*初始化时调用
......
#import <UIKit/UIKit.h>
@interface WestinHatredLocationDietary : NSObject
@interface SuperbLengthsLocationValet : NSObject
+ (NSString *)HatredSKCloudServiceSetupOptionsKey;
+ (NSString *)LengthsSKCloudServiceSetupOptionsKey;
@end
......
#import <Foundation/Foundation.h>
@interface LocusHatredInformationPhotos : NSObject
@interface TunedLengthsInformationHebrews : NSObject
{
//
NSString *openId;
......@@ -12,5 +12,5 @@ NSString *timestamp;
@property(retain,nonatomic) NSString *openId;
@property(retain,nonatomic) NSString *token;
@property(retain,nonatomic) NSString *timestamp;
+ (LocusHatredInformationPhotos *)getInstance;
+ (TunedLengthsInformationHebrews *)getInstance;
@end
......
#import <Foundation/Foundation.h>
@interface YieldHatredControlClouds : NSObject
@interface WantingLengthsControlWhisper : NSObject
- (void)initHatredInstance;
- (void)initLengthsInstance;
- (void) HatredStartGo;
- (void) LengthsStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <UIKit/UIKit.h>
@interface WebcastHatredIAPHelperControlCollars : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* HatredDingDanHao;
@property(nonatomic,strong) NSDictionary* HatredHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* HatredHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *HatredHuoWuLieBiaoView;
- (void)HatredHuaQianView:(UIViewController*)controller HatredHuoWuD:(NSString*)products HatredQian:(NSString*)amount HatredHuoWuMing:(NSString*)productName HatredDingDanHao:(NSString*)DingDanHao;
@end
#include "SDKInterface.h"
#import <UIKit/UIKit.h>
#import "HaiBaoJuheSDK/CasperHatredAllManagerPanties.h"
#import "HaiBaoJuheSDK/BluffHatredHuiTiaoNotificationHerbal.h"
#import "HaiBaoJuheSDK/LocusHatredInformationPhotos.h"
#import "HaiBaoJuheSDK/AthlonLengthsAllManagerTenor.h"
#import "HaiBaoJuheSDK/HelperLengthsHuiTiaoNotificationExpress.h"
#import "HaiBaoJuheSDK/TunedLengthsInformationHebrews.h"
@implementation SDKInterface : Interface
int mExchange;
NSString *HatredAppId;
NSString *HatredAppKey;
NSString *HatredLeakOrderUrl;
NSString *LengthsAppId;
NSString *LengthsAppKey;
NSString *LengthsLeakOrderUrl;
- (void)SDKinit:(UIViewController *) control
{
[super SDKinit:control];
[YieldHaiBaoJuheConfigClouds TenantgetInstancePivot];
[[CasperHatredAllManagerPanties WebcastHatredInstanceCollars]LocusHatredChuShiHuaPhotos];
[[CasperHatredAllManagerPanties WebcastHatredInstanceCollars]MakingHatredYangShiJukebox:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:YieldHatredLoginNotificationClouds object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"HatredToolCallBack" object:nil];
[EmptyHaiBaoJuheConfigLipitor BelgiangetInstanceSmoke];
[[AthlonLengthsAllManagerTenor SamplesLengthsInstanceStepped]TunedLengthsChuShiHuaHebrews];
[[AthlonLengthsAllManagerTenor SamplesLengthsInstanceStepped]PossessLengthsYangShiPeugeot:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:EmptyLengthsLoginNotificationLipitor object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"LengthsToolCallBack" object:nil];
[[WestinHaiBaoJuheCheckerDietary CroydongetInstanceKnock] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
[[SuperbHaiBaoJuheCheckerValet CelerongetInstanceEarlier] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
NSString* channelId = [[YieldHaiBaoJuheConfigClouds TenantgetInstancePivot] CaspergetValueByKeyPanties:@"gamechannelid"];
NSString* channelId = [[EmptyHaiBaoJuheConfigLipitor BelgiangetInstanceSmoke] AthlongetValueByKeyTenor:@"gamechannelid"];
if(channelId == nil || [channelId length] <= 0){
channelId = @"unknown";
}
......@@ -37,9 +37,9 @@ NSString *HatredLeakOrderUrl;
- (void)SDKloginSDK
{
//APPID APPKEY
HatredAppId = [[YieldHaiBaoJuheConfigClouds TenantgetInstancePivot] CaspergetValueByKeyPanties:@"APP_ID"];
HatredAppKey =[[YieldHaiBaoJuheConfigClouds TenantgetInstancePivot] CaspergetValueByKeyPanties:@"APP_KEY"];
[[CasperHatredAllManagerPanties WebcastHatredInstanceCollars]CoolpixHatredDengLuCharged:HatredAppId :HatredAppKey :self.controller];
LengthsAppId = [[EmptyHaiBaoJuheConfigLipitor BelgiangetInstanceSmoke] AthlongetValueByKeyTenor:@"APP_ID"];
LengthsAppKey =[[EmptyHaiBaoJuheConfigLipitor BelgiangetInstanceSmoke] AthlongetValueByKeyTenor:@"APP_KEY"];
[[AthlonLengthsAllManagerTenor SamplesLengthsInstanceStepped]WantingLengthsDengLuWhisper:LengthsAppId :LengthsAppKey :self.controller];
}
......@@ -50,12 +50,12 @@ NSString *HatredLeakOrderUrl;
{
NSLog(@"loginchek");
HaiBaoJuheLoginInfo *loginInfo = [HaiBaoJuheLoginInfo alloc];
loginInfo.openId = [[LocusHatredInformationPhotos getInstance]openId];
loginInfo.sign = [[LocusHatredInformationPhotos getInstance] token];
loginInfo.timestamp = [[LocusHatredInformationPhotos getInstance] timestamp];
loginInfo.openId = [[TunedLengthsInformationHebrews getInstance]openId];
loginInfo.sign = [[TunedLengthsInformationHebrews getInstance] token];
loginInfo.timestamp = [[TunedLengthsInformationHebrews getInstance] timestamp];
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[[WestinHaiBaoJuheCheckerDietary CroydongetInstanceKnock] startCheck:loginInfo];
[[SuperbHaiBaoJuheCheckerValet CelerongetInstanceEarlier] startCheck:loginInfo];
});
}
......@@ -79,7 +79,7 @@ NSString *HatredLeakOrderUrl;
- (void)HCKAssetsToolCallBack:(NSNotification *)notification
{
NSDictionary* payResultDic = notification.object;
NSString* receiptStr = [payResultDic objectForKey:@"HatredToolResult"];
NSString* receiptStr = [payResultDic objectForKey:@"LengthsToolResult"];
NSString* queryId = [payResultDic objectForKey:@"query_id"];
//收到回调,保存queryid和data
......@@ -98,10 +98,10 @@ NSString *HatredLeakOrderUrl;
[userDefaults setObject:receiptStr forKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:HatredLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:LengthsLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
[[WestinHaiBaoJuheCheckerDietary CroydongetInstanceKnock] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
[[SuperbHaiBaoJuheCheckerValet CelerongetInstanceEarlier] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
//删除已保存的
[userDefaults removeObjectForKey:queryId];
[tempQueryIdArray removeObject:queryId];
......@@ -119,11 +119,11 @@ NSString *HatredLeakOrderUrl;
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
NSString* lastqueryid = [userDefaults objectForKey:@"lastqueryid"];
HatredLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[FalconHaiBaoJuheUtilsTelstra YieldcreateGzyazfUrlClouds],
LengthsLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[ForrestHaiBaoJuheUtilsOxygen EmptycreateGzyazfUrlLipitor],
[payInfo userId],
[payInfo playerId]];
[userDefaults setObject:HatredLeakOrderUrl forKey:@"lastHatredLeakOrderUrl"];
[userDefaults setObject:LengthsLeakOrderUrl forKey:@"lastLengthsLeakOrderUrl"];
if (lastqueryid!=nil) {
//创建订单前进行补单
......@@ -133,7 +133,7 @@ NSString *HatredLeakOrderUrl;
receiptStr = [receiptStr stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
//如果不为空,进行最后一次补单
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",lastqueryid,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:HatredLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:LengthsLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
//删除已保存的
[userDefaults removeObjectForKey:@"lastqueryid"];
......@@ -143,8 +143,8 @@ NSString *HatredLeakOrderUrl;
mExchange = [payInfo exchange].intValue;
[super SDKgzyazfWithGzyazfmentInfo:payInfo];
HatredLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[FalconHaiBaoJuheUtilsTelstra YieldcreateGzyazfUrlClouds],
LengthsLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[ForrestHaiBaoJuheUtilsOxygen EmptycreateGzyazfUrlLipitor],
[payInfo userId],
[payInfo playerId]];
[userDefaults synchronize];
......@@ -209,12 +209,12 @@ NSString *HatredLeakOrderUrl;
for (NSString* queryId in queryIdArray) {
NSString* receiptStr = [userDefaults valueForKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* lastHatredLeakOrderUrl = [userDefaults objectForKey:@"lastHatredLeakOrderUrl"];
NSString* lastLengthsLeakOrderUrl = [userDefaults objectForKey:@"lastLengthsLeakOrderUrl"];
NSString* result;
if (lastHatredLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSynFillOD:lastHatredLeakOrderUrl :receiptDic];
if (lastLengthsLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSynFillOD:lastLengthsLeakOrderUrl :receiptDic];
}else{
result = [[NetCenter getInstance] httpPostSynFillOD:[FalconHaiBaoJuheUtilsTelstra YieldcreateGzyazfUrlClouds] :receiptDic];
result = [[NetCenter getInstance] httpPostSynFillOD:[ForrestHaiBaoJuheUtilsOxygen EmptycreateGzyazfUrlLipitor] :receiptDic];
}
if([@"success" isEqualToString:result]){//成功
[userDefaults removeObjectForKey:queryId];
......@@ -236,7 +236,7 @@ NSString *HatredLeakOrderUrl;
- (void)receiveCreateOrder:(NSNotification *)notification
{
NSLog(@"创建订单成功");
YieldHaiBaoJuheGzyazfInfoClouds *payInfo = [notification object];
EmptyHaiBaoJuheGzyazfInfoLipitor *payInfo = [notification object];
NSNumber *amount = @([[payInfo postAmount] integerValue] * mExchange);
NSString *serverId = [payInfo serverId];
......@@ -247,13 +247,18 @@ NSString *HatredLeakOrderUrl;
[self handlerLeakOrder];
});
NSString *other = [payInfo other];
if (other && [other length] > 0) {
[[AthlonLengthsAllManagerTenor SamplesLengthsInstanceStepped] LengthsQuery: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];
[[CasperHatredAllManagerPanties WebcastHatredInstanceCollars] HatredQueryOperation:self.controller HatredHuoWuID:products HatredJiaGe:[payInfo postAmount] HatredHuoWuMing:[payInfo productName] HatredDingDanHao:queryId];
[[AthlonLengthsAllManagerTenor SamplesLengthsInstanceStepped] LengthsQueryOperation:self.controller LengthsHuoWuID:products LengthsJiaGe:[payInfo postAmount] LengthsHuoWuMing:[payInfo productName] LengthsDingDanHao:queryId];
}
}
@end
......
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface AthlonLengthsAllManagerTenor : NSObject
{
NSString* LengthsAPPID_;
NSString* LengthsAPPKEY_;
NSString* LengthsInviterCode_;
}
@property(strong) NSMutableArray* LengthsList;
@property bool LengthsGeiWoHuaQianBa;
+ (AthlonLengthsAllManagerTenor *)SamplesLengthsInstanceStepped;
- (void)TunedLengthsChuShiHuaHebrews;
- (void)WantingLengthsDengLuWhisper:(NSString *)LengthsAPPID : (NSString *)LengthsAPPKEY : (UIViewController *)controller;
- (void)PossessLengthsYangShiPeugeot:(NSString*)LengthsLeiXing;
- (void)PossessLengthsUrlPeugeot:(NSString*)LengthsUrl;
- (void)LengthsQuery: (NSString *)LengthsFuWuQiID : (NSString *)LengthsNickName : (NSNumber *)LengthsAmount : (NSString *)LengthsCallBack : (UIViewController *)controller : (NSString *)LengthsServerName;
- (void)LengthsQueryOperation:(UIViewController*)controll LengthsHuoWuID:(NSString*)products LengthsJiaGe:(NSString*)amount LengthsHuoWuMing:(NSString*)productName LengthsDingDanHao:(NSString*) DingDanHao;
@end
......@@ -11,7 +11,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel)
ELogError
};
@interface CasperHatredHaiBaoJuheDGLoggerPanties : NSObject
@interface AthlonLengthsHaiBaoJuheDGLoggerTenor : NSObject
+ (void)showLog:(NSString *)fmt,...;
......
......@@ -2,7 +2,7 @@
NS_ASSUME_NONNULL_BEGIN
@interface TenantHatredEncryptToolPivot : NSObject
@interface BelgianLengthsEncryptToolSmoke : NSObject
+ (NSString *)base64EncodedStringWithWrapWidth:(NSUInteger)wrapWidth withData:(NSData *)argData;
......
#import <Foundation/Foundation.h>
#import "OtherSetting.h"
@interface TenantHatredHaiBaoJuheBaseModelPivot : NSObject
@interface BelgianLengthsHaiBaoJuheBaseModelSmoke : NSObject
- (NSString *) HatredHaiBaoJuheObjectToJsonString;
- (NSString *) LengthsHaiBaoJuheObjectToJsonString;
- (NSMutableString *)paramAddToString;
- (id)initWithDiction:(NSDictionary *)diction;
......
#import <Foundation/Foundation.h>
extern NSString * const CasperHatredExitNotificationPanties;
extern NSString * const YieldHatredLoginNotificationClouds;
extern NSString * const TenantHatredErrorNotificationPivot;
@interface BluffHatredHuiTiaoNotificationHerbal : NSObject
@end
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface CasperHatredAllManagerPanties : NSObject
{
NSString* HatredAPPID_;
NSString* HatredAPPKEY_;
NSString* HatredInviterCode_;
}
@property(strong) NSMutableArray* HatredList;
@property bool HatredGeiWoHuaQianBa;
+ (CasperHatredAllManagerPanties *)WebcastHatredInstanceCollars;
- (void)LocusHatredChuShiHuaPhotos;
- (void)CoolpixHatredDengLuCharged:(NSString *)HatredAPPID : (NSString *)HatredAPPKEY : (UIViewController *)controller;
- (void)MakingHatredYangShiJukebox:(NSString*)HatredLeiXing;
- (void)MakingHatredUrlJukebox:(NSString*)HatredUrl;
- (void)HatredQuery: (NSString *)HatredFuWuQiID : (NSString *)HatredNickName : (NSNumber *)HatredAmount : (NSString *)HatredCallBack : (UIViewController *)controller : (NSString *)HatredServerName;
- (void)HatredQueryOperation:(UIViewController*)controll HatredHuoWuID:(NSString*)products HatredJiaGe:(NSString*)amount HatredHuoWuMing:(NSString*)productName HatredDingDanHao:(NSString*) DingDanHao;
@end
#import <Foundation/Foundation.h>
@interface BluffHatredControlHerbal : NSObject
@interface CeleronLengthsControlEarlier : NSObject
- (void)initHatredInstance;
- (void)initLengthsInstance;
- (void) HatredStartGo;
- (void) LengthsStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface YieldHaiBaoJuheConfigClouds : NSObject
@interface EmptyHaiBaoJuheConfigLipitor : NSObject
@property(nonatomic, strong)NSString *gameSimpleName;
@property(nonatomic, strong)NSString *sdkSimpleName;
......@@ -12,11 +12,11 @@
@property(nonatomic, strong)NSString *c2;
@property(nonatomic, strong)NSString *custom;
+ (YieldHaiBaoJuheConfigClouds *)TenantgetInstancePivot;
+ (EmptyHaiBaoJuheConfigLipitor *)BelgiangetInstanceSmoke;
- (void) loadFile:(NSString *) fileName;
- (NSString *)CaspergetValueByKeyPanties:(NSString *) key;
- (NSString *)AthlongetValueByKeyTenor:(NSString *) key;
- (void) updateC1C2Value:(NSString *)c1 c2:(NSString *)c2;
......
#import "TenantHatredHaiBaoJuheBaseModelPivot.h"
@interface YieldHaiBaoJuheGzyazfInfoClouds : TenantHatredHaiBaoJuheBaseModelPivot
#import "BelgianLengthsHaiBaoJuheBaseModelSmoke.h"
@interface EmptyHaiBaoJuheGzyazfInfoLipitor : BelgianLengthsHaiBaoJuheBaseModelSmoke
@property(nonatomic, strong)NSString *serverId;
@property(nonatomic, strong)NSString *queryId;
......
//
// YieldHaiBaoJuheNotificationClouds.h
// EmptyHaiBaoJuheNotificationLipitor.h
// public_i9133
//
// Created by winFan on 12/1/15.
......@@ -28,7 +28,7 @@ typedef NS_ENUM(int, HaiBaoJuheSDKNotificationType) {
@interface YieldHaiBaoJuheNotificationClouds : NSObject
@interface EmptyHaiBaoJuheNotificationLipitor : NSObject
@end
......
#import <Foundation/Foundation.h>
@interface CoolpixHatredControlCharged : NSObject
@interface EmptyLengthsControlLipitor : NSObject
- (void)initHatredInstance;
- (void)initLengthsInstance;
- (void) HatredStartGo;
- (void) LengthsStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface FalconHaiBaoJuheUtilsTelstra : NSObject
@interface ForrestHaiBaoJuheUtilsOxygen : NSObject
+(NSString *)md5:(NSString *)str;
+ (NSDictionary *) HatredHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+ (NSDictionary *) LengthsHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+(NSString *)createGzyazfOrderUrl;
//*充值回调地址
+(NSString *)YieldcreateGzyazfUrlClouds;
+(NSString *)EmptycreateGzyazfUrlLipitor;
+(UIActivityIndicatorView *)showLoadingDialog:(UIView*)parentView;
+(void)dismissLoadingDialog:(UIActivityIndicatorView*)indicatorView;
......
#import <UIKit/UIKit.h>
#import "LocusHatredInformationPhotos.h"
#import "TunedLengthsInformationHebrews.h"
#import <JavaScriptCore/JavaScriptCore.h>
#import <WebKit/WebKit.h>
@interface FalconHatredMainTelstra : UIViewController<WKNavigationDelegate,WKScriptMessageHandler>
@interface ForrestLengthsMainOxygen : UIViewController<WKNavigationDelegate,WKScriptMessageHandler>
{
WKWebView *webHatredView_;
WKWebView *webLengthsView_;
UIActivityIndicatorView *activityIndicator;
}
@property(assign) BOOL HatredYouYuanJiao;
@property(assign) BOOL LengthsYouYuanJiao;
- (void)HatredSettingHatredView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)HatredInitWebView;
- (void)LengthsSettingLengthsView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)LengthsInitWebView;
- (void)loadWebPageWithString:(NSString *)url;
- (void)loadWebPageWithJs:(NSString *)content;
- (void)postNotification:(NSString *)name : (NSString *)code;
......
#import "TenantHatredHaiBaoJuheBaseModelPivot.h"
@interface HaiBaoJuheCreateOrderInfo : TenantHatredHaiBaoJuheBaseModelPivot
#import "BelgianLengthsHaiBaoJuheBaseModelSmoke.h"
@interface HaiBaoJuheCreateOrderInfo : BelgianLengthsHaiBaoJuheBaseModelSmoke
@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 *) HatredHaiBaoJuheGetTsign ;
- (NSString *) HatredHaiBaoJuheGetTimestamp ;
- (NSString *) LengthsHaiBaoJuheGetTsign ;
- (NSString *) LengthsHaiBaoJuheGetTimestamp ;
@end
......
#import "TenantHatredHaiBaoJuheBaseModelPivot.h"
@interface HaiBaoJuheLoginInfo : TenantHatredHaiBaoJuheBaseModelPivot
#import "BelgianLengthsHaiBaoJuheBaseModelSmoke.h"
@interface HaiBaoJuheLoginInfo : BelgianLengthsHaiBaoJuheBaseModelSmoke
@property(nonatomic,strong)NSString *timestamp;
@property(nonatomic, strong)NSString *sign;
......
//
// HatredHaiBaoJuheReportInfo.h
// LengthsHaiBaoJuheReportInfo.h
// HaiBaoJuheSDK
//
// Created by winFan on 12/21/15.
// Copyright (c) 2015 winFan. All rights reserved.
//
#import "TenantHatredHaiBaoJuheBaseModelPivot.h"
@interface HaiBaoJuheReportInfo : TenantHatredHaiBaoJuheBaseModelPivot
#import "BelgianLengthsHaiBaoJuheBaseModelSmoke.h"
@interface HaiBaoJuheReportInfo : BelgianLengthsHaiBaoJuheBaseModelSmoke
@property(nonatomic, strong)NSString *reportType;//类型
@property(nonatomic, strong)NSString *playerId;//玩家ID
......
......@@ -10,7 +10,7 @@
@property(nonatomic, strong)NSString *urlSchemes;
@property(strong) NSMutableArray* HatredList;
@property(strong) NSMutableArray* LengthsList;
@property BOOL isAppleGzyazfing;
......
#import <UIKit/UIKit.h>
#import "WestinHaiBaoJuheCheckerDietary.h"
#import "SuperbHaiBaoJuheCheckerValet.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheLoginInfo.h"
#import "Interface.h"
#import "YieldHaiBaoJuheNotificationClouds.h"
#import "YieldHaiBaoJuheGzyazfInfoClouds.h"
#import "EmptyHaiBaoJuheNotificationLipitor.h"
#import "EmptyHaiBaoJuheGzyazfInfoLipitor.h"
#import "UnionInterface.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "YieldHaiBaoJuheConfigClouds.h"
#import "FalconHaiBaoJuheUtilsTelstra.h"
#import "EmptyHaiBaoJuheConfigLipitor.h"
#import "ForrestHaiBaoJuheUtilsOxygen.h"
#import "NetCenter.h"
#import "HaiBaoJuheSDK.h"
#import "HaiBaoJuheSDKDelegate.h"
......
#import <Foundation/Foundation.h>
@interface CroydonHatredControlKnock : NSObject
@interface HelperLengthsControlExpress : NSObject
- (void)initHatredInstance;
- (void)initLengthsInstance;
- (void) HatredStartGo;
- (void) LengthsStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
extern NSString * const AthlonLengthsExitNotificationTenor;
extern NSString * const EmptyLengthsLoginNotificationLipitor;
extern NSString * const BelgianLengthsErrorNotificationSmoke;
@interface HelperLengthsHuiTiaoNotificationExpress : NSObject
@end
#import <Foundation/Foundation.h>
@interface MakingHatredControlJukebox : NSObject
@interface PossessLengthsControlPeugeot : NSObject
- (void)initHatredInstance;
- (void)initLengthsInstance;
- (void) HatredStartGo;
- (void) LengthsStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface MakingHatredInformationJMJukebox : NSObject
@interface PossessLengthsInformationJMPeugeot : NSObject
+(NSString *)HatredJM:(NSString *)jm;
+(NSString *)LengthsJM:(NSString *)jm;
@end
......
#import <UIKit/UIKit.h>
@interface SamplesLengthsIAPHelperControlStepped : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* LengthsDingDanHao;
@property(nonatomic,strong) NSDictionary* LengthsHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* LengthsHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *LengthsHuoWuLieBiaoView;
- (void)LengthsHuaQianView:(UIViewController*)controller LengthsHuoWuD:(NSString*)products LengthsQian:(NSString*)amount LengthsHuoWuMing:(NSString*)productName LengthsDingDanHao:(NSString*)DingDanHao;
@end
#import <Foundation/Foundation.h>
#import "HaiBaoJuheLoginInfo.h"
#import "YieldHaiBaoJuheNotificationClouds.h"
#import "EmptyHaiBaoJuheNotificationLipitor.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "YieldHaiBaoJuheGzyazfInfoClouds.h"
#import "EmptyHaiBaoJuheGzyazfInfoLipitor.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheSDKDelegate.h"
@interface WestinHaiBaoJuheCheckerDietary : NSObject<HaiBaoJuheSDKDelegate>
@interface SuperbHaiBaoJuheCheckerValet : NSObject<HaiBaoJuheSDKDelegate>
@property(nonatomic, strong)NSString *userId;
@property(nonatomic, strong)id<HaiBaoJuheSDKDelegate> mHaiBaoJuheSDKDelegate;
@property bool onlyOneTimeGzyazf;
+ (WestinHaiBaoJuheCheckerDietary *)CroydongetInstanceKnock;
+ (SuperbHaiBaoJuheCheckerValet *)CelerongetInstanceEarlier;
- (void)initChecker;
- (void)startCheck:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) createOrder:(HaiBaoJuheCreateOrderInfo *)gzyazfInfo;
- (void) HatredHaiBaoJuhereportOpen;
- (void) HatredHaiBaoJuhereportSDKOpen;
- (void) HatredHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) LengthsHaiBaoJuhereportOpen;
- (void) LengthsHaiBaoJuhereportSDKOpen;
- (void) LengthsHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo;
- (void) HatredHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void) LengthsHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void)sendNotice:(HaiBaoJuheSDKNotificationType)notiType
notiName:(NSString *)notiName
statusCode:(int)nCode
......@@ -28,7 +28,7 @@
- (void)startCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) HatredHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
- (void) LengthsHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
/*
*初始化时调用
......
#import <UIKit/UIKit.h>
@interface WestinHatredLocationDietary : NSObject
@interface SuperbLengthsLocationValet : NSObject
+ (NSString *)HatredSKCloudServiceSetupOptionsKey;
+ (NSString *)LengthsSKCloudServiceSetupOptionsKey;
@end
......
#import <Foundation/Foundation.h>
@interface LocusHatredInformationPhotos : NSObject
@interface TunedLengthsInformationHebrews : NSObject
{
//
NSString *openId;
......@@ -12,5 +12,5 @@ NSString *timestamp;
@property(retain,nonatomic) NSString *openId;
@property(retain,nonatomic) NSString *token;
@property(retain,nonatomic) NSString *timestamp;
+ (LocusHatredInformationPhotos *)getInstance;
+ (TunedLengthsInformationHebrews *)getInstance;
@end
......
#import <Foundation/Foundation.h>
@interface YieldHatredControlClouds : NSObject
@interface WantingLengthsControlWhisper : NSObject
- (void)initHatredInstance;
- (void)initLengthsInstance;
- (void) HatredStartGo;
- (void) LengthsStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <UIKit/UIKit.h>
@interface WebcastHatredIAPHelperControlCollars : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* HatredDingDanHao;
@property(nonatomic,strong) NSDictionary* HatredHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* HatredHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *HatredHuoWuLieBiaoView;
- (void)HatredHuaQianView:(UIViewController*)controller HatredHuoWuD:(NSString*)products HatredQian:(NSString*)amount HatredHuoWuMing:(NSString*)productName HatredDingDanHao:(NSString*)DingDanHao;
@end
#include "SDKInterface.h"
#import <UIKit/UIKit.h>
#import "HaiBaoJuheSDK/CasperHatredAllManagerPanties.h"
#import "HaiBaoJuheSDK/BluffHatredHuiTiaoNotificationHerbal.h"
#import "HaiBaoJuheSDK/LocusHatredInformationPhotos.h"
#import "HaiBaoJuheSDK/AthlonLengthsAllManagerTenor.h"
#import "HaiBaoJuheSDK/HelperLengthsHuiTiaoNotificationExpress.h"
#import "HaiBaoJuheSDK/TunedLengthsInformationHebrews.h"
@implementation SDKInterface : Interface
int mExchange;
NSString *HatredAppId;
NSString *HatredAppKey;
NSString *HatredLeakOrderUrl;
NSString *LengthsAppId;
NSString *LengthsAppKey;
NSString *LengthsLeakOrderUrl;
- (void)SDKinit:(UIViewController *) control
{
[super SDKinit:control];
[YieldHaiBaoJuheConfigClouds TenantgetInstancePivot];
[[CasperHatredAllManagerPanties WebcastHatredInstanceCollars]LocusHatredChuShiHuaPhotos];
[[CasperHatredAllManagerPanties WebcastHatredInstanceCollars]MakingHatredYangShiJukebox:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:YieldHatredLoginNotificationClouds object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"HatredToolCallBack" object:nil];
[EmptyHaiBaoJuheConfigLipitor BelgiangetInstanceSmoke];
[[AthlonLengthsAllManagerTenor SamplesLengthsInstanceStepped]TunedLengthsChuShiHuaHebrews];
[[AthlonLengthsAllManagerTenor SamplesLengthsInstanceStepped]PossessLengthsYangShiPeugeot:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:EmptyLengthsLoginNotificationLipitor object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"LengthsToolCallBack" object:nil];
[[WestinHaiBaoJuheCheckerDietary CroydongetInstanceKnock] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
[[SuperbHaiBaoJuheCheckerValet CelerongetInstanceEarlier] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
NSString* channelId = [[YieldHaiBaoJuheConfigClouds TenantgetInstancePivot] CaspergetValueByKeyPanties:@"gamechannelid"];
NSString* channelId = [[EmptyHaiBaoJuheConfigLipitor BelgiangetInstanceSmoke] AthlongetValueByKeyTenor:@"gamechannelid"];
if(channelId == nil || [channelId length] <= 0){
channelId = @"unknown";
}
......@@ -37,9 +37,9 @@ NSString *HatredLeakOrderUrl;
- (void)SDKloginSDK
{
//APPID APPKEY
HatredAppId = [[YieldHaiBaoJuheConfigClouds TenantgetInstancePivot] CaspergetValueByKeyPanties:@"APP_ID"];
HatredAppKey =[[YieldHaiBaoJuheConfigClouds TenantgetInstancePivot] CaspergetValueByKeyPanties:@"APP_KEY"];
[[CasperHatredAllManagerPanties WebcastHatredInstanceCollars]CoolpixHatredDengLuCharged:HatredAppId :HatredAppKey :self.controller];
LengthsAppId = [[EmptyHaiBaoJuheConfigLipitor BelgiangetInstanceSmoke] AthlongetValueByKeyTenor:@"APP_ID"];
LengthsAppKey =[[EmptyHaiBaoJuheConfigLipitor BelgiangetInstanceSmoke] AthlongetValueByKeyTenor:@"APP_KEY"];
[[AthlonLengthsAllManagerTenor SamplesLengthsInstanceStepped]WantingLengthsDengLuWhisper:LengthsAppId :LengthsAppKey :self.controller];
}
......@@ -50,12 +50,12 @@ NSString *HatredLeakOrderUrl;
{
NSLog(@"loginchek");
HaiBaoJuheLoginInfo *loginInfo = [HaiBaoJuheLoginInfo alloc];
loginInfo.openId = [[LocusHatredInformationPhotos getInstance]openId];
loginInfo.sign = [[LocusHatredInformationPhotos getInstance] token];
loginInfo.timestamp = [[LocusHatredInformationPhotos getInstance] timestamp];
loginInfo.openId = [[TunedLengthsInformationHebrews getInstance]openId];
loginInfo.sign = [[TunedLengthsInformationHebrews getInstance] token];
loginInfo.timestamp = [[TunedLengthsInformationHebrews getInstance] timestamp];
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[[WestinHaiBaoJuheCheckerDietary CroydongetInstanceKnock] startCheck:loginInfo];
[[SuperbHaiBaoJuheCheckerValet CelerongetInstanceEarlier] startCheck:loginInfo];
});
}
......@@ -79,7 +79,7 @@ NSString *HatredLeakOrderUrl;
- (void)HCKAssetsToolCallBack:(NSNotification *)notification
{
NSDictionary* payResultDic = notification.object;
NSString* receiptStr = [payResultDic objectForKey:@"HatredToolResult"];
NSString* receiptStr = [payResultDic objectForKey:@"LengthsToolResult"];
NSString* queryId = [payResultDic objectForKey:@"query_id"];
//收到回调,保存queryid和data
......@@ -98,10 +98,10 @@ NSString *HatredLeakOrderUrl;
[userDefaults setObject:receiptStr forKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:HatredLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:LengthsLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
[[WestinHaiBaoJuheCheckerDietary CroydongetInstanceKnock] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
[[SuperbHaiBaoJuheCheckerValet CelerongetInstanceEarlier] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
//删除已保存的
[userDefaults removeObjectForKey:queryId];
[tempQueryIdArray removeObject:queryId];
......@@ -119,11 +119,11 @@ NSString *HatredLeakOrderUrl;
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
NSString* lastqueryid = [userDefaults objectForKey:@"lastqueryid"];
HatredLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[FalconHaiBaoJuheUtilsTelstra YieldcreateGzyazfUrlClouds],
LengthsLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[ForrestHaiBaoJuheUtilsOxygen EmptycreateGzyazfUrlLipitor],
[payInfo userId],
[payInfo playerId]];
[userDefaults setObject:HatredLeakOrderUrl forKey:@"lastHatredLeakOrderUrl"];
[userDefaults setObject:LengthsLeakOrderUrl forKey:@"lastLengthsLeakOrderUrl"];
if (lastqueryid!=nil) {
//创建订单前进行补单
......@@ -133,7 +133,7 @@ NSString *HatredLeakOrderUrl;
receiptStr = [receiptStr stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
//如果不为空,进行最后一次补单
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",lastqueryid,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:HatredLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:LengthsLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
//删除已保存的
[userDefaults removeObjectForKey:@"lastqueryid"];
......@@ -143,8 +143,8 @@ NSString *HatredLeakOrderUrl;
mExchange = [payInfo exchange].intValue;
[super SDKgzyazfWithGzyazfmentInfo:payInfo];
HatredLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[FalconHaiBaoJuheUtilsTelstra YieldcreateGzyazfUrlClouds],
LengthsLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[ForrestHaiBaoJuheUtilsOxygen EmptycreateGzyazfUrlLipitor],
[payInfo userId],
[payInfo playerId]];
[userDefaults synchronize];
......@@ -209,12 +209,12 @@ NSString *HatredLeakOrderUrl;
for (NSString* queryId in queryIdArray) {
NSString* receiptStr = [userDefaults valueForKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* lastHatredLeakOrderUrl = [userDefaults objectForKey:@"lastHatredLeakOrderUrl"];
NSString* lastLengthsLeakOrderUrl = [userDefaults objectForKey:@"lastLengthsLeakOrderUrl"];
NSString* result;
if (lastHatredLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSynFillOD:lastHatredLeakOrderUrl :receiptDic];
if (lastLengthsLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSynFillOD:lastLengthsLeakOrderUrl :receiptDic];
}else{
result = [[NetCenter getInstance] httpPostSynFillOD:[FalconHaiBaoJuheUtilsTelstra YieldcreateGzyazfUrlClouds] :receiptDic];
result = [[NetCenter getInstance] httpPostSynFillOD:[ForrestHaiBaoJuheUtilsOxygen EmptycreateGzyazfUrlLipitor] :receiptDic];
}
if([@"success" isEqualToString:result]){//成功
[userDefaults removeObjectForKey:queryId];
......@@ -236,7 +236,7 @@ NSString *HatredLeakOrderUrl;
- (void)receiveCreateOrder:(NSNotification *)notification
{
NSLog(@"创建订单成功");
YieldHaiBaoJuheGzyazfInfoClouds *payInfo = [notification object];
EmptyHaiBaoJuheGzyazfInfoLipitor *payInfo = [notification object];
NSNumber *amount = @([[payInfo postAmount] integerValue] * mExchange);
NSString *serverId = [payInfo serverId];
......@@ -247,13 +247,18 @@ NSString *HatredLeakOrderUrl;
[self handlerLeakOrder];
});
NSString *other = [payInfo other];
if (other && [other length] > 0) {
[[AthlonLengthsAllManagerTenor SamplesLengthsInstanceStepped] LengthsQuery: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];
[[CasperHatredAllManagerPanties WebcastHatredInstanceCollars] HatredQueryOperation:self.controller HatredHuoWuID:products HatredJiaGe:[payInfo postAmount] HatredHuoWuMing:[payInfo productName] HatredDingDanHao:queryId];
[[AthlonLengthsAllManagerTenor SamplesLengthsInstanceStepped] LengthsQueryOperation:self.controller LengthsHuoWuID:products LengthsJiaGe:[payInfo postAmount] LengthsHuoWuMing:[payInfo productName] LengthsDingDanHao:queryId];
}
}
@end
......