lizhihui

更新190313版本2

Showing 60 changed files with 224 additions and 224 deletions
No preview for this file type
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface BreathlessAllManager : NSObject
{
NSString* BreathlessAPPID_;
NSString* BreathlessAPPKEY_;
NSString* BreathlessInviterCode_;
}
@property bool BreathlessGeiWoHuaQianBa;
+ (BreathlessAllManager *)BreathlessInstance;
- (void)BreathlessChuShiHua;
- (void)BreathlessDengLu:(NSString *)BreathlessAPPID : (NSString *)BreathlessAPPKEY : (UIViewController *)controller;
- (void)BreathlessYangShi:(NSString*)BreathlessLeiXing;
- (void)BreathlessQuery: (NSString *)BreathlessFuWuQiID : (NSString *)BreathlessNickName : (NSNumber *)BreathlessAmount : (NSString *)BreathlessCallBack : (UIViewController *)controller : (NSString *)BreathlessServerName;
- (void)BreathlessQueryOperation:(UIViewController*)controll BreathlessHuoWuID:(NSString*)products BreathlessJiaGe:(NSString*)amount BreathlessHuoWuMing:(NSString*)productName BreathlessDingDanHao:(NSString*) DingDanHao;
@end
#import <Foundation/Foundation.h>
extern NSString * const BreathlessExitNotification;
extern NSString * const BreathlessLoginNotification;
extern NSString * const BreathlessErrorNotification;
@interface BreathlessHuiTiaoNotification : NSObject
@end
#import <UIKit/UIKit.h>
@interface BreathlessIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* BreathlessDingDanHao;
@property(nonatomic,strong) NSDictionary* BreathlessHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* BreathlessHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *BreathlessHuoWuLieBiaoView;
- (void)BreathlessHuaQianView:(UIViewController*)controller BreathlessHuoWuD:(NSString*)products BreathlessQian:(NSString*)amount BreathlessHuoWuMing:(NSString*)productName BreathlessDingDanHao:(NSString*)DingDanHao;
@end
#import <Foundation/Foundation.h>
@interface DevilmaycryInformation : NSObject
@interface BreathlessInformation : NSObject
{
//
NSString *openId;
......@@ -12,5 +12,5 @@ NSString *timestamp;
@property(retain,nonatomic) NSString *openId;
@property(retain,nonatomic) NSString *token;
@property(retain,nonatomic) NSString *timestamp;
+ (DevilmaycryInformation *)getInstance;
+ (BreathlessInformation *)getInstance;
@end
......
#import <Foundation/Foundation.h>
@interface DevilmaycryInformationJM : NSObject
@interface BreathlessInformationJM : NSObject
+(NSString *)DevilmaycryJM:(NSString *)jm;
+(NSString *)BreathlessJM:(NSString *)jm;
@end
......
#import <UIKit/UIKit.h>
@interface DevilmaycryLocation : NSObject
@interface BreathlessLocation : NSObject
+ (NSString *)DevilmaycrySKCloudServiceSetupOptionsKey;
+ (NSString *)BreathlessSKCloudServiceSetupOptionsKey;
@end
......
#import <UIKit/UIKit.h>
#import "DevilmaycryInformation.h"
#import "BreathlessInformation.h"
#import <JavaScriptCore/JavaScriptCore.h>
@interface DevilmaycryMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
@interface BreathlessMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
{
UIWebView *webDevilmaycryView_;
UIWebView *webBreathlessView_;
UIActivityIndicatorView *activityIndicator;
}
@property(assign) BOOL DevilmaycryYouYuanJiao;
@property(assign) BOOL BreathlessYouYuanJiao;
- (void)DevilmaycrySettingDevilmaycryView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)DevilmaycryInitWebView;
- (void)BreathlessSettingBreathlessView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)BreathlessInitWebView;
- (void)loadWebPageWithString:(NSString *)url;
- (void)loadWebPageWithJs:(NSString *)content;
- (void)postNotification:(NSString *)name : (NSString *)code;
......
......@@ -7,7 +7,7 @@
objects = {
/* Begin PBXBuildFile section */
265675EE2238E70900E23618 /* Devilmaycry.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 265675ED2238E70900E23618 /* Devilmaycry.framework */; };
265675F02238EA5500E23618 /* Breathless.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 265675EF2238EA5500E23618 /* Breathless.framework */; };
269F653821B6613F006AEC88 /* HaiBaoJuheSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 269F653721B6613F006AEC88 /* HaiBaoJuheSDK.framework */; };
845D18221C8D778400F27EB9 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 845D181B1C8D778400F27EB9 /* Images.xcassets */; };
846BD2241EE9342700E89A1D /* haibaoyouxi_config in Resources */ = {isa = PBXBuildFile; fileRef = 846BD21F1EE9342700E89A1D /* haibaoyouxi_config */; };
......@@ -59,7 +59,7 @@
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
265675ED2238E70900E23618 /* Devilmaycry.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Devilmaycry.framework; sourceTree = "<group>"; };
265675EF2238EA5500E23618 /* Breathless.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Breathless.framework; sourceTree = "<group>"; };
269F653721B6613F006AEC88 /* HaiBaoJuheSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = HaiBaoJuheSDK.framework; sourceTree = "<group>"; };
845D181B1C8D778400F27EB9 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = poolsdk_file/poolsdk/Images.xcassets; sourceTree = "<group>"; };
845D181C1C8D778400F27EB9 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = poolsdk_file/poolsdk/Info.plist; sourceTree = "<group>"; };
......@@ -105,6 +105,7 @@
8484E5161EE7E36800B402D1 /* SystemConfiguration.framework in Frameworks */,
269F653821B6613F006AEC88 /* HaiBaoJuheSDK.framework in Frameworks */,
8484E4FC1EE7E1D800B402D1 /* libsqlite3.dylib in Frameworks */,
265675F02238EA5500E23618 /* Breathless.framework in Frameworks */,
8484E5121EE7E2B800B402D1 /* libz.1.dylib in Frameworks */,
8484E5101EE7E29A00B402D1 /* libc++.1.dylib in Frameworks */,
8484E5001EE7E20C00B402D1 /* CFNetwork.framework in Frameworks */,
......@@ -112,7 +113,6 @@
8484E5021EE7E21F00B402D1 /* UIKit.framework in Frameworks */,
8484E50C1EE7E27100B402D1 /* CoreGraphics.framework in Frameworks */,
8484E5081EE7E25600B402D1 /* CoreText.framework in Frameworks */,
265675EE2238E70900E23618 /* Devilmaycry.framework in Frameworks */,
8484E50E1EE7E28000B402D1 /* QuartzCore.framework in Frameworks */,
8484E5141EE7E2DE00B402D1 /* Foundation.framework in Frameworks */,
8484E50A1EE7E26200B402D1 /* Security.framework in Frameworks */,
......@@ -143,7 +143,7 @@
8476DF641C4DD71D00EC42BA /* poolsdk */ = {
isa = PBXGroup;
children = (
265675ED2238E70900E23618 /* Devilmaycry.framework */,
265675EF2238EA5500E23618 /* Breathless.framework */,
84A090AC1F174E21003D23FB /* TrackingIO.h */,
84A090AA1F160A69003D23FB /* TrackingIO.a */,
846BD21F1EE9342700E89A1D /* haibaoyouxi_config */,
......
#import <Foundation/Foundation.h>
#import "OtherSetting.h"
@interface DevilmaycryHaiBaoJuheBaseModel : NSObject
@interface BreathlessHaiBaoJuheBaseModel : NSObject
- (NSString *)DevilmaycryHaiBaoJuheObjectToJsonString;
- (NSString *)BreathlessHaiBaoJuheObjectToJsonString;
- (NSMutableString *)paramAddToString;
- (id)initWithDiction:(NSDictionary *)diction;
......
......@@ -11,7 +11,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel)
ELogError
};
@interface DevilmaycryHaiBaoJuheDGLogger : NSObject
@interface BreathlessHaiBaoJuheDGLogger : NSObject
+ (void)showLog:(NSString *)fmt,...;
......
......@@ -15,11 +15,11 @@
- (void)initChecker;
- (void)startCheck:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) createOrder:(HaiBaoJuheCreateOrderInfo *)gzyazfInfo;
- (void) DevilmaycryHaiBaoJuhereportOpen;
- (void) DevilmaycryHaiBaoJuhereportSDKOpen;
- (void)DevilmaycryHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) BreathlessHaiBaoJuhereportOpen;
- (void) BreathlessHaiBaoJuhereportSDKOpen;
- (void)BreathlessHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo;
- (void) DevilmaycryHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void) BreathlessHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void)sendNotice:(HaiBaoJuheSDKNotificationType)notiType
notiName:(NSString *)notiName
statusCode:(int)nCode
......@@ -28,7 +28,7 @@
- (void)startCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo;
- (void)DevilmaycryHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
- (void)BreathlessHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
/*
*初始化时调用
......
#import "HaiBaoJuheSDK/DevilmaycryHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheCreateOrderInfo : DevilmaycryHaiBaoJuheBaseModel
#import "HaiBaoJuheSDK/BreathlessHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheCreateOrderInfo : BreathlessHaiBaoJuheBaseModel
@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 *) DevilmaycryHaiBaoJuheGetTsign ;
- (NSString *) DevilmaycryHaiBaoJuheGetTimestamp ;
- (NSString *) BreathlessHaiBaoJuheGetTsign ;
- (NSString *) BreathlessHaiBaoJuheGetTimestamp ;
@end
......
#import "HaiBaoJuheSDK/DevilmaycryHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheGzyazfInfo : DevilmaycryHaiBaoJuheBaseModel
#import "HaiBaoJuheSDK/BreathlessHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheGzyazfInfo : BreathlessHaiBaoJuheBaseModel
@property(nonatomic, strong)NSString *serverId;
@property(nonatomic, strong)NSString *queryId;
......
#import "HaiBaoJuheSDK/DevilmaycryHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheLoginInfo : DevilmaycryHaiBaoJuheBaseModel
#import "HaiBaoJuheSDK/BreathlessHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheLoginInfo : BreathlessHaiBaoJuheBaseModel
@property(nonatomic,strong)NSString *timestamp;
@property(nonatomic, strong)NSString *sign;
......
//
// DevilmaycryHaiBaoJuheReportInfo.h
// BreathlessHaiBaoJuheReportInfo.h
// HaiBaoJuheSDK
//
// Created by winFan on 12/21/15.
// Copyright (c) 2015 winFan. All rights reserved.
//
#import "HaiBaoJuheSDK/DevilmaycryHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheReportInfo : DevilmaycryHaiBaoJuheBaseModel
#import "HaiBaoJuheSDK/BreathlessHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheReportInfo : BreathlessHaiBaoJuheBaseModel
@property(nonatomic, strong)NSString *reportType;//类型
@property(nonatomic, strong)NSString *playerId;//玩家ID
......
......@@ -4,7 +4,7 @@
@interface HaiBaoJuheUtils : NSObject
+(NSString *)md5:(NSString *)str;
+ (NSDictionary *)DevilmaycryHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+ (NSDictionary *)BreathlessHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+(NSString *)createGzyazfOrderUrl;
//*充值回调地址
+(NSString *)createGzyazfUrl;
......
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface DevilmaycryAllManager : NSObject
{
NSString* DevilmaycryAPPID_;
NSString* DevilmaycryAPPKEY_;
NSString* DevilmaycryInviterCode_;
}
@property bool DevilmaycryGeiWoHuaQianBa;
+ (DevilmaycryAllManager *)DevilmaycryInstance;
- (void)DevilmaycryChuShiHua;
- (void)DevilmaycryDengLu:(NSString *)DevilmaycryAPPID : (NSString *)DevilmaycryAPPKEY : (UIViewController *)controller;
- (void)DevilmaycryYangShi:(NSString*)DevilmaycryLeiXing;
- (void)DevilmaycryQuery: (NSString *)DevilmaycryFuWuQiID : (NSString *)DevilmaycryNickName : (NSNumber *)DevilmaycryAmount : (NSString *)DevilmaycryCallBack : (UIViewController *)controller : (NSString *)DevilmaycryServerName;
- (void)DevilmaycryQueryOperation:(UIViewController*)controll DevilmaycryHuoWuID:(NSString*)products DevilmaycryJiaGe:(NSString*)amount DevilmaycryHuoWuMing:(NSString*)productName DevilmaycryDingDanHao:(NSString*) DingDanHao;
@end
#import <Foundation/Foundation.h>
extern NSString * const DevilmaycryExitNotification;
extern NSString * const DevilmaycryLoginNotification;
extern NSString * const DevilmaycryErrorNotification;
@interface DevilmaycryHuiTiaoNotification : NSObject
@end
#import <UIKit/UIKit.h>
@interface DevilmaycryIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* DevilmaycryDingDanHao;
@property(nonatomic,strong) NSDictionary* DevilmaycryHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* DevilmaycryHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *DevilmaycryHuoWuLieBiaoView;
- (void)DevilmaycryHuaQianView:(UIViewController*)controller DevilmaycryHuoWuD:(NSString*)products DevilmaycryQian:(NSString*)amount DevilmaycryHuoWuMing:(NSString*)productName DevilmaycryDingDanHao:(NSString*)DingDanHao;
@end
#include "SDKInterface.h"
#import <UIKit/UIKit.h>
#import "Devilmaycry/DevilmaycryAllManager.h"
#import "Devilmaycry/DevilmaycryHuiTiaoNotification.h"
#import "Devilmaycry/DevilmaycryInformation.h"
#import "Breathless/BreathlessAllManager.h"
#import "Breathless/BreathlessHuiTiaoNotification.h"
#import "Breathless/BreathlessInformation.h"
#import "TrackingIO.h"
@implementation SDKInterface : Interface
int mExchange;
NSString *DevilmaycryAppId;
NSString *DevilmaycryAppKey;
NSString *DevilmaycryLeakOrderUrl;
NSString *BreathlessAppId;
NSString *BreathlessAppKey;
NSString *BreathlessLeakOrderUrl;
- (void)SDKinit:(UIViewController *) control
{
......@@ -20,10 +20,10 @@ NSString *DevilmaycryLeakOrderUrl;
[super SDKinit:control];
[HaiBaoJuheConfig getInstance];
[[DevilmaycryAllManager DevilmaycryInstance]DevilmaycryChuShiHua];
[[DevilmaycryAllManager DevilmaycryInstance]DevilmaycryYangShi:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:DevilmaycryLoginNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"DevilmaycryToolCallBack" object:nil];
[[BreathlessAllManager BreathlessInstance]BreathlessChuShiHua];
[[BreathlessAllManager BreathlessInstance]BreathlessYangShi:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:BreathlessLoginNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"BreathlessToolCallBack" object:nil];
[[HaiBaoJuheChecker getInstance] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
......@@ -40,9 +40,9 @@ NSString *DevilmaycryLeakOrderUrl;
- (void)SDKloginSDK
{
//APPID APPKEY
DevilmaycryAppId = [[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_ID"];
DevilmaycryAppKey =[[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_KEY"];
[[DevilmaycryAllManager DevilmaycryInstance]DevilmaycryDengLu:DevilmaycryAppId :DevilmaycryAppKey :self.controller];
BreathlessAppId = [[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_ID"];
BreathlessAppKey =[[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_KEY"];
[[BreathlessAllManager BreathlessInstance]BreathlessDengLu:BreathlessAppId :BreathlessAppKey :self.controller];
}
......@@ -53,9 +53,9 @@ NSString *DevilmaycryLeakOrderUrl;
{
NSLog(@"loginchek");
HaiBaoJuheLoginInfo *loginInfo = [HaiBaoJuheLoginInfo alloc];
loginInfo.openId = [[DevilmaycryInformation getInstance]openId];
loginInfo.sign = [[DevilmaycryInformation getInstance] token];
loginInfo.timestamp = [[DevilmaycryInformation getInstance] timestamp];
loginInfo.openId = [[BreathlessInformation getInstance]openId];
loginInfo.sign = [[BreathlessInformation getInstance] token];
loginInfo.timestamp = [[BreathlessInformation getInstance] timestamp];
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[[HaiBaoJuheChecker getInstance] startCheck:loginInfo];
......@@ -82,7 +82,7 @@ NSString *DevilmaycryLeakOrderUrl;
- (void)HCKAssetsToolCallBack:(NSNotification *)notification
{
NSDictionary* payResultDic = notification.object;
NSString* receiptStr = [payResultDic objectForKey:@"DevilmaycryToolResult"];
NSString* receiptStr = [payResultDic objectForKey:@"BreathlessToolResult"];
NSString* queryId = [payResultDic objectForKey:@"query_id"];
//收到回调,保存queryid和data
......@@ -101,7 +101,7 @@ NSString *DevilmaycryLeakOrderUrl;
[userDefaults setObject:receiptStr forKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSyn:DevilmaycryLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSyn:BreathlessLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
//删除已保存的
......@@ -121,11 +121,11 @@ NSString *DevilmaycryLeakOrderUrl;
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
NSString* lastqueryid = [userDefaults objectForKey:@"lastqueryid"];
DevilmaycryLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
BreathlessLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[HaiBaoJuheUtils createGzyazfUrl],
[payInfo userId],
[payInfo playerId]];
[userDefaults setObject:DevilmaycryLeakOrderUrl forKey:@"lastDevilmaycryLeakOrderUrl"];
[userDefaults setObject:BreathlessLeakOrderUrl forKey:@"lastBreathlessLeakOrderUrl"];
if (lastqueryid!=nil) {
//创建订单前进行补单
......@@ -135,7 +135,7 @@ NSString *DevilmaycryLeakOrderUrl;
receiptStr = [receiptStr stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
//如果不为空,进行最后一次补单
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",lastqueryid,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSyn:DevilmaycryLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSyn:BreathlessLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
//删除已保存的
[userDefaults removeObjectForKey:@"lastqueryid"];
......@@ -145,7 +145,7 @@ NSString *DevilmaycryLeakOrderUrl;
mExchange = [payInfo exchange].intValue;
[super SDKgzyazfWithGzyazfmentInfo:payInfo];
DevilmaycryLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
BreathlessLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[HaiBaoJuheUtils createGzyazfUrl],
[payInfo userId],
[payInfo playerId]];
......@@ -212,10 +212,10 @@ NSString *DevilmaycryLeakOrderUrl;
for (NSString* queryId in queryIdArray) {
NSString* receiptStr = [userDefaults valueForKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* lastDevilmaycryLeakOrderUrl = [userDefaults objectForKey:@"lastDevilmaycryLeakOrderUrl"];
NSString* lastBreathlessLeakOrderUrl = [userDefaults objectForKey:@"lastBreathlessLeakOrderUrl"];
NSString* result;
if (lastDevilmaycryLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSyn:lastDevilmaycryLeakOrderUrl :receiptDic];
if (lastBreathlessLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSyn:lastBreathlessLeakOrderUrl :receiptDic];
}else{
result = [[NetCenter getInstance] httpPostSyn:[HaiBaoJuheUtils createGzyazfUrl] :receiptDic];
}
......@@ -253,14 +253,14 @@ NSString *DevilmaycryLeakOrderUrl;
NSString *other = [payInfo other];
if (other && [other length] > 0) {
[[DevilmaycryAllManager DevilmaycryInstance] DevilmaycryQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
[[BreathlessAllManager BreathlessInstance] BreathlessQuery: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];
[[DevilmaycryAllManager DevilmaycryInstance] DevilmaycryQueryOperation:self.controller DevilmaycryHuoWuID:products DevilmaycryJiaGe:[payInfo postAmount] DevilmaycryHuoWuMing:[payInfo productName] DevilmaycryDingDanHao:queryId];
[[BreathlessAllManager BreathlessInstance] BreathlessQueryOperation:self.controller BreathlessHuoWuID:products BreathlessJiaGe:[payInfo postAmount] BreathlessHuoWuMing:[payInfo productName] BreathlessDingDanHao:queryId];
}
}
......
......@@ -10,9 +10,9 @@
7、``` 所有接口PoolSdk 替换成 HaiBaoJuheSDK(如不理解可以参考demo或者详细文档) ``` <br>
已更新 海豹聚合SDK 2018年12月05日版本 快速更新到 2019年03月13日版本1方法<br>
已更新 海豹聚合SDK 2018年12月05日版本 快速更新到 2019年03月13日版本2方法<br>
1、``` 删除poolsdk_file文件夹中原来framework ``` <br>
2、``` 引入poolsdk_file文件夹中Devilmaycry.framework ``` <br>
2、``` 引入poolsdk_file文件夹中Breathless.framework ``` <br>
3、``` 替换SDKInterface.m文件 ``` <br>
4、``` 替换HaiBaoJuheSDK.framework ``` <br>
5、``` 原 URL Schemes 中的 i9133public 改为 sdk.uuufish.com (可参考demo中info设置) ``` <br>
\ No newline at end of file
......
#import <Foundation/Foundation.h>
#import "OtherSetting.h"
@interface DevilmaycryHaiBaoJuheBaseModel : NSObject
@interface BreathlessHaiBaoJuheBaseModel : NSObject
- (NSString *)DevilmaycryHaiBaoJuheObjectToJsonString;
- (NSString *)BreathlessHaiBaoJuheObjectToJsonString;
- (NSMutableString *)paramAddToString;
- (id)initWithDiction:(NSDictionary *)diction;
......
......@@ -11,7 +11,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel)
ELogError
};
@interface DevilmaycryHaiBaoJuheDGLogger : NSObject
@interface BreathlessHaiBaoJuheDGLogger : NSObject
+ (void)showLog:(NSString *)fmt,...;
......
......@@ -15,11 +15,11 @@
- (void)initChecker;
- (void)startCheck:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) createOrder:(HaiBaoJuheCreateOrderInfo *)gzyazfInfo;
- (void) DevilmaycryHaiBaoJuhereportOpen;
- (void) DevilmaycryHaiBaoJuhereportSDKOpen;
- (void)DevilmaycryHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) BreathlessHaiBaoJuhereportOpen;
- (void) BreathlessHaiBaoJuhereportSDKOpen;
- (void)BreathlessHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo;
- (void) DevilmaycryHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void) BreathlessHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void)sendNotice:(HaiBaoJuheSDKNotificationType)notiType
notiName:(NSString *)notiName
statusCode:(int)nCode
......@@ -28,7 +28,7 @@
- (void)startCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo;
- (void)DevilmaycryHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
- (void)BreathlessHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
/*
*初始化时调用
......
#import "HaiBaoJuheSDK/DevilmaycryHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheCreateOrderInfo : DevilmaycryHaiBaoJuheBaseModel
#import "HaiBaoJuheSDK/BreathlessHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheCreateOrderInfo : BreathlessHaiBaoJuheBaseModel
@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 *) DevilmaycryHaiBaoJuheGetTsign ;
- (NSString *) DevilmaycryHaiBaoJuheGetTimestamp ;
- (NSString *) BreathlessHaiBaoJuheGetTsign ;
- (NSString *) BreathlessHaiBaoJuheGetTimestamp ;
@end
......
#import "HaiBaoJuheSDK/DevilmaycryHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheGzyazfInfo : DevilmaycryHaiBaoJuheBaseModel
#import "HaiBaoJuheSDK/BreathlessHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheGzyazfInfo : BreathlessHaiBaoJuheBaseModel
@property(nonatomic, strong)NSString *serverId;
@property(nonatomic, strong)NSString *queryId;
......
#import "HaiBaoJuheSDK/DevilmaycryHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheLoginInfo : DevilmaycryHaiBaoJuheBaseModel
#import "HaiBaoJuheSDK/BreathlessHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheLoginInfo : BreathlessHaiBaoJuheBaseModel
@property(nonatomic,strong)NSString *timestamp;
@property(nonatomic, strong)NSString *sign;
......
//
// DevilmaycryHaiBaoJuheReportInfo.h
// BreathlessHaiBaoJuheReportInfo.h
// HaiBaoJuheSDK
//
// Created by winFan on 12/21/15.
// Copyright (c) 2015 winFan. All rights reserved.
//
#import "HaiBaoJuheSDK/DevilmaycryHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheReportInfo : DevilmaycryHaiBaoJuheBaseModel
#import "HaiBaoJuheSDK/BreathlessHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheReportInfo : BreathlessHaiBaoJuheBaseModel
@property(nonatomic, strong)NSString *reportType;//类型
@property(nonatomic, strong)NSString *playerId;//玩家ID
......
......@@ -4,7 +4,7 @@
@interface HaiBaoJuheUtils : NSObject
+(NSString *)md5:(NSString *)str;
+ (NSDictionary *)DevilmaycryHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+ (NSDictionary *)BreathlessHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+(NSString *)createGzyazfOrderUrl;
//*充值回调地址
+(NSString *)createGzyazfUrl;
......
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface BreathlessAllManager : NSObject
{
NSString* BreathlessAPPID_;
NSString* BreathlessAPPKEY_;
NSString* BreathlessInviterCode_;
}
@property bool BreathlessGeiWoHuaQianBa;
+ (BreathlessAllManager *)BreathlessInstance;
- (void)BreathlessChuShiHua;
- (void)BreathlessDengLu:(NSString *)BreathlessAPPID : (NSString *)BreathlessAPPKEY : (UIViewController *)controller;
- (void)BreathlessYangShi:(NSString*)BreathlessLeiXing;
- (void)BreathlessQuery: (NSString *)BreathlessFuWuQiID : (NSString *)BreathlessNickName : (NSNumber *)BreathlessAmount : (NSString *)BreathlessCallBack : (UIViewController *)controller : (NSString *)BreathlessServerName;
- (void)BreathlessQueryOperation:(UIViewController*)controll BreathlessHuoWuID:(NSString*)products BreathlessJiaGe:(NSString*)amount BreathlessHuoWuMing:(NSString*)productName BreathlessDingDanHao:(NSString*) DingDanHao;
@end
#import <Foundation/Foundation.h>
extern NSString * const BreathlessExitNotification;
extern NSString * const BreathlessLoginNotification;
extern NSString * const BreathlessErrorNotification;
@interface BreathlessHuiTiaoNotification : NSObject
@end
#import <UIKit/UIKit.h>
@interface BreathlessIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* BreathlessDingDanHao;
@property(nonatomic,strong) NSDictionary* BreathlessHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* BreathlessHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *BreathlessHuoWuLieBiaoView;
- (void)BreathlessHuaQianView:(UIViewController*)controller BreathlessHuoWuD:(NSString*)products BreathlessQian:(NSString*)amount BreathlessHuoWuMing:(NSString*)productName BreathlessDingDanHao:(NSString*)DingDanHao;
@end
#import <Foundation/Foundation.h>
@interface DevilmaycryInformation : NSObject
@interface BreathlessInformation : NSObject
{
//
NSString *openId;
......@@ -12,5 +12,5 @@ NSString *timestamp;
@property(retain,nonatomic) NSString *openId;
@property(retain,nonatomic) NSString *token;
@property(retain,nonatomic) NSString *timestamp;
+ (DevilmaycryInformation *)getInstance;
+ (BreathlessInformation *)getInstance;
@end
......
#import <Foundation/Foundation.h>
@interface DevilmaycryInformationJM : NSObject
@interface BreathlessInformationJM : NSObject
+(NSString *)DevilmaycryJM:(NSString *)jm;
+(NSString *)BreathlessJM:(NSString *)jm;
@end
......
#import <UIKit/UIKit.h>
@interface DevilmaycryLocation : NSObject
@interface BreathlessLocation : NSObject
+ (NSString *)DevilmaycrySKCloudServiceSetupOptionsKey;
+ (NSString *)BreathlessSKCloudServiceSetupOptionsKey;
@end
......
#import <UIKit/UIKit.h>
#import "DevilmaycryInformation.h"
#import "BreathlessInformation.h"
#import <JavaScriptCore/JavaScriptCore.h>
@interface DevilmaycryMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
@interface BreathlessMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
{
UIWebView *webDevilmaycryView_;
UIWebView *webBreathlessView_;
UIActivityIndicatorView *activityIndicator;
}
@property(assign) BOOL DevilmaycryYouYuanJiao;
@property(assign) BOOL BreathlessYouYuanJiao;
- (void)DevilmaycrySettingDevilmaycryView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)DevilmaycryInitWebView;
- (void)BreathlessSettingBreathlessView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)BreathlessInitWebView;
- (void)loadWebPageWithString:(NSString *)url;
- (void)loadWebPageWithJs:(NSString *)content;
- (void)postNotification:(NSString *)name : (NSString *)code;
......
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface DevilmaycryAllManager : NSObject
{
NSString* DevilmaycryAPPID_;
NSString* DevilmaycryAPPKEY_;
NSString* DevilmaycryInviterCode_;
}
@property bool DevilmaycryGeiWoHuaQianBa;
+ (DevilmaycryAllManager *)DevilmaycryInstance;
- (void)DevilmaycryChuShiHua;
- (void)DevilmaycryDengLu:(NSString *)DevilmaycryAPPID : (NSString *)DevilmaycryAPPKEY : (UIViewController *)controller;
- (void)DevilmaycryYangShi:(NSString*)DevilmaycryLeiXing;
- (void)DevilmaycryQuery: (NSString *)DevilmaycryFuWuQiID : (NSString *)DevilmaycryNickName : (NSNumber *)DevilmaycryAmount : (NSString *)DevilmaycryCallBack : (UIViewController *)controller : (NSString *)DevilmaycryServerName;
- (void)DevilmaycryQueryOperation:(UIViewController*)controll DevilmaycryHuoWuID:(NSString*)products DevilmaycryJiaGe:(NSString*)amount DevilmaycryHuoWuMing:(NSString*)productName DevilmaycryDingDanHao:(NSString*) DingDanHao;
@end
#import <Foundation/Foundation.h>
extern NSString * const DevilmaycryExitNotification;
extern NSString * const DevilmaycryLoginNotification;
extern NSString * const DevilmaycryErrorNotification;
@interface DevilmaycryHuiTiaoNotification : NSObject
@end
#import <UIKit/UIKit.h>
@interface DevilmaycryIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* DevilmaycryDingDanHao;
@property(nonatomic,strong) NSDictionary* DevilmaycryHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* DevilmaycryHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *DevilmaycryHuoWuLieBiaoView;
- (void)DevilmaycryHuaQianView:(UIViewController*)controller DevilmaycryHuoWuD:(NSString*)products DevilmaycryQian:(NSString*)amount DevilmaycryHuoWuMing:(NSString*)productName DevilmaycryDingDanHao:(NSString*)DingDanHao;
@end
#include "SDKInterface.h"
#import <UIKit/UIKit.h>
#import "Devilmaycry/DevilmaycryAllManager.h"
#import "Devilmaycry/DevilmaycryHuiTiaoNotification.h"
#import "Devilmaycry/DevilmaycryInformation.h"
#import "Breathless/BreathlessAllManager.h"
#import "Breathless/BreathlessHuiTiaoNotification.h"
#import "Breathless/BreathlessInformation.h"
#import "TrackingIO.h"
@implementation SDKInterface : Interface
int mExchange;
NSString *DevilmaycryAppId;
NSString *DevilmaycryAppKey;
NSString *DevilmaycryLeakOrderUrl;
NSString *BreathlessAppId;
NSString *BreathlessAppKey;
NSString *BreathlessLeakOrderUrl;
- (void)SDKinit:(UIViewController *) control
{
......@@ -20,10 +20,10 @@ NSString *DevilmaycryLeakOrderUrl;
[super SDKinit:control];
[HaiBaoJuheConfig getInstance];
[[DevilmaycryAllManager DevilmaycryInstance]DevilmaycryChuShiHua];
[[DevilmaycryAllManager DevilmaycryInstance]DevilmaycryYangShi:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:DevilmaycryLoginNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"DevilmaycryToolCallBack" object:nil];
[[BreathlessAllManager BreathlessInstance]BreathlessChuShiHua];
[[BreathlessAllManager BreathlessInstance]BreathlessYangShi:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:BreathlessLoginNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"BreathlessToolCallBack" object:nil];
[[HaiBaoJuheChecker getInstance] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
......@@ -40,9 +40,9 @@ NSString *DevilmaycryLeakOrderUrl;
- (void)SDKloginSDK
{
//APPID APPKEY
DevilmaycryAppId = [[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_ID"];
DevilmaycryAppKey =[[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_KEY"];
[[DevilmaycryAllManager DevilmaycryInstance]DevilmaycryDengLu:DevilmaycryAppId :DevilmaycryAppKey :self.controller];
BreathlessAppId = [[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_ID"];
BreathlessAppKey =[[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_KEY"];
[[BreathlessAllManager BreathlessInstance]BreathlessDengLu:BreathlessAppId :BreathlessAppKey :self.controller];
}
......@@ -53,9 +53,9 @@ NSString *DevilmaycryLeakOrderUrl;
{
NSLog(@"loginchek");
HaiBaoJuheLoginInfo *loginInfo = [HaiBaoJuheLoginInfo alloc];
loginInfo.openId = [[DevilmaycryInformation getInstance]openId];
loginInfo.sign = [[DevilmaycryInformation getInstance] token];
loginInfo.timestamp = [[DevilmaycryInformation getInstance] timestamp];
loginInfo.openId = [[BreathlessInformation getInstance]openId];
loginInfo.sign = [[BreathlessInformation getInstance] token];
loginInfo.timestamp = [[BreathlessInformation getInstance] timestamp];
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[[HaiBaoJuheChecker getInstance] startCheck:loginInfo];
......@@ -82,7 +82,7 @@ NSString *DevilmaycryLeakOrderUrl;
- (void)HCKAssetsToolCallBack:(NSNotification *)notification
{
NSDictionary* payResultDic = notification.object;
NSString* receiptStr = [payResultDic objectForKey:@"DevilmaycryToolResult"];
NSString* receiptStr = [payResultDic objectForKey:@"BreathlessToolResult"];
NSString* queryId = [payResultDic objectForKey:@"query_id"];
//收到回调,保存queryid和data
......@@ -101,7 +101,7 @@ NSString *DevilmaycryLeakOrderUrl;
[userDefaults setObject:receiptStr forKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSyn:DevilmaycryLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSyn:BreathlessLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
//删除已保存的
......@@ -121,11 +121,11 @@ NSString *DevilmaycryLeakOrderUrl;
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
NSString* lastqueryid = [userDefaults objectForKey:@"lastqueryid"];
DevilmaycryLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
BreathlessLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[HaiBaoJuheUtils createGzyazfUrl],
[payInfo userId],
[payInfo playerId]];
[userDefaults setObject:DevilmaycryLeakOrderUrl forKey:@"lastDevilmaycryLeakOrderUrl"];
[userDefaults setObject:BreathlessLeakOrderUrl forKey:@"lastBreathlessLeakOrderUrl"];
if (lastqueryid!=nil) {
//创建订单前进行补单
......@@ -135,7 +135,7 @@ NSString *DevilmaycryLeakOrderUrl;
receiptStr = [receiptStr stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
//如果不为空,进行最后一次补单
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",lastqueryid,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSyn:DevilmaycryLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSyn:BreathlessLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
//删除已保存的
[userDefaults removeObjectForKey:@"lastqueryid"];
......@@ -145,7 +145,7 @@ NSString *DevilmaycryLeakOrderUrl;
mExchange = [payInfo exchange].intValue;
[super SDKgzyazfWithGzyazfmentInfo:payInfo];
DevilmaycryLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
BreathlessLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[HaiBaoJuheUtils createGzyazfUrl],
[payInfo userId],
[payInfo playerId]];
......@@ -212,10 +212,10 @@ NSString *DevilmaycryLeakOrderUrl;
for (NSString* queryId in queryIdArray) {
NSString* receiptStr = [userDefaults valueForKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* lastDevilmaycryLeakOrderUrl = [userDefaults objectForKey:@"lastDevilmaycryLeakOrderUrl"];
NSString* lastBreathlessLeakOrderUrl = [userDefaults objectForKey:@"lastBreathlessLeakOrderUrl"];
NSString* result;
if (lastDevilmaycryLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSyn:lastDevilmaycryLeakOrderUrl :receiptDic];
if (lastBreathlessLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSyn:lastBreathlessLeakOrderUrl :receiptDic];
}else{
result = [[NetCenter getInstance] httpPostSyn:[HaiBaoJuheUtils createGzyazfUrl] :receiptDic];
}
......@@ -253,14 +253,14 @@ NSString *DevilmaycryLeakOrderUrl;
NSString *other = [payInfo other];
if (other && [other length] > 0) {
[[DevilmaycryAllManager DevilmaycryInstance] DevilmaycryQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
[[BreathlessAllManager BreathlessInstance] BreathlessQuery: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];
[[DevilmaycryAllManager DevilmaycryInstance] DevilmaycryQueryOperation:self.controller DevilmaycryHuoWuID:products DevilmaycryJiaGe:[payInfo postAmount] DevilmaycryHuoWuMing:[payInfo productName] DevilmaycryDingDanHao:queryId];
[[BreathlessAllManager BreathlessInstance] BreathlessQueryOperation:self.controller BreathlessHuoWuID:products BreathlessJiaGe:[payInfo postAmount] BreathlessHuoWuMing:[payInfo productName] BreathlessDingDanHao:queryId];
}
}
......