lizhihui

更新190829版本2

Showing 60 changed files with 304 additions and 304 deletions
#import <UIKit/UIKit.h>
@interface HavanaSurnameLocationSeason : NSObject
@interface AmbientDeniseLocationSunny : NSObject
+ (NSString *)SurnameSKCloudServiceSetupOptionsKey;
+ (NSString *)DeniseSKCloudServiceSetupOptionsKey;
@end
......
#import <Foundation/Foundation.h>
#import "HaiBaoJuheLoginInfo.h"
#import "RogersHaiBaoJuheNotificationFedex.h"
#import "SexualHaiBaoJuheNotificationScarves.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "RogersHaiBaoJuheGzyazfInfoFedex.h"
#import "SexualHaiBaoJuheGzyazfInfoScarves.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheSDKDelegate.h"
@interface HavanaHaiBaoJuheCheckerSeason : NSObject<HaiBaoJuheSDKDelegate>
@interface AmbientHaiBaoJuheCheckerSunny : NSObject<HaiBaoJuheSDKDelegate>
@property(nonatomic, strong)NSString *userId;
@property(nonatomic, strong)id<HaiBaoJuheSDKDelegate> mHaiBaoJuheSDKDelegate;
@property bool onlyOneTimeGzyazf;
+ (HavanaHaiBaoJuheCheckerSeason *)SerumgetInstanceVague;
+ (AmbientHaiBaoJuheCheckerSunny *)TiavagetInstanceMacos;
- (void)initChecker;
- (void)startCheck:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) createOrder:(HaiBaoJuheCreateOrderInfo *)gzyazfInfo;
- (void) SurnameHaiBaoJuhereportOpen;
- (void) SurnameHaiBaoJuhereportSDKOpen;
- (void) SurnameHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) DeniseHaiBaoJuhereportOpen;
- (void) DeniseHaiBaoJuhereportSDKOpen;
- (void) DeniseHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo;
- (void) SurnameHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void) DeniseHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void)sendNotice:(HaiBaoJuheSDKNotificationType)notiType
notiName:(NSString *)notiName
statusCode:(int)nCode
......@@ -28,7 +28,7 @@
- (void)startCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) SurnameHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
- (void) DeniseHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
/*
*初始化时调用
......
#import <Foundation/Foundation.h>
@interface DealersSurnameControlAuction : NSObject
@interface AwfulDeniseControlBolton : NSObject
- (void)initSurnameInstance;
- (void)initDeniseInstance;
- (void) SurnameStartGo;
- (void) DeniseStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
extern NSString * const DonatedDeniseExitNotificationPickup;
extern NSString * const SexualDeniseLoginNotificationScarves;
extern NSString * const HorsesDeniseErrorNotificationTwelve;
@interface AwfulDeniseHuiTiaoNotificationBolton : NSObject
@end
#import <Foundation/Foundation.h>
@interface BouquetSurnameInformationRiders : NSObject
@interface BargainDeniseInformationSurfers : NSObject
{
//
NSString *openId;
......@@ -12,5 +12,5 @@ NSString *timestamp;
@property(retain,nonatomic) NSString *openId;
@property(retain,nonatomic) NSString *token;
@property(retain,nonatomic) NSString *timestamp;
+ (BouquetSurnameInformationRiders *)getInstance;
+ (BargainDeniseInformationSurfers *)getInstance;
@end
......
#import <UIKit/UIKit.h>
@interface BhutanSurnameIAPHelperControlClosest : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* SurnameDingDanHao;
@property(nonatomic,strong) NSDictionary* SurnameHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* SurnameHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *SurnameHuoWuLieBiaoView;
- (void)SurnameHuaQianView:(UIViewController*)controller SurnameHuoWuD:(NSString*)products SurnameQian:(NSString*)amount SurnameHuoWuMing:(NSString*)productName SurnameDingDanHao:(NSString*)DingDanHao;
@end
#import <Foundation/Foundation.h>
@interface GasesSurnameControlKeynote : NSObject
@interface BlitzDeniseControlSafaris : NSObject
- (void)initSurnameInstance;
- (void)initDeniseInstance;
- (void) SurnameStartGo;
- (void) DeniseStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface ModularSurnameInformationJMJupiter : NSObject
@interface BlitzDeniseInformationJMSafaris : NSObject
+(NSString *)SurnameJM:(NSString *)jm;
+(NSString *)DeniseJM:(NSString *)jm;
@end
......
#import <Foundation/Foundation.h>
@interface ModularSurnameControlJupiter : NSObject
@interface ChairsDeniseControlCompaq : NSObject
- (void)initSurnameInstance;
- (void)initDeniseInstance;
- (void) SurnameStartGo;
- (void) DeniseStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <UIKit/UIKit.h>
#import "BouquetSurnameInformationRiders.h"
#import "BargainDeniseInformationSurfers.h"
#import <JavaScriptCore/JavaScriptCore.h>
@interface AspireSurnameMainPublish : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
@interface ChangeDeniseMainMaxim : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
{
UIWebView *webSurnameView_;
UIWebView *webDeniseView_;
UIActivityIndicatorView *activityIndicator;
}
@property(assign) BOOL SurnameYouYuanJiao;
@property(assign) BOOL DeniseYouYuanJiao;
- (void)SurnameSettingSurnameView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)SurnameInitWebView;
- (void)DeniseSettingDeniseView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)DeniseInitWebView;
- (void)loadWebPageWithString:(NSString *)url;
- (void)loadWebPageWithJs:(NSString *)content;
- (void)postNotification:(NSString *)name : (NSString *)code;
......
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface AspireHaiBaoJuheUtilsPublish : NSObject
@interface ChangeHaiBaoJuheUtilsMaxim : NSObject
+(NSString *)md5:(NSString *)str;
+ (NSDictionary *) SurnameHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+ (NSDictionary *) DeniseHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+(NSString *)createGzyazfOrderUrl;
//*充值回调地址
+(NSString *)RogerscreateGzyazfUrlFedex;
+(NSString *)SexualcreateGzyazfUrlScarves;
+(UIActivityIndicatorView *)showLoadingDialog:(UIView*)parentView;
+(void)dismissLoadingDialog:(UIActivityIndicatorView*)indicatorView;
......
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface DonatedDeniseAllManagerPickup : NSObject
{
NSString* DeniseAPPID_;
NSString* DeniseAPPKEY_;
NSString* DeniseInviterCode_;
}
@property(strong) NSMutableArray* DeniseList;
@property bool DeniseGeiWoHuaQianBa;
+ (DonatedDeniseAllManagerPickup *)SmokerDeniseInstanceMedian;
- (void)BargainDeniseChuShiHuaSurfers;
- (void)ChairsDeniseDengLuCompaq:(NSString *)DeniseAPPID : (NSString *)DeniseAPPKEY : (UIViewController *)controller;
- (void)BlitzDeniseYangShiSafaris:(NSString*)DeniseLeiXing;
- (void)DeniseQuery: (NSString *)DeniseFuWuQiID : (NSString *)DeniseNickName : (NSNumber *)DeniseAmount : (NSString *)DeniseCallBack : (UIViewController *)controller : (NSString *)DeniseServerName;
- (void)DeniseQueryOperation:(UIViewController*)controll DeniseHuoWuID:(NSString*)products DeniseJiaGe:(NSString*)amount DeniseHuoWuMing:(NSString*)productName DeniseDingDanHao:(NSString*) DingDanHao;
@end
......@@ -11,7 +11,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel)
ELogError
};
@interface RopesSurnameHaiBaoJuheDGLoggerJarvis : NSObject
@interface DonatedDeniseHaiBaoJuheDGLoggerPickup : NSObject
+ (void)showLog:(NSString *)fmt,...;
......
#import <Foundation/Foundation.h>
extern NSString * const RopesSurnameExitNotificationJarvis;
extern NSString * const RogersSurnameLoginNotificationFedex;
extern NSString * const GraphicSurnameErrorNotificationScript;
@interface GasesSurnameHuiTiaoNotificationKeynote : NSObject
@end
#import "GraphicSurnameHaiBaoJuheBaseModelScript.h"
@interface HaiBaoJuheCreateOrderInfo : GraphicSurnameHaiBaoJuheBaseModelScript
#import "HorsesDeniseHaiBaoJuheBaseModelTwelve.h"
@interface HaiBaoJuheCreateOrderInfo : HorsesDeniseHaiBaoJuheBaseModelTwelve
@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 *) SurnameHaiBaoJuheGetTsign ;
- (NSString *) SurnameHaiBaoJuheGetTimestamp ;
- (NSString *) DeniseHaiBaoJuheGetTsign ;
- (NSString *) DeniseHaiBaoJuheGetTimestamp ;
@end
......
#import "GraphicSurnameHaiBaoJuheBaseModelScript.h"
@interface HaiBaoJuheLoginInfo : GraphicSurnameHaiBaoJuheBaseModelScript
#import "HorsesDeniseHaiBaoJuheBaseModelTwelve.h"
@interface HaiBaoJuheLoginInfo : HorsesDeniseHaiBaoJuheBaseModelTwelve
@property(nonatomic,strong)NSString *timestamp;
@property(nonatomic, strong)NSString *sign;
......
//
// SurnameHaiBaoJuheReportInfo.h
// DeniseHaiBaoJuheReportInfo.h
// HaiBaoJuheSDK
//
// Created by winFan on 12/21/15.
// Copyright (c) 2015 winFan. All rights reserved.
//
#import "GraphicSurnameHaiBaoJuheBaseModelScript.h"
@interface HaiBaoJuheReportInfo : GraphicSurnameHaiBaoJuheBaseModelScript
#import "HorsesDeniseHaiBaoJuheBaseModelTwelve.h"
@interface HaiBaoJuheReportInfo : HorsesDeniseHaiBaoJuheBaseModelTwelve
@property(nonatomic, strong)NSString *reportType;//类型
@property(nonatomic, strong)NSString *playerId;//玩家ID
......
......@@ -10,7 +10,7 @@
@property(nonatomic, strong)NSString *urlSchemes;
@property(strong) NSMutableArray* SurnameList;
@property(strong) NSMutableArray* DeniseList;
@property BOOL isAppleGzyazfing;
......
#import <UIKit/UIKit.h>
#import "HavanaHaiBaoJuheCheckerSeason.h"
#import "AmbientHaiBaoJuheCheckerSunny.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheLoginInfo.h"
#import "Interface.h"
#import "RogersHaiBaoJuheNotificationFedex.h"
#import "RogersHaiBaoJuheGzyazfInfoFedex.h"
#import "SexualHaiBaoJuheNotificationScarves.h"
#import "SexualHaiBaoJuheGzyazfInfoScarves.h"
#import "UnionInterface.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "RogersHaiBaoJuheConfigFedex.h"
#import "AspireHaiBaoJuheUtilsPublish.h"
#import "SexualHaiBaoJuheConfigScarves.h"
#import "ChangeHaiBaoJuheUtilsMaxim.h"
#import "NetCenter.h"
#import "HaiBaoJuheSDK.h"
#import "HaiBaoJuheSDKDelegate.h"
......
#import <Foundation/Foundation.h>
#import "OtherSetting.h"
@interface GraphicSurnameHaiBaoJuheBaseModelScript : NSObject
@interface HorsesDeniseHaiBaoJuheBaseModelTwelve : NSObject
- (NSString *) SurnameHaiBaoJuheObjectToJsonString;
- (NSString *) DeniseHaiBaoJuheObjectToJsonString;
- (NSMutableString *)paramAddToString;
- (id)initWithDiction:(NSDictionary *)diction;
......
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface RopesSurnameAllManagerJarvis : NSObject
{
NSString* SurnameAPPID_;
NSString* SurnameAPPKEY_;
NSString* SurnameInviterCode_;
}
@property(strong) NSMutableArray* SurnameList;
@property bool SurnameGeiWoHuaQianBa;
+ (RopesSurnameAllManagerJarvis *)BhutanSurnameInstanceClosest;
- (void)BouquetSurnameChuShiHuaRiders;
- (void)DealersSurnameDengLuAuction:(NSString *)SurnameAPPID : (NSString *)SurnameAPPKEY : (UIViewController *)controller;
- (void)ModularSurnameYangShiJupiter:(NSString*)SurnameLeiXing;
- (void)SurnameQuery: (NSString *)SurnameFuWuQiID : (NSString *)SurnameNickName : (NSNumber *)SurnameAmount : (NSString *)SurnameCallBack : (UIViewController *)controller : (NSString *)SurnameServerName;
- (void)SurnameQueryOperation:(UIViewController*)controll SurnameHuoWuID:(NSString*)products SurnameJiaGe:(NSString*)amount SurnameHuoWuMing:(NSString*)productName SurnameDingDanHao:(NSString*) DingDanHao;
@end
#import <Foundation/Foundation.h>
@interface RogersSurnameControlFedex : NSObject
@interface SexualDeniseControlScarves : NSObject
- (void)initSurnameInstance;
- (void)initDeniseInstance;
- (void) SurnameStartGo;
- (void) DeniseStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface RogersHaiBaoJuheConfigFedex : NSObject
@interface SexualHaiBaoJuheConfigScarves : 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;
+ (RogersHaiBaoJuheConfigFedex *)GraphicgetInstanceScript;
+ (SexualHaiBaoJuheConfigScarves *)HorsesgetInstanceTwelve;
- (void) loadFile:(NSString *) fileName;
- (NSString *)RopesgetValueByKeyJarvis:(NSString *) key;
- (NSString *)DonatedgetValueByKeyPickup:(NSString *) key;
- (void) updateC1C2Value:(NSString *)c1 c2:(NSString *)c2;
......
#import "GraphicSurnameHaiBaoJuheBaseModelScript.h"
@interface RogersHaiBaoJuheGzyazfInfoFedex : GraphicSurnameHaiBaoJuheBaseModelScript
#import "HorsesDeniseHaiBaoJuheBaseModelTwelve.h"
@interface SexualHaiBaoJuheGzyazfInfoScarves : HorsesDeniseHaiBaoJuheBaseModelTwelve
@property(nonatomic, strong)NSString *serverId;
@property(nonatomic, strong)NSString *queryId;
......
//
// RogersHaiBaoJuheNotificationFedex.h
// SexualHaiBaoJuheNotificationScarves.h
// public_i9133
//
// Created by winFan on 12/1/15.
......@@ -28,7 +28,7 @@ typedef NS_ENUM(int, HaiBaoJuheSDKNotificationType) {
@interface RogersHaiBaoJuheNotificationFedex : NSObject
@interface SexualHaiBaoJuheNotificationScarves : NSObject
@end
......
#import <UIKit/UIKit.h>
@interface SmokerDeniseIAPHelperControlMedian : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* DeniseDingDanHao;
@property(nonatomic,strong) NSDictionary* DeniseHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* DeniseHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *DeniseHuoWuLieBiaoView;
- (void)DeniseHuaQianView:(UIViewController*)controller DeniseHuoWuD:(NSString*)products DeniseQian:(NSString*)amount DeniseHuoWuMing:(NSString*)productName DeniseDingDanHao:(NSString*)DingDanHao;
@end
#import <Foundation/Foundation.h>
@interface SerumSurnameControlVague : NSObject
@interface TiavaDeniseControlMacos : NSObject
- (void)initSurnameInstance;
- (void)initDeniseInstance;
- (void) SurnameStartGo;
- (void) DeniseStartGo;
@property(strong) NSMutableArray* myarray;
......
#include "SDKInterface.h"
#import <UIKit/UIKit.h>
#import "HaiBaoJuheSDK/RopesSurnameAllManagerJarvis.h"
#import "HaiBaoJuheSDK/GasesSurnameHuiTiaoNotificationKeynote.h"
#import "HaiBaoJuheSDK/BouquetSurnameInformationRiders.h"
#import "HaiBaoJuheSDK/DonatedDeniseAllManagerPickup.h"
#import "HaiBaoJuheSDK/AwfulDeniseHuiTiaoNotificationBolton.h"
#import "HaiBaoJuheSDK/BargainDeniseInformationSurfers.h"
#import "TrackingIO.h"
@implementation SDKInterface : Interface
int mExchange;
NSString *SurnameAppId;
NSString *SurnameAppKey;
NSString *SurnameLeakOrderUrl;
NSString *DeniseAppId;
NSString *DeniseAppKey;
NSString *DeniseLeakOrderUrl;
- (void)SDKinit:(UIViewController *) control
{
[super SDKinit:control];
[RogersHaiBaoJuheConfigFedex GraphicgetInstanceScript];
[[RopesSurnameAllManagerJarvis BhutanSurnameInstanceClosest]BouquetSurnameChuShiHuaRiders];
[[RopesSurnameAllManagerJarvis BhutanSurnameInstanceClosest]ModularSurnameYangShiJupiter:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:RogersSurnameLoginNotificationFedex object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"SurnameToolCallBack" object:nil];
[SexualHaiBaoJuheConfigScarves HorsesgetInstanceTwelve];
[[DonatedDeniseAllManagerPickup SmokerDeniseInstanceMedian]BargainDeniseChuShiHuaSurfers];
[[DonatedDeniseAllManagerPickup SmokerDeniseInstanceMedian]BlitzDeniseYangShiSafaris:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:SexualDeniseLoginNotificationScarves object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"DeniseToolCallBack" object:nil];
[[HavanaHaiBaoJuheCheckerSeason SerumgetInstanceVague] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
[[AmbientHaiBaoJuheCheckerSunny TiavagetInstanceMacos] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
NSString* channelId = [[RogersHaiBaoJuheConfigFedex GraphicgetInstanceScript] RopesgetValueByKeyJarvis:@"gamechannelid"];
NSString* channelId = [[SexualHaiBaoJuheConfigScarves HorsesgetInstanceTwelve] DonatedgetValueByKeyPickup:@"gamechannelid"];
if(channelId == nil || [channelId length] <= 0){
channelId = @"unknown";
}
[TrackingIO initWithappKey:[[RogersHaiBaoJuheConfigFedex GraphicgetInstanceScript] RopesgetValueByKeyJarvis:@"renyunAppKey"] withChannelId:channelId];
[TrackingIO initWithappKey:[[SexualHaiBaoJuheConfigScarves HorsesgetInstanceTwelve] DonatedgetValueByKeyPickup:@"renyunAppKey"] withChannelId:channelId];
}
/**
......@@ -40,9 +40,9 @@ NSString *SurnameLeakOrderUrl;
- (void)SDKloginSDK
{
//APPID APPKEY
SurnameAppId = [[RogersHaiBaoJuheConfigFedex GraphicgetInstanceScript] RopesgetValueByKeyJarvis:@"APP_ID"];
SurnameAppKey =[[RogersHaiBaoJuheConfigFedex GraphicgetInstanceScript] RopesgetValueByKeyJarvis:@"APP_KEY"];
[[RopesSurnameAllManagerJarvis BhutanSurnameInstanceClosest]DealersSurnameDengLuAuction:SurnameAppId :SurnameAppKey :self.controller];
DeniseAppId = [[SexualHaiBaoJuheConfigScarves HorsesgetInstanceTwelve] DonatedgetValueByKeyPickup:@"APP_ID"];
DeniseAppKey =[[SexualHaiBaoJuheConfigScarves HorsesgetInstanceTwelve] DonatedgetValueByKeyPickup:@"APP_KEY"];
[[DonatedDeniseAllManagerPickup SmokerDeniseInstanceMedian]ChairsDeniseDengLuCompaq:DeniseAppId :DeniseAppKey :self.controller];
}
......@@ -53,12 +53,12 @@ NSString *SurnameLeakOrderUrl;
{
NSLog(@"loginchek");
HaiBaoJuheLoginInfo *loginInfo = [HaiBaoJuheLoginInfo alloc];
loginInfo.openId = [[BouquetSurnameInformationRiders getInstance]openId];
loginInfo.sign = [[BouquetSurnameInformationRiders getInstance] token];
loginInfo.timestamp = [[BouquetSurnameInformationRiders getInstance] timestamp];
loginInfo.openId = [[BargainDeniseInformationSurfers getInstance]openId];
loginInfo.sign = [[BargainDeniseInformationSurfers getInstance] token];
loginInfo.timestamp = [[BargainDeniseInformationSurfers getInstance] timestamp];
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[[HavanaHaiBaoJuheCheckerSeason SerumgetInstanceVague] startCheck:loginInfo];
[[AmbientHaiBaoJuheCheckerSunny TiavagetInstanceMacos] startCheck:loginInfo];
});
}
......@@ -82,7 +82,7 @@ NSString *SurnameLeakOrderUrl;
- (void)HCKAssetsToolCallBack:(NSNotification *)notification
{
NSDictionary* payResultDic = notification.object;
NSString* receiptStr = [payResultDic objectForKey:@"SurnameToolResult"];
NSString* receiptStr = [payResultDic objectForKey:@"DeniseToolResult"];
NSString* queryId = [payResultDic objectForKey:@"query_id"];
//收到回调,保存queryid和data
......@@ -101,10 +101,10 @@ NSString *SurnameLeakOrderUrl;
[userDefaults setObject:receiptStr forKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSyn:SurnameLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSyn:DeniseLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
[[HavanaHaiBaoJuheCheckerSeason SerumgetInstanceVague] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
[[AmbientHaiBaoJuheCheckerSunny TiavagetInstanceMacos] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
//删除已保存的
[userDefaults removeObjectForKey:queryId];
[tempQueryIdArray removeObject:queryId];
......@@ -122,11 +122,11 @@ NSString *SurnameLeakOrderUrl;
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
NSString* lastqueryid = [userDefaults objectForKey:@"lastqueryid"];
SurnameLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[AspireHaiBaoJuheUtilsPublish RogerscreateGzyazfUrlFedex],
DeniseLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[ChangeHaiBaoJuheUtilsMaxim SexualcreateGzyazfUrlScarves],
[payInfo userId],
[payInfo playerId]];
[userDefaults setObject:SurnameLeakOrderUrl forKey:@"lastSurnameLeakOrderUrl"];
[userDefaults setObject:DeniseLeakOrderUrl forKey:@"lastDeniseLeakOrderUrl"];
if (lastqueryid!=nil) {
//创建订单前进行补单
......@@ -136,7 +136,7 @@ NSString *SurnameLeakOrderUrl;
receiptStr = [receiptStr stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
//如果不为空,进行最后一次补单
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",lastqueryid,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSyn:SurnameLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSyn:DeniseLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
//删除已保存的
[userDefaults removeObjectForKey:@"lastqueryid"];
......@@ -146,8 +146,8 @@ NSString *SurnameLeakOrderUrl;
mExchange = [payInfo exchange].intValue;
[super SDKgzyazfWithGzyazfmentInfo:payInfo];
SurnameLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[AspireHaiBaoJuheUtilsPublish RogerscreateGzyazfUrlFedex],
DeniseLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[ChangeHaiBaoJuheUtilsMaxim SexualcreateGzyazfUrlScarves],
[payInfo userId],
[payInfo playerId]];
[userDefaults synchronize];
......@@ -213,12 +213,12 @@ NSString *SurnameLeakOrderUrl;
for (NSString* queryId in queryIdArray) {
NSString* receiptStr = [userDefaults valueForKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* lastSurnameLeakOrderUrl = [userDefaults objectForKey:@"lastSurnameLeakOrderUrl"];
NSString* lastDeniseLeakOrderUrl = [userDefaults objectForKey:@"lastDeniseLeakOrderUrl"];
NSString* result;
if (lastSurnameLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSyn:lastSurnameLeakOrderUrl :receiptDic];
if (lastDeniseLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSyn:lastDeniseLeakOrderUrl :receiptDic];
}else{
result = [[NetCenter getInstance] httpPostSyn:[AspireHaiBaoJuheUtilsPublish RogerscreateGzyazfUrlFedex] :receiptDic];
result = [[NetCenter getInstance] httpPostSyn:[ChangeHaiBaoJuheUtilsMaxim SexualcreateGzyazfUrlScarves] :receiptDic];
}
if([@"success" isEqualToString:result]){//成功
[userDefaults removeObjectForKey:queryId];
......@@ -240,7 +240,7 @@ NSString *SurnameLeakOrderUrl;
- (void)receiveCreateOrder:(NSNotification *)notification
{
NSLog(@"创建订单成功");
RogersHaiBaoJuheGzyazfInfoFedex *payInfo = [notification object];
SexualHaiBaoJuheGzyazfInfoScarves *payInfo = [notification object];
NSNumber *amount = @([[payInfo postAmount] integerValue] * mExchange);
NSString *serverId = [payInfo serverId];
......@@ -254,14 +254,14 @@ NSString *SurnameLeakOrderUrl;
NSString *other = [payInfo other];
if (other && [other length] > 0) {
[[RopesSurnameAllManagerJarvis BhutanSurnameInstanceClosest] SurnameQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
[[DonatedDeniseAllManagerPickup SmokerDeniseInstanceMedian] DeniseQuery: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];
[[RopesSurnameAllManagerJarvis BhutanSurnameInstanceClosest] SurnameQueryOperation:self.controller SurnameHuoWuID:products SurnameJiaGe:[payInfo postAmount] SurnameHuoWuMing:[payInfo productName] SurnameDingDanHao:queryId];
[[DonatedDeniseAllManagerPickup SmokerDeniseInstanceMedian] DeniseQueryOperation:self.controller DeniseHuoWuID:products DeniseJiaGe:[payInfo postAmount] DeniseHuoWuMing:[payInfo productName] DeniseDingDanHao:queryId];
}
}
......
#import <UIKit/UIKit.h>
@interface HavanaSurnameLocationSeason : NSObject
@interface AmbientDeniseLocationSunny : NSObject
+ (NSString *)SurnameSKCloudServiceSetupOptionsKey;
+ (NSString *)DeniseSKCloudServiceSetupOptionsKey;
@end
......
#import <Foundation/Foundation.h>
#import "HaiBaoJuheLoginInfo.h"
#import "RogersHaiBaoJuheNotificationFedex.h"
#import "SexualHaiBaoJuheNotificationScarves.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "RogersHaiBaoJuheGzyazfInfoFedex.h"
#import "SexualHaiBaoJuheGzyazfInfoScarves.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheSDKDelegate.h"
@interface HavanaHaiBaoJuheCheckerSeason : NSObject<HaiBaoJuheSDKDelegate>
@interface AmbientHaiBaoJuheCheckerSunny : NSObject<HaiBaoJuheSDKDelegate>
@property(nonatomic, strong)NSString *userId;
@property(nonatomic, strong)id<HaiBaoJuheSDKDelegate> mHaiBaoJuheSDKDelegate;
@property bool onlyOneTimeGzyazf;
+ (HavanaHaiBaoJuheCheckerSeason *)SerumgetInstanceVague;
+ (AmbientHaiBaoJuheCheckerSunny *)TiavagetInstanceMacos;
- (void)initChecker;
- (void)startCheck:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) createOrder:(HaiBaoJuheCreateOrderInfo *)gzyazfInfo;
- (void) SurnameHaiBaoJuhereportOpen;
- (void) SurnameHaiBaoJuhereportSDKOpen;
- (void) SurnameHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) DeniseHaiBaoJuhereportOpen;
- (void) DeniseHaiBaoJuhereportSDKOpen;
- (void) DeniseHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo;
- (void) SurnameHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void) DeniseHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void)sendNotice:(HaiBaoJuheSDKNotificationType)notiType
notiName:(NSString *)notiName
statusCode:(int)nCode
......@@ -28,7 +28,7 @@
- (void)startCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) SurnameHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
- (void) DeniseHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
/*
*初始化时调用
......
#import <Foundation/Foundation.h>
@interface DealersSurnameControlAuction : NSObject
@interface AwfulDeniseControlBolton : NSObject
- (void)initSurnameInstance;
- (void)initDeniseInstance;
- (void) SurnameStartGo;
- (void) DeniseStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
extern NSString * const DonatedDeniseExitNotificationPickup;
extern NSString * const SexualDeniseLoginNotificationScarves;
extern NSString * const HorsesDeniseErrorNotificationTwelve;
@interface AwfulDeniseHuiTiaoNotificationBolton : NSObject
@end
#import <Foundation/Foundation.h>
@interface BouquetSurnameInformationRiders : NSObject
@interface BargainDeniseInformationSurfers : NSObject
{
//
NSString *openId;
......@@ -12,5 +12,5 @@ NSString *timestamp;
@property(retain,nonatomic) NSString *openId;
@property(retain,nonatomic) NSString *token;
@property(retain,nonatomic) NSString *timestamp;
+ (BouquetSurnameInformationRiders *)getInstance;
+ (BargainDeniseInformationSurfers *)getInstance;
@end
......
#import <UIKit/UIKit.h>
@interface BhutanSurnameIAPHelperControlClosest : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* SurnameDingDanHao;
@property(nonatomic,strong) NSDictionary* SurnameHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* SurnameHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *SurnameHuoWuLieBiaoView;
- (void)SurnameHuaQianView:(UIViewController*)controller SurnameHuoWuD:(NSString*)products SurnameQian:(NSString*)amount SurnameHuoWuMing:(NSString*)productName SurnameDingDanHao:(NSString*)DingDanHao;
@end
#import <Foundation/Foundation.h>
@interface GasesSurnameControlKeynote : NSObject
@interface BlitzDeniseControlSafaris : NSObject
- (void)initSurnameInstance;
- (void)initDeniseInstance;
- (void) SurnameStartGo;
- (void) DeniseStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface ModularSurnameInformationJMJupiter : NSObject
@interface BlitzDeniseInformationJMSafaris : NSObject
+(NSString *)SurnameJM:(NSString *)jm;
+(NSString *)DeniseJM:(NSString *)jm;
@end
......
#import <Foundation/Foundation.h>
@interface ModularSurnameControlJupiter : NSObject
@interface ChairsDeniseControlCompaq : NSObject
- (void)initSurnameInstance;
- (void)initDeniseInstance;
- (void) SurnameStartGo;
- (void) DeniseStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <UIKit/UIKit.h>
#import "BouquetSurnameInformationRiders.h"
#import "BargainDeniseInformationSurfers.h"
#import <JavaScriptCore/JavaScriptCore.h>
@interface AspireSurnameMainPublish : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
@interface ChangeDeniseMainMaxim : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
{
UIWebView *webSurnameView_;
UIWebView *webDeniseView_;
UIActivityIndicatorView *activityIndicator;
}
@property(assign) BOOL SurnameYouYuanJiao;
@property(assign) BOOL DeniseYouYuanJiao;
- (void)SurnameSettingSurnameView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)SurnameInitWebView;
- (void)DeniseSettingDeniseView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)DeniseInitWebView;
- (void)loadWebPageWithString:(NSString *)url;
- (void)loadWebPageWithJs:(NSString *)content;
- (void)postNotification:(NSString *)name : (NSString *)code;
......
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface AspireHaiBaoJuheUtilsPublish : NSObject
@interface ChangeHaiBaoJuheUtilsMaxim : NSObject
+(NSString *)md5:(NSString *)str;
+ (NSDictionary *) SurnameHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+ (NSDictionary *) DeniseHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+(NSString *)createGzyazfOrderUrl;
//*充值回调地址
+(NSString *)RogerscreateGzyazfUrlFedex;
+(NSString *)SexualcreateGzyazfUrlScarves;
+(UIActivityIndicatorView *)showLoadingDialog:(UIView*)parentView;
+(void)dismissLoadingDialog:(UIActivityIndicatorView*)indicatorView;
......
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface DonatedDeniseAllManagerPickup : NSObject
{
NSString* DeniseAPPID_;
NSString* DeniseAPPKEY_;
NSString* DeniseInviterCode_;
}
@property(strong) NSMutableArray* DeniseList;
@property bool DeniseGeiWoHuaQianBa;
+ (DonatedDeniseAllManagerPickup *)SmokerDeniseInstanceMedian;
- (void)BargainDeniseChuShiHuaSurfers;
- (void)ChairsDeniseDengLuCompaq:(NSString *)DeniseAPPID : (NSString *)DeniseAPPKEY : (UIViewController *)controller;
- (void)BlitzDeniseYangShiSafaris:(NSString*)DeniseLeiXing;
- (void)DeniseQuery: (NSString *)DeniseFuWuQiID : (NSString *)DeniseNickName : (NSNumber *)DeniseAmount : (NSString *)DeniseCallBack : (UIViewController *)controller : (NSString *)DeniseServerName;
- (void)DeniseQueryOperation:(UIViewController*)controll DeniseHuoWuID:(NSString*)products DeniseJiaGe:(NSString*)amount DeniseHuoWuMing:(NSString*)productName DeniseDingDanHao:(NSString*) DingDanHao;
@end
......@@ -11,7 +11,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel)
ELogError
};
@interface RopesSurnameHaiBaoJuheDGLoggerJarvis : NSObject
@interface DonatedDeniseHaiBaoJuheDGLoggerPickup : NSObject
+ (void)showLog:(NSString *)fmt,...;
......
#import <Foundation/Foundation.h>
extern NSString * const RopesSurnameExitNotificationJarvis;
extern NSString * const RogersSurnameLoginNotificationFedex;
extern NSString * const GraphicSurnameErrorNotificationScript;
@interface GasesSurnameHuiTiaoNotificationKeynote : NSObject
@end
#import "GraphicSurnameHaiBaoJuheBaseModelScript.h"
@interface HaiBaoJuheCreateOrderInfo : GraphicSurnameHaiBaoJuheBaseModelScript
#import "HorsesDeniseHaiBaoJuheBaseModelTwelve.h"
@interface HaiBaoJuheCreateOrderInfo : HorsesDeniseHaiBaoJuheBaseModelTwelve
@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 *) SurnameHaiBaoJuheGetTsign ;
- (NSString *) SurnameHaiBaoJuheGetTimestamp ;
- (NSString *) DeniseHaiBaoJuheGetTsign ;
- (NSString *) DeniseHaiBaoJuheGetTimestamp ;
@end
......
#import "GraphicSurnameHaiBaoJuheBaseModelScript.h"
@interface HaiBaoJuheLoginInfo : GraphicSurnameHaiBaoJuheBaseModelScript
#import "HorsesDeniseHaiBaoJuheBaseModelTwelve.h"
@interface HaiBaoJuheLoginInfo : HorsesDeniseHaiBaoJuheBaseModelTwelve
@property(nonatomic,strong)NSString *timestamp;
@property(nonatomic, strong)NSString *sign;
......
//
// SurnameHaiBaoJuheReportInfo.h
// DeniseHaiBaoJuheReportInfo.h
// HaiBaoJuheSDK
//
// Created by winFan on 12/21/15.
// Copyright (c) 2015 winFan. All rights reserved.
//
#import "GraphicSurnameHaiBaoJuheBaseModelScript.h"
@interface HaiBaoJuheReportInfo : GraphicSurnameHaiBaoJuheBaseModelScript
#import "HorsesDeniseHaiBaoJuheBaseModelTwelve.h"
@interface HaiBaoJuheReportInfo : HorsesDeniseHaiBaoJuheBaseModelTwelve
@property(nonatomic, strong)NSString *reportType;//类型
@property(nonatomic, strong)NSString *playerId;//玩家ID
......
......@@ -10,7 +10,7 @@
@property(nonatomic, strong)NSString *urlSchemes;
@property(strong) NSMutableArray* SurnameList;
@property(strong) NSMutableArray* DeniseList;
@property BOOL isAppleGzyazfing;
......
#import <UIKit/UIKit.h>
#import "HavanaHaiBaoJuheCheckerSeason.h"
#import "AmbientHaiBaoJuheCheckerSunny.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheLoginInfo.h"
#import "Interface.h"
#import "RogersHaiBaoJuheNotificationFedex.h"
#import "RogersHaiBaoJuheGzyazfInfoFedex.h"
#import "SexualHaiBaoJuheNotificationScarves.h"
#import "SexualHaiBaoJuheGzyazfInfoScarves.h"
#import "UnionInterface.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "RogersHaiBaoJuheConfigFedex.h"
#import "AspireHaiBaoJuheUtilsPublish.h"
#import "SexualHaiBaoJuheConfigScarves.h"
#import "ChangeHaiBaoJuheUtilsMaxim.h"
#import "NetCenter.h"
#import "HaiBaoJuheSDK.h"
#import "HaiBaoJuheSDKDelegate.h"
......
#import <Foundation/Foundation.h>
#import "OtherSetting.h"
@interface GraphicSurnameHaiBaoJuheBaseModelScript : NSObject
@interface HorsesDeniseHaiBaoJuheBaseModelTwelve : NSObject
- (NSString *) SurnameHaiBaoJuheObjectToJsonString;
- (NSString *) DeniseHaiBaoJuheObjectToJsonString;
- (NSMutableString *)paramAddToString;
- (id)initWithDiction:(NSDictionary *)diction;
......
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface RopesSurnameAllManagerJarvis : NSObject
{
NSString* SurnameAPPID_;
NSString* SurnameAPPKEY_;
NSString* SurnameInviterCode_;
}
@property(strong) NSMutableArray* SurnameList;
@property bool SurnameGeiWoHuaQianBa;
+ (RopesSurnameAllManagerJarvis *)BhutanSurnameInstanceClosest;
- (void)BouquetSurnameChuShiHuaRiders;
- (void)DealersSurnameDengLuAuction:(NSString *)SurnameAPPID : (NSString *)SurnameAPPKEY : (UIViewController *)controller;
- (void)ModularSurnameYangShiJupiter:(NSString*)SurnameLeiXing;
- (void)SurnameQuery: (NSString *)SurnameFuWuQiID : (NSString *)SurnameNickName : (NSNumber *)SurnameAmount : (NSString *)SurnameCallBack : (UIViewController *)controller : (NSString *)SurnameServerName;
- (void)SurnameQueryOperation:(UIViewController*)controll SurnameHuoWuID:(NSString*)products SurnameJiaGe:(NSString*)amount SurnameHuoWuMing:(NSString*)productName SurnameDingDanHao:(NSString*) DingDanHao;
@end
#import <Foundation/Foundation.h>
@interface RogersSurnameControlFedex : NSObject
@interface SexualDeniseControlScarves : NSObject
- (void)initSurnameInstance;
- (void)initDeniseInstance;
- (void) SurnameStartGo;
- (void) DeniseStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface RogersHaiBaoJuheConfigFedex : NSObject
@interface SexualHaiBaoJuheConfigScarves : 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;
+ (RogersHaiBaoJuheConfigFedex *)GraphicgetInstanceScript;
+ (SexualHaiBaoJuheConfigScarves *)HorsesgetInstanceTwelve;
- (void) loadFile:(NSString *) fileName;
- (NSString *)RopesgetValueByKeyJarvis:(NSString *) key;
- (NSString *)DonatedgetValueByKeyPickup:(NSString *) key;
- (void) updateC1C2Value:(NSString *)c1 c2:(NSString *)c2;
......
#import "GraphicSurnameHaiBaoJuheBaseModelScript.h"
@interface RogersHaiBaoJuheGzyazfInfoFedex : GraphicSurnameHaiBaoJuheBaseModelScript
#import "HorsesDeniseHaiBaoJuheBaseModelTwelve.h"
@interface SexualHaiBaoJuheGzyazfInfoScarves : HorsesDeniseHaiBaoJuheBaseModelTwelve
@property(nonatomic, strong)NSString *serverId;
@property(nonatomic, strong)NSString *queryId;
......
//
// RogersHaiBaoJuheNotificationFedex.h
// SexualHaiBaoJuheNotificationScarves.h
// public_i9133
//
// Created by winFan on 12/1/15.
......@@ -28,7 +28,7 @@ typedef NS_ENUM(int, HaiBaoJuheSDKNotificationType) {
@interface RogersHaiBaoJuheNotificationFedex : NSObject
@interface SexualHaiBaoJuheNotificationScarves : NSObject
@end
......
#import <UIKit/UIKit.h>
@interface SmokerDeniseIAPHelperControlMedian : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* DeniseDingDanHao;
@property(nonatomic,strong) NSDictionary* DeniseHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* DeniseHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *DeniseHuoWuLieBiaoView;
- (void)DeniseHuaQianView:(UIViewController*)controller DeniseHuoWuD:(NSString*)products DeniseQian:(NSString*)amount DeniseHuoWuMing:(NSString*)productName DeniseDingDanHao:(NSString*)DingDanHao;
@end
#import <Foundation/Foundation.h>
@interface SerumSurnameControlVague : NSObject
@interface TiavaDeniseControlMacos : NSObject
- (void)initSurnameInstance;
- (void)initDeniseInstance;
- (void) SurnameStartGo;
- (void) DeniseStartGo;
@property(strong) NSMutableArray* myarray;
......
#include "SDKInterface.h"
#import <UIKit/UIKit.h>
#import "HaiBaoJuheSDK/RopesSurnameAllManagerJarvis.h"
#import "HaiBaoJuheSDK/GasesSurnameHuiTiaoNotificationKeynote.h"
#import "HaiBaoJuheSDK/BouquetSurnameInformationRiders.h"
#import "HaiBaoJuheSDK/DonatedDeniseAllManagerPickup.h"
#import "HaiBaoJuheSDK/AwfulDeniseHuiTiaoNotificationBolton.h"
#import "HaiBaoJuheSDK/BargainDeniseInformationSurfers.h"
#import "TrackingIO.h"
@implementation SDKInterface : Interface
int mExchange;
NSString *SurnameAppId;
NSString *SurnameAppKey;
NSString *SurnameLeakOrderUrl;
NSString *DeniseAppId;
NSString *DeniseAppKey;
NSString *DeniseLeakOrderUrl;
- (void)SDKinit:(UIViewController *) control
{
[super SDKinit:control];
[RogersHaiBaoJuheConfigFedex GraphicgetInstanceScript];
[[RopesSurnameAllManagerJarvis BhutanSurnameInstanceClosest]BouquetSurnameChuShiHuaRiders];
[[RopesSurnameAllManagerJarvis BhutanSurnameInstanceClosest]ModularSurnameYangShiJupiter:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:RogersSurnameLoginNotificationFedex object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"SurnameToolCallBack" object:nil];
[SexualHaiBaoJuheConfigScarves HorsesgetInstanceTwelve];
[[DonatedDeniseAllManagerPickup SmokerDeniseInstanceMedian]BargainDeniseChuShiHuaSurfers];
[[DonatedDeniseAllManagerPickup SmokerDeniseInstanceMedian]BlitzDeniseYangShiSafaris:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:SexualDeniseLoginNotificationScarves object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"DeniseToolCallBack" object:nil];
[[HavanaHaiBaoJuheCheckerSeason SerumgetInstanceVague] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
[[AmbientHaiBaoJuheCheckerSunny TiavagetInstanceMacos] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
NSString* channelId = [[RogersHaiBaoJuheConfigFedex GraphicgetInstanceScript] RopesgetValueByKeyJarvis:@"gamechannelid"];
NSString* channelId = [[SexualHaiBaoJuheConfigScarves HorsesgetInstanceTwelve] DonatedgetValueByKeyPickup:@"gamechannelid"];
if(channelId == nil || [channelId length] <= 0){
channelId = @"unknown";
}
[TrackingIO initWithappKey:[[RogersHaiBaoJuheConfigFedex GraphicgetInstanceScript] RopesgetValueByKeyJarvis:@"renyunAppKey"] withChannelId:channelId];
[TrackingIO initWithappKey:[[SexualHaiBaoJuheConfigScarves HorsesgetInstanceTwelve] DonatedgetValueByKeyPickup:@"renyunAppKey"] withChannelId:channelId];
}
/**
......@@ -40,9 +40,9 @@ NSString *SurnameLeakOrderUrl;
- (void)SDKloginSDK
{
//APPID APPKEY
SurnameAppId = [[RogersHaiBaoJuheConfigFedex GraphicgetInstanceScript] RopesgetValueByKeyJarvis:@"APP_ID"];
SurnameAppKey =[[RogersHaiBaoJuheConfigFedex GraphicgetInstanceScript] RopesgetValueByKeyJarvis:@"APP_KEY"];
[[RopesSurnameAllManagerJarvis BhutanSurnameInstanceClosest]DealersSurnameDengLuAuction:SurnameAppId :SurnameAppKey :self.controller];
DeniseAppId = [[SexualHaiBaoJuheConfigScarves HorsesgetInstanceTwelve] DonatedgetValueByKeyPickup:@"APP_ID"];
DeniseAppKey =[[SexualHaiBaoJuheConfigScarves HorsesgetInstanceTwelve] DonatedgetValueByKeyPickup:@"APP_KEY"];
[[DonatedDeniseAllManagerPickup SmokerDeniseInstanceMedian]ChairsDeniseDengLuCompaq:DeniseAppId :DeniseAppKey :self.controller];
}
......@@ -53,12 +53,12 @@ NSString *SurnameLeakOrderUrl;
{
NSLog(@"loginchek");
HaiBaoJuheLoginInfo *loginInfo = [HaiBaoJuheLoginInfo alloc];
loginInfo.openId = [[BouquetSurnameInformationRiders getInstance]openId];
loginInfo.sign = [[BouquetSurnameInformationRiders getInstance] token];
loginInfo.timestamp = [[BouquetSurnameInformationRiders getInstance] timestamp];
loginInfo.openId = [[BargainDeniseInformationSurfers getInstance]openId];
loginInfo.sign = [[BargainDeniseInformationSurfers getInstance] token];
loginInfo.timestamp = [[BargainDeniseInformationSurfers getInstance] timestamp];
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[[HavanaHaiBaoJuheCheckerSeason SerumgetInstanceVague] startCheck:loginInfo];
[[AmbientHaiBaoJuheCheckerSunny TiavagetInstanceMacos] startCheck:loginInfo];
});
}
......@@ -82,7 +82,7 @@ NSString *SurnameLeakOrderUrl;
- (void)HCKAssetsToolCallBack:(NSNotification *)notification
{
NSDictionary* payResultDic = notification.object;
NSString* receiptStr = [payResultDic objectForKey:@"SurnameToolResult"];
NSString* receiptStr = [payResultDic objectForKey:@"DeniseToolResult"];
NSString* queryId = [payResultDic objectForKey:@"query_id"];
//收到回调,保存queryid和data
......@@ -101,10 +101,10 @@ NSString *SurnameLeakOrderUrl;
[userDefaults setObject:receiptStr forKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSyn:SurnameLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSyn:DeniseLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
[[HavanaHaiBaoJuheCheckerSeason SerumgetInstanceVague] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
[[AmbientHaiBaoJuheCheckerSunny TiavagetInstanceMacos] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
//删除已保存的
[userDefaults removeObjectForKey:queryId];
[tempQueryIdArray removeObject:queryId];
......@@ -122,11 +122,11 @@ NSString *SurnameLeakOrderUrl;
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
NSString* lastqueryid = [userDefaults objectForKey:@"lastqueryid"];
SurnameLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[AspireHaiBaoJuheUtilsPublish RogerscreateGzyazfUrlFedex],
DeniseLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[ChangeHaiBaoJuheUtilsMaxim SexualcreateGzyazfUrlScarves],
[payInfo userId],
[payInfo playerId]];
[userDefaults setObject:SurnameLeakOrderUrl forKey:@"lastSurnameLeakOrderUrl"];
[userDefaults setObject:DeniseLeakOrderUrl forKey:@"lastDeniseLeakOrderUrl"];
if (lastqueryid!=nil) {
//创建订单前进行补单
......@@ -136,7 +136,7 @@ NSString *SurnameLeakOrderUrl;
receiptStr = [receiptStr stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
//如果不为空,进行最后一次补单
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",lastqueryid,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSyn:SurnameLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSyn:DeniseLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
//删除已保存的
[userDefaults removeObjectForKey:@"lastqueryid"];
......@@ -146,8 +146,8 @@ NSString *SurnameLeakOrderUrl;
mExchange = [payInfo exchange].intValue;
[super SDKgzyazfWithGzyazfmentInfo:payInfo];
SurnameLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[AspireHaiBaoJuheUtilsPublish RogerscreateGzyazfUrlFedex],
DeniseLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[ChangeHaiBaoJuheUtilsMaxim SexualcreateGzyazfUrlScarves],
[payInfo userId],
[payInfo playerId]];
[userDefaults synchronize];
......@@ -213,12 +213,12 @@ NSString *SurnameLeakOrderUrl;
for (NSString* queryId in queryIdArray) {
NSString* receiptStr = [userDefaults valueForKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* lastSurnameLeakOrderUrl = [userDefaults objectForKey:@"lastSurnameLeakOrderUrl"];
NSString* lastDeniseLeakOrderUrl = [userDefaults objectForKey:@"lastDeniseLeakOrderUrl"];
NSString* result;
if (lastSurnameLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSyn:lastSurnameLeakOrderUrl :receiptDic];
if (lastDeniseLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSyn:lastDeniseLeakOrderUrl :receiptDic];
}else{
result = [[NetCenter getInstance] httpPostSyn:[AspireHaiBaoJuheUtilsPublish RogerscreateGzyazfUrlFedex] :receiptDic];
result = [[NetCenter getInstance] httpPostSyn:[ChangeHaiBaoJuheUtilsMaxim SexualcreateGzyazfUrlScarves] :receiptDic];
}
if([@"success" isEqualToString:result]){//成功
[userDefaults removeObjectForKey:queryId];
......@@ -240,7 +240,7 @@ NSString *SurnameLeakOrderUrl;
- (void)receiveCreateOrder:(NSNotification *)notification
{
NSLog(@"创建订单成功");
RogersHaiBaoJuheGzyazfInfoFedex *payInfo = [notification object];
SexualHaiBaoJuheGzyazfInfoScarves *payInfo = [notification object];
NSNumber *amount = @([[payInfo postAmount] integerValue] * mExchange);
NSString *serverId = [payInfo serverId];
......@@ -254,14 +254,14 @@ NSString *SurnameLeakOrderUrl;
NSString *other = [payInfo other];
if (other && [other length] > 0) {
[[RopesSurnameAllManagerJarvis BhutanSurnameInstanceClosest] SurnameQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
[[DonatedDeniseAllManagerPickup SmokerDeniseInstanceMedian] DeniseQuery: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];
[[RopesSurnameAllManagerJarvis BhutanSurnameInstanceClosest] SurnameQueryOperation:self.controller SurnameHuoWuID:products SurnameJiaGe:[payInfo postAmount] SurnameHuoWuMing:[payInfo productName] SurnameDingDanHao:queryId];
[[DonatedDeniseAllManagerPickup SmokerDeniseInstanceMedian] DeniseQueryOperation:self.controller DeniseHuoWuID:products DeniseJiaGe:[payInfo postAmount] DeniseHuoWuMing:[payInfo productName] DeniseDingDanHao:queryId];
}
}
......