lizhihui

更新190319版本1

Showing 62 changed files with 233 additions and 233 deletions
No preview for this file type
1 -#import <UIKit/UIKit.h>
2 -#import "StoreKit/StoreKit.h"
3 -
4 -@interface BreathlessAllManager : NSObject
5 -{
6 - NSString* BreathlessAPPID_;
7 - NSString* BreathlessAPPKEY_;
8 -
9 - NSString* BreathlessInviterCode_;
10 -}
11 -
12 -@property bool BreathlessGeiWoHuaQianBa;
13 -
14 -+ (BreathlessAllManager *)BreathlessInstance;
15 -
16 -- (void)BreathlessChuShiHua;
17 -
18 -- (void)BreathlessDengLu:(NSString *)BreathlessAPPID : (NSString *)BreathlessAPPKEY : (UIViewController *)controller;
19 -
20 -- (void)BreathlessYangShi:(NSString*)BreathlessLeiXing;
21 -
22 -- (void)BreathlessQuery: (NSString *)BreathlessFuWuQiID : (NSString *)BreathlessNickName : (NSNumber *)BreathlessAmount : (NSString *)BreathlessCallBack : (UIViewController *)controller : (NSString *)BreathlessServerName;
23 -
24 -- (void)BreathlessQueryOperation:(UIViewController*)controll BreathlessHuoWuID:(NSString*)products BreathlessJiaGe:(NSString*)amount BreathlessHuoWuMing:(NSString*)productName BreathlessDingDanHao:(NSString*) DingDanHao;
25 -
26 -
27 -
28 -@end
1 -#import <Foundation/Foundation.h>
2 -
3 -extern NSString * const BreathlessExitNotification;
4 -extern NSString * const BreathlessLoginNotification;
5 -extern NSString * const BreathlessErrorNotification;
6 -
7 -
8 -@interface BreathlessHuiTiaoNotification : NSObject
9 -
10 -@end
1 -#import <UIKit/UIKit.h>
2 -
3 -@interface BreathlessIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource>
4 -
5 -@property(nonatomic,strong) NSString* BreathlessDingDanHao;
6 -@property(nonatomic,strong) NSDictionary* BreathlessHuoWuLieBiao;
7 -@property(nonatomic,strong) NSMutableArray* BreathlessHuoWuIDLieBiao;
8 -@property(nonatomic, strong) UITableView *BreathlessHuoWuLieBiaoView;
9 -
10 -- (void)BreathlessHuaQianView:(UIViewController*)controller BreathlessHuoWuD:(NSString*)products BreathlessQian:(NSString*)amount BreathlessHuoWuMing:(NSString*)productName BreathlessDingDanHao:(NSString*)DingDanHao;
11 -
12 -@end
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
7 objects = { 7 objects = {
8 8
9 /* Begin PBXBuildFile section */ 9 /* Begin PBXBuildFile section */
10 - 265675F02238EA5500E23618 /* Breathless.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 265675EF2238EA5500E23618 /* Breathless.framework */; }; 10 + 2606300B224090BF00019981 /* Menstruation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2606300A224090BF00019981 /* Menstruation.framework */; };
11 269F653821B6613F006AEC88 /* HaiBaoJuheSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 269F653721B6613F006AEC88 /* HaiBaoJuheSDK.framework */; }; 11 269F653821B6613F006AEC88 /* HaiBaoJuheSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 269F653721B6613F006AEC88 /* HaiBaoJuheSDK.framework */; };
12 845D18221C8D778400F27EB9 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 845D181B1C8D778400F27EB9 /* Images.xcassets */; }; 12 845D18221C8D778400F27EB9 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 845D181B1C8D778400F27EB9 /* Images.xcassets */; };
13 846BD2241EE9342700E89A1D /* haibaoyouxi_config in Resources */ = {isa = PBXBuildFile; fileRef = 846BD21F1EE9342700E89A1D /* haibaoyouxi_config */; }; 13 846BD2241EE9342700E89A1D /* haibaoyouxi_config in Resources */ = {isa = PBXBuildFile; fileRef = 846BD21F1EE9342700E89A1D /* haibaoyouxi_config */; };
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
59 /* End PBXCopyFilesBuildPhase section */ 59 /* End PBXCopyFilesBuildPhase section */
60 60
61 /* Begin PBXFileReference section */ 61 /* Begin PBXFileReference section */
62 - 265675EF2238EA5500E23618 /* Breathless.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Breathless.framework; sourceTree = "<group>"; }; 62 + 2606300A224090BF00019981 /* Menstruation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Menstruation.framework; sourceTree = "<group>"; };
63 269F653721B6613F006AEC88 /* HaiBaoJuheSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = HaiBaoJuheSDK.framework; sourceTree = "<group>"; }; 63 269F653721B6613F006AEC88 /* HaiBaoJuheSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = HaiBaoJuheSDK.framework; sourceTree = "<group>"; };
64 845D181B1C8D778400F27EB9 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = poolsdk_file/poolsdk/Images.xcassets; sourceTree = "<group>"; }; 64 845D181B1C8D778400F27EB9 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = poolsdk_file/poolsdk/Images.xcassets; sourceTree = "<group>"; };
65 845D181C1C8D778400F27EB9 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = poolsdk_file/poolsdk/Info.plist; sourceTree = "<group>"; }; 65 845D181C1C8D778400F27EB9 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = poolsdk_file/poolsdk/Info.plist; sourceTree = "<group>"; };
...@@ -105,7 +105,6 @@ ...@@ -105,7 +105,6 @@
105 8484E5161EE7E36800B402D1 /* SystemConfiguration.framework in Frameworks */, 105 8484E5161EE7E36800B402D1 /* SystemConfiguration.framework in Frameworks */,
106 269F653821B6613F006AEC88 /* HaiBaoJuheSDK.framework in Frameworks */, 106 269F653821B6613F006AEC88 /* HaiBaoJuheSDK.framework in Frameworks */,
107 8484E4FC1EE7E1D800B402D1 /* libsqlite3.dylib in Frameworks */, 107 8484E4FC1EE7E1D800B402D1 /* libsqlite3.dylib in Frameworks */,
108 - 265675F02238EA5500E23618 /* Breathless.framework in Frameworks */,
109 8484E5121EE7E2B800B402D1 /* libz.1.dylib in Frameworks */, 108 8484E5121EE7E2B800B402D1 /* libz.1.dylib in Frameworks */,
110 8484E5101EE7E29A00B402D1 /* libc++.1.dylib in Frameworks */, 109 8484E5101EE7E29A00B402D1 /* libc++.1.dylib in Frameworks */,
111 8484E5001EE7E20C00B402D1 /* CFNetwork.framework in Frameworks */, 110 8484E5001EE7E20C00B402D1 /* CFNetwork.framework in Frameworks */,
...@@ -115,6 +114,7 @@ ...@@ -115,6 +114,7 @@
115 8484E5081EE7E25600B402D1 /* CoreText.framework in Frameworks */, 114 8484E5081EE7E25600B402D1 /* CoreText.framework in Frameworks */,
116 8484E50E1EE7E28000B402D1 /* QuartzCore.framework in Frameworks */, 115 8484E50E1EE7E28000B402D1 /* QuartzCore.framework in Frameworks */,
117 8484E5141EE7E2DE00B402D1 /* Foundation.framework in Frameworks */, 116 8484E5141EE7E2DE00B402D1 /* Foundation.framework in Frameworks */,
117 + 2606300B224090BF00019981 /* Menstruation.framework in Frameworks */,
118 8484E50A1EE7E26200B402D1 /* Security.framework in Frameworks */, 118 8484E50A1EE7E26200B402D1 /* Security.framework in Frameworks */,
119 8484E5041EE7E24400B402D1 /* StoreKit.framework in Frameworks */, 119 8484E5041EE7E24400B402D1 /* StoreKit.framework in Frameworks */,
120 8484E4FE1EE7E1F700B402D1 /* CoreTelephony.framework in Frameworks */, 120 8484E4FE1EE7E1F700B402D1 /* CoreTelephony.framework in Frameworks */,
...@@ -143,7 +143,7 @@ ...@@ -143,7 +143,7 @@
143 8476DF641C4DD71D00EC42BA /* poolsdk */ = { 143 8476DF641C4DD71D00EC42BA /* poolsdk */ = {
144 isa = PBXGroup; 144 isa = PBXGroup;
145 children = ( 145 children = (
146 - 265675EF2238EA5500E23618 /* Breathless.framework */, 146 + 2606300A224090BF00019981 /* Menstruation.framework */,
147 84A090AC1F174E21003D23FB /* TrackingIO.h */, 147 84A090AC1F174E21003D23FB /* TrackingIO.h */,
148 84A090AA1F160A69003D23FB /* TrackingIO.a */, 148 84A090AA1F160A69003D23FB /* TrackingIO.a */,
149 846BD21F1EE9342700E89A1D /* haibaoyouxi_config */, 149 846BD21F1EE9342700E89A1D /* haibaoyouxi_config */,
...@@ -280,7 +280,7 @@ ...@@ -280,7 +280,7 @@
280 TargetAttributes = { 280 TargetAttributes = {
281 BB5F3C871C1811BC00DA339D = { 281 BB5F3C871C1811BC00DA339D = {
282 CreatedOnToolsVersion = 6.4; 282 CreatedOnToolsVersion = 6.4;
283 - DevelopmentTeam = VJWR45W95K; 283 + DevelopmentTeam = A3DGN26BA8;
284 ProvisioningStyle = Manual; 284 ProvisioningStyle = Manual;
285 }; 285 };
286 BB5F3CA01C1811BC00DA339D = { 286 BB5F3CA01C1811BC00DA339D = {
...@@ -469,7 +469,7 @@ ...@@ -469,7 +469,7 @@
469 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 469 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
470 CODE_SIGN_STYLE = Manual; 470 CODE_SIGN_STYLE = Manual;
471 DEAD_CODE_STRIPPING = NO; 471 DEAD_CODE_STRIPPING = NO;
472 - DEVELOPMENT_TEAM = VJWR45W95K; 472 + DEVELOPMENT_TEAM = A3DGN26BA8;
473 ENABLE_BITCODE = NO; 473 ENABLE_BITCODE = NO;
474 FRAMEWORK_SEARCH_PATHS = ( 474 FRAMEWORK_SEARCH_PATHS = (
475 "$(inherited)", 475 "$(inherited)",
...@@ -487,10 +487,10 @@ ...@@ -487,10 +487,10 @@
487 ); 487 );
488 ONLY_ACTIVE_ARCH = NO; 488 ONLY_ACTIVE_ARCH = NO;
489 OTHER_LDFLAGS = ""; 489 OTHER_LDFLAGS = "";
490 - PRODUCT_BUNDLE_IDENTIFIER = com.zhiZU.Nxiay.pop; 490 + PRODUCT_BUNDLE_IDENTIFIER = com.mihuyo.beta;
491 PRODUCT_NAME = "$(TARGET_NAME)"; 491 PRODUCT_NAME = "$(TARGET_NAME)";
492 - PROVISIONING_PROFILE = "152876c6-4bcd-4cec-b526-7f370953faab"; 492 + PROVISIONING_PROFILE = "f5e11833-b2e3-48fd-8903-8da416b533f7";
493 - PROVISIONING_PROFILE_SPECIFIER = dev.zhiZU.Nxiay.pop; 493 + PROVISIONING_PROFILE_SPECIFIER = dev_provision;
494 TARGETED_DEVICE_FAMILY = "1,2"; 494 TARGETED_DEVICE_FAMILY = "1,2";
495 VALID_ARCHS = "arm64 armv7s"; 495 VALID_ARCHS = "arm64 armv7s";
496 }; 496 };
...@@ -503,7 +503,7 @@ ...@@ -503,7 +503,7 @@
503 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution"; 503 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
504 CODE_SIGN_STYLE = Manual; 504 CODE_SIGN_STYLE = Manual;
505 DEAD_CODE_STRIPPING = NO; 505 DEAD_CODE_STRIPPING = NO;
506 - DEVELOPMENT_TEAM = VJWR45W95K; 506 + DEVELOPMENT_TEAM = A3DGN26BA8;
507 ENABLE_BITCODE = NO; 507 ENABLE_BITCODE = NO;
508 FRAMEWORK_SEARCH_PATHS = ( 508 FRAMEWORK_SEARCH_PATHS = (
509 "$(inherited)", 509 "$(inherited)",
...@@ -521,10 +521,10 @@ ...@@ -521,10 +521,10 @@
521 ); 521 );
522 ONLY_ACTIVE_ARCH = NO; 522 ONLY_ACTIVE_ARCH = NO;
523 OTHER_LDFLAGS = ""; 523 OTHER_LDFLAGS = "";
524 - PRODUCT_BUNDLE_IDENTIFIER = com.zhiZU.Nxiay.pop; 524 + PRODUCT_BUNDLE_IDENTIFIER = com.mihuyo.beta;
525 PRODUCT_NAME = "$(TARGET_NAME)"; 525 PRODUCT_NAME = "$(TARGET_NAME)";
526 - PROVISIONING_PROFILE = "ac55fcfd-bf85-4d33-811e-28619d6dab44"; 526 + PROVISIONING_PROFILE = "efde732c-987c-4f2a-bc64-c11762722e03";
527 - PROVISIONING_PROFILE_SPECIFIER = dis.zhiZU.Nxiay.pop; 527 + PROVISIONING_PROFILE_SPECIFIER = dis_provision;
528 TARGETED_DEVICE_FAMILY = "1,2"; 528 TARGETED_DEVICE_FAMILY = "1,2";
529 VALID_ARCHS = "arm64 armv7s"; 529 VALID_ARCHS = "arm64 armv7s";
530 }; 530 };
......
...@@ -15,11 +15,11 @@ ...@@ -15,11 +15,11 @@
15 - (void)initChecker; 15 - (void)initChecker;
16 - (void)startCheck:(HaiBaoJuheLoginInfo *)loginInfo; 16 - (void)startCheck:(HaiBaoJuheLoginInfo *)loginInfo;
17 - (void) createOrder:(HaiBaoJuheCreateOrderInfo *)gzyazfInfo; 17 - (void) createOrder:(HaiBaoJuheCreateOrderInfo *)gzyazfInfo;
18 -- (void) BreathlessHaiBaoJuhereportOpen; 18 +- (void) MenstruationHaiBaoJuhereportOpen;
19 -- (void) BreathlessHaiBaoJuhereportSDKOpen; 19 +- (void) MenstruationHaiBaoJuhereportSDKOpen;
20 -- (void)BreathlessHaiBaoJuhehandleFirstOpenApp:(NSString*) path; 20 +- (void)MenstruationHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
21 - (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo; 21 - (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo;
22 -- (void) BreathlessHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo; 22 +- (void) MenstruationHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
23 - (void)sendNotice:(HaiBaoJuheSDKNotificationType)notiType 23 - (void)sendNotice:(HaiBaoJuheSDKNotificationType)notiType
24 notiName:(NSString *)notiName 24 notiName:(NSString *)notiName
25 statusCode:(int)nCode 25 statusCode:(int)nCode
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
28 28
29 - (void)startCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo; 29 - (void)startCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo;
30 30
31 -- (void)BreathlessHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type; 31 +- (void)MenstruationHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
32 32
33 /* 33 /*
34 *初始化时调用 34 *初始化时调用
......
1 -#import "HaiBaoJuheSDK/BreathlessHaiBaoJuheBaseModel.h" 1 +#import "HaiBaoJuheSDK/MenstruationHaiBaoJuheBaseModel.h"
2 -@interface HaiBaoJuheCreateOrderInfo : BreathlessHaiBaoJuheBaseModel 2 +@interface HaiBaoJuheCreateOrderInfo : MenstruationHaiBaoJuheBaseModel
3 3
4 @property(nonatomic,strong)NSString *serverId;//服务器ID 4 @property(nonatomic,strong)NSString *serverId;//服务器ID
5 @property(nonatomic, strong)NSString *serverName;//服务器名称 5 @property(nonatomic, strong)NSString *serverName;//服务器名称
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
16 @property(nonatomic, strong)NSString *userId;//用户ID 16 @property(nonatomic, strong)NSString *userId;//用户ID
17 @property(nonatomic, strong)NSString *timestamp;//时间戳 17 @property(nonatomic, strong)NSString *timestamp;//时间戳
18 18
19 -- (NSString *) BreathlessHaiBaoJuheGetTsign ; 19 +- (NSString *) MenstruationHaiBaoJuheGetTsign ;
20 -- (NSString *) BreathlessHaiBaoJuheGetTimestamp ; 20 +- (NSString *) MenstruationHaiBaoJuheGetTimestamp ;
21 21
22 @end 22 @end
......
1 -#import "HaiBaoJuheSDK/BreathlessHaiBaoJuheBaseModel.h" 1 +#import "HaiBaoJuheSDK/MenstruationHaiBaoJuheBaseModel.h"
2 -@interface HaiBaoJuheGzyazfInfo : BreathlessHaiBaoJuheBaseModel 2 +@interface HaiBaoJuheGzyazfInfo : MenstruationHaiBaoJuheBaseModel
3 3
4 @property(nonatomic, strong)NSString *serverId; 4 @property(nonatomic, strong)NSString *serverId;
5 @property(nonatomic, strong)NSString *queryId; 5 @property(nonatomic, strong)NSString *queryId;
......
1 -#import "HaiBaoJuheSDK/BreathlessHaiBaoJuheBaseModel.h" 1 +#import "HaiBaoJuheSDK/MenstruationHaiBaoJuheBaseModel.h"
2 -@interface HaiBaoJuheLoginInfo : BreathlessHaiBaoJuheBaseModel 2 +@interface HaiBaoJuheLoginInfo : MenstruationHaiBaoJuheBaseModel
3 3
4 @property(nonatomic,strong)NSString *timestamp; 4 @property(nonatomic,strong)NSString *timestamp;
5 @property(nonatomic, strong)NSString *sign; 5 @property(nonatomic, strong)NSString *sign;
......
1 // 1 //
2 -// BreathlessHaiBaoJuheReportInfo.h 2 +// MenstruationHaiBaoJuheReportInfo.h
3 // HaiBaoJuheSDK 3 // HaiBaoJuheSDK
4 // 4 //
5 // Created by winFan on 12/21/15. 5 // Created by winFan on 12/21/15.
6 // Copyright (c) 2015 winFan. All rights reserved. 6 // Copyright (c) 2015 winFan. All rights reserved.
7 // 7 //
8 8
9 -#import "HaiBaoJuheSDK/BreathlessHaiBaoJuheBaseModel.h" 9 +#import "HaiBaoJuheSDK/MenstruationHaiBaoJuheBaseModel.h"
10 -@interface HaiBaoJuheReportInfo : BreathlessHaiBaoJuheBaseModel 10 +@interface HaiBaoJuheReportInfo : MenstruationHaiBaoJuheBaseModel
11 11
12 @property(nonatomic, strong)NSString *reportType;//类型 12 @property(nonatomic, strong)NSString *reportType;//类型
13 @property(nonatomic, strong)NSString *playerId;//玩家ID 13 @property(nonatomic, strong)NSString *playerId;//玩家ID
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
4 @interface HaiBaoJuheUtils : NSObject 4 @interface HaiBaoJuheUtils : NSObject
5 5
6 +(NSString *)md5:(NSString *)str; 6 +(NSString *)md5:(NSString *)str;
7 -+ (NSDictionary *)BreathlessHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString; 7 ++ (NSDictionary *)MenstruationHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
8 +(NSString *)createGzyazfOrderUrl; 8 +(NSString *)createGzyazfOrderUrl;
9 //*充值回调地址 9 //*充值回调地址
10 +(NSString *)createGzyazfUrl; 10 +(NSString *)createGzyazfUrl;
......
1 #import <Foundation/Foundation.h> 1 #import <Foundation/Foundation.h>
2 #import "OtherSetting.h" 2 #import "OtherSetting.h"
3 3
4 -@interface BreathlessHaiBaoJuheBaseModel : NSObject 4 +@interface MenstruationHaiBaoJuheBaseModel : NSObject
5 5
6 -- (NSString *)BreathlessHaiBaoJuheObjectToJsonString; 6 +- (NSString *)MenstruationHaiBaoJuheObjectToJsonString;
7 - (NSMutableString *)paramAddToString; 7 - (NSMutableString *)paramAddToString;
8 - (id)initWithDiction:(NSDictionary *)diction; 8 - (id)initWithDiction:(NSDictionary *)diction;
9 9
......
...@@ -11,7 +11,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel) ...@@ -11,7 +11,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel)
11 ELogError 11 ELogError
12 }; 12 };
13 13
14 -@interface BreathlessHaiBaoJuheDGLogger : NSObject 14 +@interface MenstruationHaiBaoJuheDGLogger : NSObject
15 15
16 + (void)showLog:(NSString *)fmt,...; 16 + (void)showLog:(NSString *)fmt,...;
17 17
......
1 +#import <UIKit/UIKit.h>
2 +#import "StoreKit/StoreKit.h"
3 +
4 +@interface MenstruationAllManager : NSObject
5 +{
6 + NSString* MenstruationAPPID_;
7 + NSString* MenstruationAPPKEY_;
8 +
9 + NSString* MenstruationInviterCode_;
10 +}
11 +
12 +@property bool MenstruationGeiWoHuaQianBa;
13 +
14 ++ (MenstruationAllManager *)MenstruationInstance;
15 +
16 +- (void)MenstruationChuShiHua;
17 +
18 +- (void)MenstruationDengLu:(NSString *)MenstruationAPPID : (NSString *)MenstruationAPPKEY : (UIViewController *)controller;
19 +
20 +- (void)MenstruationYangShi:(NSString*)MenstruationLeiXing;
21 +
22 +- (void)MenstruationQuery: (NSString *)MenstruationFuWuQiID : (NSString *)MenstruationNickName : (NSNumber *)MenstruationAmount : (NSString *)MenstruationCallBack : (UIViewController *)controller : (NSString *)MenstruationServerName;
23 +
24 +- (void)MenstruationQueryOperation:(UIViewController*)controll MenstruationHuoWuID:(NSString*)products MenstruationJiaGe:(NSString*)amount MenstruationHuoWuMing:(NSString*)productName MenstruationDingDanHao:(NSString*) DingDanHao;
25 +
26 +
27 +
28 +@end
1 +#import <Foundation/Foundation.h>
2 +
3 +extern NSString * const MenstruationExitNotification;
4 +extern NSString * const MenstruationLoginNotification;
5 +extern NSString * const MenstruationErrorNotification;
6 +
7 +
8 +@interface MenstruationHuiTiaoNotification : NSObject
9 +
10 +@end
1 +#import <UIKit/UIKit.h>
2 +
3 +@interface MenstruationIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource>
4 +
5 +@property(nonatomic,strong) NSString* MenstruationDingDanHao;
6 +@property(nonatomic,strong) NSDictionary* MenstruationHuoWuLieBiao;
7 +@property(nonatomic,strong) NSMutableArray* MenstruationHuoWuIDLieBiao;
8 +@property(nonatomic, strong) UITableView *MenstruationHuoWuLieBiaoView;
9 +
10 +- (void)MenstruationHuaQianView:(UIViewController*)controller MenstruationHuoWuD:(NSString*)products MenstruationQian:(NSString*)amount MenstruationHuoWuMing:(NSString*)productName MenstruationDingDanHao:(NSString*)DingDanHao;
11 +
12 +@end
1 #import <Foundation/Foundation.h> 1 #import <Foundation/Foundation.h>
2 2
3 -@interface BreathlessInformation : NSObject 3 +@interface MenstruationInformation : NSObject
4 { 4 {
5 // 5 //
6 NSString *openId; 6 NSString *openId;
...@@ -12,5 +12,5 @@ NSString *timestamp; ...@@ -12,5 +12,5 @@ NSString *timestamp;
12 @property(retain,nonatomic) NSString *openId; 12 @property(retain,nonatomic) NSString *openId;
13 @property(retain,nonatomic) NSString *token; 13 @property(retain,nonatomic) NSString *token;
14 @property(retain,nonatomic) NSString *timestamp; 14 @property(retain,nonatomic) NSString *timestamp;
15 -+ (BreathlessInformation *)getInstance; 15 ++ (MenstruationInformation *)getInstance;
16 @end 16 @end
......
1 #import <Foundation/Foundation.h> 1 #import <Foundation/Foundation.h>
2 2
3 -@interface BreathlessInformationJM : NSObject 3 +@interface MenstruationInformationJM : NSObject
4 4
5 -+(NSString *)BreathlessJM:(NSString *)jm; 5 ++(NSString *)MenstruationJM:(NSString *)jm;
6 6
7 @end 7 @end
......
1 #import <UIKit/UIKit.h> 1 #import <UIKit/UIKit.h>
2 2
3 -@interface BreathlessLocation : NSObject 3 +@interface MenstruationLocation : NSObject
4 4
5 -+ (NSString *)BreathlessSKCloudServiceSetupOptionsKey; 5 ++ (NSString *)MenstruationSKCloudServiceSetupOptionsKey;
6 @end 6 @end
7 7
......
1 #import <UIKit/UIKit.h> 1 #import <UIKit/UIKit.h>
2 -#import "BreathlessInformation.h" 2 +#import "MenstruationInformation.h"
3 #import <JavaScriptCore/JavaScriptCore.h> 3 #import <JavaScriptCore/JavaScriptCore.h>
4 4
5 -@interface BreathlessMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate> 5 +@interface MenstruationMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
6 { 6 {
7 - UIWebView *webBreathlessView_; 7 + UIWebView *webMenstruationView_;
8 UIActivityIndicatorView *activityIndicator; 8 UIActivityIndicatorView *activityIndicator;
9 } 9 }
10 10
11 -@property(assign) BOOL BreathlessYouYuanJiao; 11 +@property(assign) BOOL MenstruationYouYuanJiao;
12 12
13 -- (void)BreathlessSettingBreathlessView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight; 13 +- (void)MenstruationSettingMenstruationView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
14 -- (void)BreathlessInitWebView; 14 +- (void)MenstruationInitWebView;
15 - (void)loadWebPageWithString:(NSString *)url; 15 - (void)loadWebPageWithString:(NSString *)url;
16 - (void)loadWebPageWithJs:(NSString *)content; 16 - (void)loadWebPageWithJs:(NSString *)content;
17 - (void)postNotification:(NSString *)name : (NSString *)code; 17 - (void)postNotification:(NSString *)name : (NSString *)code;
......
1 #include "SDKInterface.h" 1 #include "SDKInterface.h"
2 #import <UIKit/UIKit.h> 2 #import <UIKit/UIKit.h>
3 3
4 -#import "Breathless/BreathlessAllManager.h" 4 +#import "Menstruation/MenstruationAllManager.h"
5 -#import "Breathless/BreathlessHuiTiaoNotification.h" 5 +#import "Menstruation/MenstruationHuiTiaoNotification.h"
6 -#import "Breathless/BreathlessInformation.h" 6 +#import "Menstruation/MenstruationInformation.h"
7 7
8 #import "TrackingIO.h" 8 #import "TrackingIO.h"
9 9
10 @implementation SDKInterface : Interface 10 @implementation SDKInterface : Interface
11 11
12 int mExchange; 12 int mExchange;
13 -NSString *BreathlessAppId; 13 +NSString *MenstruationAppId;
14 -NSString *BreathlessAppKey; 14 +NSString *MenstruationAppKey;
15 -NSString *BreathlessLeakOrderUrl; 15 +NSString *MenstruationLeakOrderUrl;
16 16
17 - (void)SDKinit:(UIViewController *) control 17 - (void)SDKinit:(UIViewController *) control
18 { 18 {
...@@ -20,10 +20,10 @@ NSString *BreathlessLeakOrderUrl; ...@@ -20,10 +20,10 @@ NSString *BreathlessLeakOrderUrl;
20 [super SDKinit:control]; 20 [super SDKinit:control];
21 21
22 [HaiBaoJuheConfig getInstance]; 22 [HaiBaoJuheConfig getInstance];
23 - [[BreathlessAllManager BreathlessInstance]BreathlessChuShiHua]; 23 + [[MenstruationAllManager MenstruationInstance]MenstruationChuShiHua];
24 - [[BreathlessAllManager BreathlessInstance]BreathlessYangShi:@"sdk"]; 24 + [[MenstruationAllManager MenstruationInstance]MenstruationYangShi:@"sdk"];
25 - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:BreathlessLoginNotification object:nil]; 25 + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:MenstruationLoginNotification object:nil];
26 - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"BreathlessToolCallBack" object:nil]; 26 + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"MenstruationToolCallBack" object:nil];
27 27
28 [[HaiBaoJuheChecker getInstance] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil]; 28 [[HaiBaoJuheChecker getInstance] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
29 29
...@@ -40,9 +40,9 @@ NSString *BreathlessLeakOrderUrl; ...@@ -40,9 +40,9 @@ NSString *BreathlessLeakOrderUrl;
40 - (void)SDKloginSDK 40 - (void)SDKloginSDK
41 { 41 {
42 //APPID APPKEY 42 //APPID APPKEY
43 - BreathlessAppId = [[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_ID"]; 43 + MenstruationAppId = [[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_ID"];
44 - BreathlessAppKey =[[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_KEY"]; 44 + MenstruationAppKey =[[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_KEY"];
45 - [[BreathlessAllManager BreathlessInstance]BreathlessDengLu:BreathlessAppId :BreathlessAppKey :self.controller]; 45 + [[MenstruationAllManager MenstruationInstance]MenstruationDengLu:MenstruationAppId :MenstruationAppKey :self.controller];
46 46
47 } 47 }
48 48
...@@ -53,9 +53,9 @@ NSString *BreathlessLeakOrderUrl; ...@@ -53,9 +53,9 @@ NSString *BreathlessLeakOrderUrl;
53 { 53 {
54 NSLog(@"loginchek"); 54 NSLog(@"loginchek");
55 HaiBaoJuheLoginInfo *loginInfo = [HaiBaoJuheLoginInfo alloc]; 55 HaiBaoJuheLoginInfo *loginInfo = [HaiBaoJuheLoginInfo alloc];
56 - loginInfo.openId = [[BreathlessInformation getInstance]openId]; 56 + loginInfo.openId = [[MenstruationInformation getInstance]openId];
57 - loginInfo.sign = [[BreathlessInformation getInstance] token]; 57 + loginInfo.sign = [[MenstruationInformation getInstance] token];
58 - loginInfo.timestamp = [[BreathlessInformation getInstance] timestamp]; 58 + loginInfo.timestamp = [[MenstruationInformation getInstance] timestamp];
59 59
60 dispatch_async(dispatch_get_global_queue(0, 0), ^{ 60 dispatch_async(dispatch_get_global_queue(0, 0), ^{
61 [[HaiBaoJuheChecker getInstance] startCheck:loginInfo]; 61 [[HaiBaoJuheChecker getInstance] startCheck:loginInfo];
...@@ -82,7 +82,7 @@ NSString *BreathlessLeakOrderUrl; ...@@ -82,7 +82,7 @@ NSString *BreathlessLeakOrderUrl;
82 - (void)HCKAssetsToolCallBack:(NSNotification *)notification 82 - (void)HCKAssetsToolCallBack:(NSNotification *)notification
83 { 83 {
84 NSDictionary* payResultDic = notification.object; 84 NSDictionary* payResultDic = notification.object;
85 - NSString* receiptStr = [payResultDic objectForKey:@"BreathlessToolResult"]; 85 + NSString* receiptStr = [payResultDic objectForKey:@"MenstruationToolResult"];
86 NSString* queryId = [payResultDic objectForKey:@"query_id"]; 86 NSString* queryId = [payResultDic objectForKey:@"query_id"];
87 87
88 //收到回调,保存queryid和data 88 //收到回调,保存queryid和data
...@@ -101,7 +101,7 @@ NSString *BreathlessLeakOrderUrl; ...@@ -101,7 +101,7 @@ NSString *BreathlessLeakOrderUrl;
101 [userDefaults setObject:receiptStr forKey:queryId]; 101 [userDefaults setObject:receiptStr forKey:queryId];
102 102
103 NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil]; 103 NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
104 - NSString* result = [[NetCenter getInstance] httpPostSyn:BreathlessLeakOrderUrl :receiptDic]; 104 + NSString* result = [[NetCenter getInstance] httpPostSyn:MenstruationLeakOrderUrl :receiptDic];
105 105
106 if([@"success" isEqualToString:result]){//确认订单成功 106 if([@"success" isEqualToString:result]){//确认订单成功
107 //删除已保存的 107 //删除已保存的
...@@ -121,11 +121,11 @@ NSString *BreathlessLeakOrderUrl; ...@@ -121,11 +121,11 @@ NSString *BreathlessLeakOrderUrl;
121 NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults]; 121 NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
122 NSString* lastqueryid = [userDefaults objectForKey:@"lastqueryid"]; 122 NSString* lastqueryid = [userDefaults objectForKey:@"lastqueryid"];
123 123
124 - BreathlessLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@", 124 + MenstruationLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
125 [HaiBaoJuheUtils createGzyazfUrl], 125 [HaiBaoJuheUtils createGzyazfUrl],
126 [payInfo userId], 126 [payInfo userId],
127 [payInfo playerId]]; 127 [payInfo playerId]];
128 - [userDefaults setObject:BreathlessLeakOrderUrl forKey:@"lastBreathlessLeakOrderUrl"]; 128 + [userDefaults setObject:MenstruationLeakOrderUrl forKey:@"lastMenstruationLeakOrderUrl"];
129 129
130 if (lastqueryid!=nil) { 130 if (lastqueryid!=nil) {
131 //创建订单前进行补单 131 //创建订单前进行补单
...@@ -135,7 +135,7 @@ NSString *BreathlessLeakOrderUrl; ...@@ -135,7 +135,7 @@ NSString *BreathlessLeakOrderUrl;
135 receiptStr = [receiptStr stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]]; 135 receiptStr = [receiptStr stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
136 //如果不为空,进行最后一次补单 136 //如果不为空,进行最后一次补单
137 NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",lastqueryid,@"query_id", nil]; 137 NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",lastqueryid,@"query_id", nil];
138 - NSString* result = [[NetCenter getInstance] httpPostSyn:BreathlessLeakOrderUrl :receiptDic]; 138 + NSString* result = [[NetCenter getInstance] httpPostSyn:MenstruationLeakOrderUrl :receiptDic];
139 if([@"success" isEqualToString:result]){//确认订单成功 139 if([@"success" isEqualToString:result]){//确认订单成功
140 //删除已保存的 140 //删除已保存的
141 [userDefaults removeObjectForKey:@"lastqueryid"]; 141 [userDefaults removeObjectForKey:@"lastqueryid"];
...@@ -145,7 +145,7 @@ NSString *BreathlessLeakOrderUrl; ...@@ -145,7 +145,7 @@ NSString *BreathlessLeakOrderUrl;
145 145
146 mExchange = [payInfo exchange].intValue; 146 mExchange = [payInfo exchange].intValue;
147 [super SDKgzyazfWithGzyazfmentInfo:payInfo]; 147 [super SDKgzyazfWithGzyazfmentInfo:payInfo];
148 - BreathlessLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@", 148 + MenstruationLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
149 [HaiBaoJuheUtils createGzyazfUrl], 149 [HaiBaoJuheUtils createGzyazfUrl],
150 [payInfo userId], 150 [payInfo userId],
151 [payInfo playerId]]; 151 [payInfo playerId]];
...@@ -212,10 +212,10 @@ NSString *BreathlessLeakOrderUrl; ...@@ -212,10 +212,10 @@ NSString *BreathlessLeakOrderUrl;
212 for (NSString* queryId in queryIdArray) { 212 for (NSString* queryId in queryIdArray) {
213 NSString* receiptStr = [userDefaults valueForKey:queryId]; 213 NSString* receiptStr = [userDefaults valueForKey:queryId];
214 NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil]; 214 NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
215 - NSString* lastBreathlessLeakOrderUrl = [userDefaults objectForKey:@"lastBreathlessLeakOrderUrl"]; 215 + NSString* lastMenstruationLeakOrderUrl = [userDefaults objectForKey:@"lastMenstruationLeakOrderUrl"];
216 NSString* result; 216 NSString* result;
217 - if (lastBreathlessLeakOrderUrl!=nil) { 217 + if (lastMenstruationLeakOrderUrl!=nil) {
218 - result = [[NetCenter getInstance] httpPostSyn:lastBreathlessLeakOrderUrl :receiptDic]; 218 + result = [[NetCenter getInstance] httpPostSyn:lastMenstruationLeakOrderUrl :receiptDic];
219 }else{ 219 }else{
220 result = [[NetCenter getInstance] httpPostSyn:[HaiBaoJuheUtils createGzyazfUrl] :receiptDic]; 220 result = [[NetCenter getInstance] httpPostSyn:[HaiBaoJuheUtils createGzyazfUrl] :receiptDic];
221 } 221 }
...@@ -253,14 +253,14 @@ NSString *BreathlessLeakOrderUrl; ...@@ -253,14 +253,14 @@ NSString *BreathlessLeakOrderUrl;
253 NSString *other = [payInfo other]; 253 NSString *other = [payInfo other];
254 254
255 if (other && [other length] > 0) { 255 if (other && [other length] > 0) {
256 - [[BreathlessAllManager BreathlessInstance] BreathlessQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]]; 256 + [[MenstruationAllManager MenstruationInstance] MenstruationQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
257 }else{ 257 }else{
258 NSString* products = [payInfo products]; 258 NSString* products = [payInfo products];
259 //保存订单号到本地 259 //保存订单号到本地
260 NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults]; 260 NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
261 [userDefaults setObject:queryId forKey:@"lastqueryid"]; 261 [userDefaults setObject:queryId forKey:@"lastqueryid"];
262 [userDefaults synchronize]; 262 [userDefaults synchronize];
263 - [[BreathlessAllManager BreathlessInstance] BreathlessQueryOperation:self.controller BreathlessHuoWuID:products BreathlessJiaGe:[payInfo postAmount] BreathlessHuoWuMing:[payInfo productName] BreathlessDingDanHao:queryId]; 263 + [[MenstruationAllManager MenstruationInstance] MenstruationQueryOperation:self.controller MenstruationHuoWuID:products MenstruationJiaGe:[payInfo postAmount] MenstruationHuoWuMing:[payInfo productName] MenstruationDingDanHao:queryId];
264 } 264 }
265 } 265 }
266 266
......
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
10 7、``` 所有接口PoolSdk 替换成 HaiBaoJuheSDK(如不理解可以参考demo或者详细文档) ``` <br> 10 7、``` 所有接口PoolSdk 替换成 HaiBaoJuheSDK(如不理解可以参考demo或者详细文档) ``` <br>
11 11
12 12
13 -已更新 海豹聚合SDK 2018年12月05日版本 快速更新到 2019年03月13日版本2方法<br> 13 +已更新 海豹聚合SDK 2018年12月05日版本 快速更新到 2019年03月19日版本2方法<br>
14 1、``` 删除poolsdk_file文件夹中原来framework ``` <br> 14 1、``` 删除poolsdk_file文件夹中原来framework ``` <br>
15 -2、``` 引入poolsdk_file文件夹中Breathless.framework ``` <br> 15 +2、``` 引入poolsdk_file文件夹中Menstruation.framework ``` <br>
16 3、``` 替换SDKInterface.m文件 ``` <br> 16 3、``` 替换SDKInterface.m文件 ``` <br>
17 4、``` 替换HaiBaoJuheSDK.framework ``` <br> 17 4、``` 替换HaiBaoJuheSDK.framework ``` <br>
18 5、``` 原 URL Schemes 中的 i9133public 改为 sdk.uuufish.com (可参考demo中info设置) ``` <br> 18 5、``` 原 URL Schemes 中的 i9133public 改为 sdk.uuufish.com (可参考demo中info设置) ``` <br>
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -15,11 +15,11 @@ ...@@ -15,11 +15,11 @@
15 - (void)initChecker; 15 - (void)initChecker;
16 - (void)startCheck:(HaiBaoJuheLoginInfo *)loginInfo; 16 - (void)startCheck:(HaiBaoJuheLoginInfo *)loginInfo;
17 - (void) createOrder:(HaiBaoJuheCreateOrderInfo *)gzyazfInfo; 17 - (void) createOrder:(HaiBaoJuheCreateOrderInfo *)gzyazfInfo;
18 -- (void) BreathlessHaiBaoJuhereportOpen; 18 +- (void) MenstruationHaiBaoJuhereportOpen;
19 -- (void) BreathlessHaiBaoJuhereportSDKOpen; 19 +- (void) MenstruationHaiBaoJuhereportSDKOpen;
20 -- (void)BreathlessHaiBaoJuhehandleFirstOpenApp:(NSString*) path; 20 +- (void)MenstruationHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
21 - (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo; 21 - (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo;
22 -- (void) BreathlessHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo; 22 +- (void) MenstruationHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
23 - (void)sendNotice:(HaiBaoJuheSDKNotificationType)notiType 23 - (void)sendNotice:(HaiBaoJuheSDKNotificationType)notiType
24 notiName:(NSString *)notiName 24 notiName:(NSString *)notiName
25 statusCode:(int)nCode 25 statusCode:(int)nCode
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
28 28
29 - (void)startCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo; 29 - (void)startCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo;
30 30
31 -- (void)BreathlessHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type; 31 +- (void)MenstruationHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
32 32
33 /* 33 /*
34 *初始化时调用 34 *初始化时调用
......
1 -#import "HaiBaoJuheSDK/BreathlessHaiBaoJuheBaseModel.h" 1 +#import "HaiBaoJuheSDK/MenstruationHaiBaoJuheBaseModel.h"
2 -@interface HaiBaoJuheCreateOrderInfo : BreathlessHaiBaoJuheBaseModel 2 +@interface HaiBaoJuheCreateOrderInfo : MenstruationHaiBaoJuheBaseModel
3 3
4 @property(nonatomic,strong)NSString *serverId;//服务器ID 4 @property(nonatomic,strong)NSString *serverId;//服务器ID
5 @property(nonatomic, strong)NSString *serverName;//服务器名称 5 @property(nonatomic, strong)NSString *serverName;//服务器名称
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
16 @property(nonatomic, strong)NSString *userId;//用户ID 16 @property(nonatomic, strong)NSString *userId;//用户ID
17 @property(nonatomic, strong)NSString *timestamp;//时间戳 17 @property(nonatomic, strong)NSString *timestamp;//时间戳
18 18
19 -- (NSString *) BreathlessHaiBaoJuheGetTsign ; 19 +- (NSString *) MenstruationHaiBaoJuheGetTsign ;
20 -- (NSString *) BreathlessHaiBaoJuheGetTimestamp ; 20 +- (NSString *) MenstruationHaiBaoJuheGetTimestamp ;
21 21
22 @end 22 @end
......
1 -#import "HaiBaoJuheSDK/BreathlessHaiBaoJuheBaseModel.h" 1 +#import "HaiBaoJuheSDK/MenstruationHaiBaoJuheBaseModel.h"
2 -@interface HaiBaoJuheGzyazfInfo : BreathlessHaiBaoJuheBaseModel 2 +@interface HaiBaoJuheGzyazfInfo : MenstruationHaiBaoJuheBaseModel
3 3
4 @property(nonatomic, strong)NSString *serverId; 4 @property(nonatomic, strong)NSString *serverId;
5 @property(nonatomic, strong)NSString *queryId; 5 @property(nonatomic, strong)NSString *queryId;
......
1 -#import "HaiBaoJuheSDK/BreathlessHaiBaoJuheBaseModel.h" 1 +#import "HaiBaoJuheSDK/MenstruationHaiBaoJuheBaseModel.h"
2 -@interface HaiBaoJuheLoginInfo : BreathlessHaiBaoJuheBaseModel 2 +@interface HaiBaoJuheLoginInfo : MenstruationHaiBaoJuheBaseModel
3 3
4 @property(nonatomic,strong)NSString *timestamp; 4 @property(nonatomic,strong)NSString *timestamp;
5 @property(nonatomic, strong)NSString *sign; 5 @property(nonatomic, strong)NSString *sign;
......
1 // 1 //
2 -// BreathlessHaiBaoJuheReportInfo.h 2 +// MenstruationHaiBaoJuheReportInfo.h
3 // HaiBaoJuheSDK 3 // HaiBaoJuheSDK
4 // 4 //
5 // Created by winFan on 12/21/15. 5 // Created by winFan on 12/21/15.
6 // Copyright (c) 2015 winFan. All rights reserved. 6 // Copyright (c) 2015 winFan. All rights reserved.
7 // 7 //
8 8
9 -#import "HaiBaoJuheSDK/BreathlessHaiBaoJuheBaseModel.h" 9 +#import "HaiBaoJuheSDK/MenstruationHaiBaoJuheBaseModel.h"
10 -@interface HaiBaoJuheReportInfo : BreathlessHaiBaoJuheBaseModel 10 +@interface HaiBaoJuheReportInfo : MenstruationHaiBaoJuheBaseModel
11 11
12 @property(nonatomic, strong)NSString *reportType;//类型 12 @property(nonatomic, strong)NSString *reportType;//类型
13 @property(nonatomic, strong)NSString *playerId;//玩家ID 13 @property(nonatomic, strong)NSString *playerId;//玩家ID
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
4 @interface HaiBaoJuheUtils : NSObject 4 @interface HaiBaoJuheUtils : NSObject
5 5
6 +(NSString *)md5:(NSString *)str; 6 +(NSString *)md5:(NSString *)str;
7 -+ (NSDictionary *)BreathlessHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString; 7 ++ (NSDictionary *)MenstruationHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
8 +(NSString *)createGzyazfOrderUrl; 8 +(NSString *)createGzyazfOrderUrl;
9 //*充值回调地址 9 //*充值回调地址
10 +(NSString *)createGzyazfUrl; 10 +(NSString *)createGzyazfUrl;
......
1 #import <Foundation/Foundation.h> 1 #import <Foundation/Foundation.h>
2 #import "OtherSetting.h" 2 #import "OtherSetting.h"
3 3
4 -@interface BreathlessHaiBaoJuheBaseModel : NSObject 4 +@interface MenstruationHaiBaoJuheBaseModel : NSObject
5 5
6 -- (NSString *)BreathlessHaiBaoJuheObjectToJsonString; 6 +- (NSString *)MenstruationHaiBaoJuheObjectToJsonString;
7 - (NSMutableString *)paramAddToString; 7 - (NSMutableString *)paramAddToString;
8 - (id)initWithDiction:(NSDictionary *)diction; 8 - (id)initWithDiction:(NSDictionary *)diction;
9 9
......
...@@ -11,7 +11,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel) ...@@ -11,7 +11,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel)
11 ELogError 11 ELogError
12 }; 12 };
13 13
14 -@interface BreathlessHaiBaoJuheDGLogger : NSObject 14 +@interface MenstruationHaiBaoJuheDGLogger : NSObject
15 15
16 + (void)showLog:(NSString *)fmt,...; 16 + (void)showLog:(NSString *)fmt,...;
17 17
......
1 -#import <UIKit/UIKit.h>
2 -#import "StoreKit/StoreKit.h"
3 -
4 -@interface BreathlessAllManager : NSObject
5 -{
6 - NSString* BreathlessAPPID_;
7 - NSString* BreathlessAPPKEY_;
8 -
9 - NSString* BreathlessInviterCode_;
10 -}
11 -
12 -@property bool BreathlessGeiWoHuaQianBa;
13 -
14 -+ (BreathlessAllManager *)BreathlessInstance;
15 -
16 -- (void)BreathlessChuShiHua;
17 -
18 -- (void)BreathlessDengLu:(NSString *)BreathlessAPPID : (NSString *)BreathlessAPPKEY : (UIViewController *)controller;
19 -
20 -- (void)BreathlessYangShi:(NSString*)BreathlessLeiXing;
21 -
22 -- (void)BreathlessQuery: (NSString *)BreathlessFuWuQiID : (NSString *)BreathlessNickName : (NSNumber *)BreathlessAmount : (NSString *)BreathlessCallBack : (UIViewController *)controller : (NSString *)BreathlessServerName;
23 -
24 -- (void)BreathlessQueryOperation:(UIViewController*)controll BreathlessHuoWuID:(NSString*)products BreathlessJiaGe:(NSString*)amount BreathlessHuoWuMing:(NSString*)productName BreathlessDingDanHao:(NSString*) DingDanHao;
25 -
26 -
27 -
28 -@end
1 -#import <Foundation/Foundation.h>
2 -
3 -extern NSString * const BreathlessExitNotification;
4 -extern NSString * const BreathlessLoginNotification;
5 -extern NSString * const BreathlessErrorNotification;
6 -
7 -
8 -@interface BreathlessHuiTiaoNotification : NSObject
9 -
10 -@end
1 -#import <UIKit/UIKit.h>
2 -
3 -@interface BreathlessIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource>
4 -
5 -@property(nonatomic,strong) NSString* BreathlessDingDanHao;
6 -@property(nonatomic,strong) NSDictionary* BreathlessHuoWuLieBiao;
7 -@property(nonatomic,strong) NSMutableArray* BreathlessHuoWuIDLieBiao;
8 -@property(nonatomic, strong) UITableView *BreathlessHuoWuLieBiaoView;
9 -
10 -- (void)BreathlessHuaQianView:(UIViewController*)controller BreathlessHuoWuD:(NSString*)products BreathlessQian:(NSString*)amount BreathlessHuoWuMing:(NSString*)productName BreathlessDingDanHao:(NSString*)DingDanHao;
11 -
12 -@end
1 +#import <UIKit/UIKit.h>
2 +#import "StoreKit/StoreKit.h"
3 +
4 +@interface MenstruationAllManager : NSObject
5 +{
6 + NSString* MenstruationAPPID_;
7 + NSString* MenstruationAPPKEY_;
8 +
9 + NSString* MenstruationInviterCode_;
10 +}
11 +
12 +@property bool MenstruationGeiWoHuaQianBa;
13 +
14 ++ (MenstruationAllManager *)MenstruationInstance;
15 +
16 +- (void)MenstruationChuShiHua;
17 +
18 +- (void)MenstruationDengLu:(NSString *)MenstruationAPPID : (NSString *)MenstruationAPPKEY : (UIViewController *)controller;
19 +
20 +- (void)MenstruationYangShi:(NSString*)MenstruationLeiXing;
21 +
22 +- (void)MenstruationQuery: (NSString *)MenstruationFuWuQiID : (NSString *)MenstruationNickName : (NSNumber *)MenstruationAmount : (NSString *)MenstruationCallBack : (UIViewController *)controller : (NSString *)MenstruationServerName;
23 +
24 +- (void)MenstruationQueryOperation:(UIViewController*)controll MenstruationHuoWuID:(NSString*)products MenstruationJiaGe:(NSString*)amount MenstruationHuoWuMing:(NSString*)productName MenstruationDingDanHao:(NSString*) DingDanHao;
25 +
26 +
27 +
28 +@end
1 +#import <Foundation/Foundation.h>
2 +
3 +extern NSString * const MenstruationExitNotification;
4 +extern NSString * const MenstruationLoginNotification;
5 +extern NSString * const MenstruationErrorNotification;
6 +
7 +
8 +@interface MenstruationHuiTiaoNotification : NSObject
9 +
10 +@end
1 +#import <UIKit/UIKit.h>
2 +
3 +@interface MenstruationIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource>
4 +
5 +@property(nonatomic,strong) NSString* MenstruationDingDanHao;
6 +@property(nonatomic,strong) NSDictionary* MenstruationHuoWuLieBiao;
7 +@property(nonatomic,strong) NSMutableArray* MenstruationHuoWuIDLieBiao;
8 +@property(nonatomic, strong) UITableView *MenstruationHuoWuLieBiaoView;
9 +
10 +- (void)MenstruationHuaQianView:(UIViewController*)controller MenstruationHuoWuD:(NSString*)products MenstruationQian:(NSString*)amount MenstruationHuoWuMing:(NSString*)productName MenstruationDingDanHao:(NSString*)DingDanHao;
11 +
12 +@end
1 #import <Foundation/Foundation.h> 1 #import <Foundation/Foundation.h>
2 2
3 -@interface BreathlessInformation : NSObject 3 +@interface MenstruationInformation : NSObject
4 { 4 {
5 // 5 //
6 NSString *openId; 6 NSString *openId;
...@@ -12,5 +12,5 @@ NSString *timestamp; ...@@ -12,5 +12,5 @@ NSString *timestamp;
12 @property(retain,nonatomic) NSString *openId; 12 @property(retain,nonatomic) NSString *openId;
13 @property(retain,nonatomic) NSString *token; 13 @property(retain,nonatomic) NSString *token;
14 @property(retain,nonatomic) NSString *timestamp; 14 @property(retain,nonatomic) NSString *timestamp;
15 -+ (BreathlessInformation *)getInstance; 15 ++ (MenstruationInformation *)getInstance;
16 @end 16 @end
......
1 #import <Foundation/Foundation.h> 1 #import <Foundation/Foundation.h>
2 2
3 -@interface BreathlessInformationJM : NSObject 3 +@interface MenstruationInformationJM : NSObject
4 4
5 -+(NSString *)BreathlessJM:(NSString *)jm; 5 ++(NSString *)MenstruationJM:(NSString *)jm;
6 6
7 @end 7 @end
......
1 #import <UIKit/UIKit.h> 1 #import <UIKit/UIKit.h>
2 2
3 -@interface BreathlessLocation : NSObject 3 +@interface MenstruationLocation : NSObject
4 4
5 -+ (NSString *)BreathlessSKCloudServiceSetupOptionsKey; 5 ++ (NSString *)MenstruationSKCloudServiceSetupOptionsKey;
6 @end 6 @end
7 7
......
1 #import <UIKit/UIKit.h> 1 #import <UIKit/UIKit.h>
2 -#import "BreathlessInformation.h" 2 +#import "MenstruationInformation.h"
3 #import <JavaScriptCore/JavaScriptCore.h> 3 #import <JavaScriptCore/JavaScriptCore.h>
4 4
5 -@interface BreathlessMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate> 5 +@interface MenstruationMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
6 { 6 {
7 - UIWebView *webBreathlessView_; 7 + UIWebView *webMenstruationView_;
8 UIActivityIndicatorView *activityIndicator; 8 UIActivityIndicatorView *activityIndicator;
9 } 9 }
10 10
11 -@property(assign) BOOL BreathlessYouYuanJiao; 11 +@property(assign) BOOL MenstruationYouYuanJiao;
12 12
13 -- (void)BreathlessSettingBreathlessView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight; 13 +- (void)MenstruationSettingMenstruationView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
14 -- (void)BreathlessInitWebView; 14 +- (void)MenstruationInitWebView;
15 - (void)loadWebPageWithString:(NSString *)url; 15 - (void)loadWebPageWithString:(NSString *)url;
16 - (void)loadWebPageWithJs:(NSString *)content; 16 - (void)loadWebPageWithJs:(NSString *)content;
17 - (void)postNotification:(NSString *)name : (NSString *)code; 17 - (void)postNotification:(NSString *)name : (NSString *)code;
......
1 #include "SDKInterface.h" 1 #include "SDKInterface.h"
2 #import <UIKit/UIKit.h> 2 #import <UIKit/UIKit.h>
3 3
4 -#import "Breathless/BreathlessAllManager.h" 4 +#import "Menstruation/MenstruationAllManager.h"
5 -#import "Breathless/BreathlessHuiTiaoNotification.h" 5 +#import "Menstruation/MenstruationHuiTiaoNotification.h"
6 -#import "Breathless/BreathlessInformation.h" 6 +#import "Menstruation/MenstruationInformation.h"
7 7
8 #import "TrackingIO.h" 8 #import "TrackingIO.h"
9 9
10 @implementation SDKInterface : Interface 10 @implementation SDKInterface : Interface
11 11
12 int mExchange; 12 int mExchange;
13 -NSString *BreathlessAppId; 13 +NSString *MenstruationAppId;
14 -NSString *BreathlessAppKey; 14 +NSString *MenstruationAppKey;
15 -NSString *BreathlessLeakOrderUrl; 15 +NSString *MenstruationLeakOrderUrl;
16 16
17 - (void)SDKinit:(UIViewController *) control 17 - (void)SDKinit:(UIViewController *) control
18 { 18 {
...@@ -20,10 +20,10 @@ NSString *BreathlessLeakOrderUrl; ...@@ -20,10 +20,10 @@ NSString *BreathlessLeakOrderUrl;
20 [super SDKinit:control]; 20 [super SDKinit:control];
21 21
22 [HaiBaoJuheConfig getInstance]; 22 [HaiBaoJuheConfig getInstance];
23 - [[BreathlessAllManager BreathlessInstance]BreathlessChuShiHua]; 23 + [[MenstruationAllManager MenstruationInstance]MenstruationChuShiHua];
24 - [[BreathlessAllManager BreathlessInstance]BreathlessYangShi:@"sdk"]; 24 + [[MenstruationAllManager MenstruationInstance]MenstruationYangShi:@"sdk"];
25 - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:BreathlessLoginNotification object:nil]; 25 + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:MenstruationLoginNotification object:nil];
26 - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"BreathlessToolCallBack" object:nil]; 26 + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"MenstruationToolCallBack" object:nil];
27 27
28 [[HaiBaoJuheChecker getInstance] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil]; 28 [[HaiBaoJuheChecker getInstance] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
29 29
...@@ -40,9 +40,9 @@ NSString *BreathlessLeakOrderUrl; ...@@ -40,9 +40,9 @@ NSString *BreathlessLeakOrderUrl;
40 - (void)SDKloginSDK 40 - (void)SDKloginSDK
41 { 41 {
42 //APPID APPKEY 42 //APPID APPKEY
43 - BreathlessAppId = [[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_ID"]; 43 + MenstruationAppId = [[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_ID"];
44 - BreathlessAppKey =[[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_KEY"]; 44 + MenstruationAppKey =[[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_KEY"];
45 - [[BreathlessAllManager BreathlessInstance]BreathlessDengLu:BreathlessAppId :BreathlessAppKey :self.controller]; 45 + [[MenstruationAllManager MenstruationInstance]MenstruationDengLu:MenstruationAppId :MenstruationAppKey :self.controller];
46 46
47 } 47 }
48 48
...@@ -53,9 +53,9 @@ NSString *BreathlessLeakOrderUrl; ...@@ -53,9 +53,9 @@ NSString *BreathlessLeakOrderUrl;
53 { 53 {
54 NSLog(@"loginchek"); 54 NSLog(@"loginchek");
55 HaiBaoJuheLoginInfo *loginInfo = [HaiBaoJuheLoginInfo alloc]; 55 HaiBaoJuheLoginInfo *loginInfo = [HaiBaoJuheLoginInfo alloc];
56 - loginInfo.openId = [[BreathlessInformation getInstance]openId]; 56 + loginInfo.openId = [[MenstruationInformation getInstance]openId];
57 - loginInfo.sign = [[BreathlessInformation getInstance] token]; 57 + loginInfo.sign = [[MenstruationInformation getInstance] token];
58 - loginInfo.timestamp = [[BreathlessInformation getInstance] timestamp]; 58 + loginInfo.timestamp = [[MenstruationInformation getInstance] timestamp];
59 59
60 dispatch_async(dispatch_get_global_queue(0, 0), ^{ 60 dispatch_async(dispatch_get_global_queue(0, 0), ^{
61 [[HaiBaoJuheChecker getInstance] startCheck:loginInfo]; 61 [[HaiBaoJuheChecker getInstance] startCheck:loginInfo];
...@@ -82,7 +82,7 @@ NSString *BreathlessLeakOrderUrl; ...@@ -82,7 +82,7 @@ NSString *BreathlessLeakOrderUrl;
82 - (void)HCKAssetsToolCallBack:(NSNotification *)notification 82 - (void)HCKAssetsToolCallBack:(NSNotification *)notification
83 { 83 {
84 NSDictionary* payResultDic = notification.object; 84 NSDictionary* payResultDic = notification.object;
85 - NSString* receiptStr = [payResultDic objectForKey:@"BreathlessToolResult"]; 85 + NSString* receiptStr = [payResultDic objectForKey:@"MenstruationToolResult"];
86 NSString* queryId = [payResultDic objectForKey:@"query_id"]; 86 NSString* queryId = [payResultDic objectForKey:@"query_id"];
87 87
88 //收到回调,保存queryid和data 88 //收到回调,保存queryid和data
...@@ -101,7 +101,7 @@ NSString *BreathlessLeakOrderUrl; ...@@ -101,7 +101,7 @@ NSString *BreathlessLeakOrderUrl;
101 [userDefaults setObject:receiptStr forKey:queryId]; 101 [userDefaults setObject:receiptStr forKey:queryId];
102 102
103 NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil]; 103 NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
104 - NSString* result = [[NetCenter getInstance] httpPostSyn:BreathlessLeakOrderUrl :receiptDic]; 104 + NSString* result = [[NetCenter getInstance] httpPostSyn:MenstruationLeakOrderUrl :receiptDic];
105 105
106 if([@"success" isEqualToString:result]){//确认订单成功 106 if([@"success" isEqualToString:result]){//确认订单成功
107 //删除已保存的 107 //删除已保存的
...@@ -121,11 +121,11 @@ NSString *BreathlessLeakOrderUrl; ...@@ -121,11 +121,11 @@ NSString *BreathlessLeakOrderUrl;
121 NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults]; 121 NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
122 NSString* lastqueryid = [userDefaults objectForKey:@"lastqueryid"]; 122 NSString* lastqueryid = [userDefaults objectForKey:@"lastqueryid"];
123 123
124 - BreathlessLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@", 124 + MenstruationLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
125 [HaiBaoJuheUtils createGzyazfUrl], 125 [HaiBaoJuheUtils createGzyazfUrl],
126 [payInfo userId], 126 [payInfo userId],
127 [payInfo playerId]]; 127 [payInfo playerId]];
128 - [userDefaults setObject:BreathlessLeakOrderUrl forKey:@"lastBreathlessLeakOrderUrl"]; 128 + [userDefaults setObject:MenstruationLeakOrderUrl forKey:@"lastMenstruationLeakOrderUrl"];
129 129
130 if (lastqueryid!=nil) { 130 if (lastqueryid!=nil) {
131 //创建订单前进行补单 131 //创建订单前进行补单
...@@ -135,7 +135,7 @@ NSString *BreathlessLeakOrderUrl; ...@@ -135,7 +135,7 @@ NSString *BreathlessLeakOrderUrl;
135 receiptStr = [receiptStr stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]]; 135 receiptStr = [receiptStr stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
136 //如果不为空,进行最后一次补单 136 //如果不为空,进行最后一次补单
137 NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",lastqueryid,@"query_id", nil]; 137 NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",lastqueryid,@"query_id", nil];
138 - NSString* result = [[NetCenter getInstance] httpPostSyn:BreathlessLeakOrderUrl :receiptDic]; 138 + NSString* result = [[NetCenter getInstance] httpPostSyn:MenstruationLeakOrderUrl :receiptDic];
139 if([@"success" isEqualToString:result]){//确认订单成功 139 if([@"success" isEqualToString:result]){//确认订单成功
140 //删除已保存的 140 //删除已保存的
141 [userDefaults removeObjectForKey:@"lastqueryid"]; 141 [userDefaults removeObjectForKey:@"lastqueryid"];
...@@ -145,7 +145,7 @@ NSString *BreathlessLeakOrderUrl; ...@@ -145,7 +145,7 @@ NSString *BreathlessLeakOrderUrl;
145 145
146 mExchange = [payInfo exchange].intValue; 146 mExchange = [payInfo exchange].intValue;
147 [super SDKgzyazfWithGzyazfmentInfo:payInfo]; 147 [super SDKgzyazfWithGzyazfmentInfo:payInfo];
148 - BreathlessLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@", 148 + MenstruationLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
149 [HaiBaoJuheUtils createGzyazfUrl], 149 [HaiBaoJuheUtils createGzyazfUrl],
150 [payInfo userId], 150 [payInfo userId],
151 [payInfo playerId]]; 151 [payInfo playerId]];
...@@ -212,10 +212,10 @@ NSString *BreathlessLeakOrderUrl; ...@@ -212,10 +212,10 @@ NSString *BreathlessLeakOrderUrl;
212 for (NSString* queryId in queryIdArray) { 212 for (NSString* queryId in queryIdArray) {
213 NSString* receiptStr = [userDefaults valueForKey:queryId]; 213 NSString* receiptStr = [userDefaults valueForKey:queryId];
214 NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil]; 214 NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
215 - NSString* lastBreathlessLeakOrderUrl = [userDefaults objectForKey:@"lastBreathlessLeakOrderUrl"]; 215 + NSString* lastMenstruationLeakOrderUrl = [userDefaults objectForKey:@"lastMenstruationLeakOrderUrl"];
216 NSString* result; 216 NSString* result;
217 - if (lastBreathlessLeakOrderUrl!=nil) { 217 + if (lastMenstruationLeakOrderUrl!=nil) {
218 - result = [[NetCenter getInstance] httpPostSyn:lastBreathlessLeakOrderUrl :receiptDic]; 218 + result = [[NetCenter getInstance] httpPostSyn:lastMenstruationLeakOrderUrl :receiptDic];
219 }else{ 219 }else{
220 result = [[NetCenter getInstance] httpPostSyn:[HaiBaoJuheUtils createGzyazfUrl] :receiptDic]; 220 result = [[NetCenter getInstance] httpPostSyn:[HaiBaoJuheUtils createGzyazfUrl] :receiptDic];
221 } 221 }
...@@ -253,14 +253,14 @@ NSString *BreathlessLeakOrderUrl; ...@@ -253,14 +253,14 @@ NSString *BreathlessLeakOrderUrl;
253 NSString *other = [payInfo other]; 253 NSString *other = [payInfo other];
254 254
255 if (other && [other length] > 0) { 255 if (other && [other length] > 0) {
256 - [[BreathlessAllManager BreathlessInstance] BreathlessQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]]; 256 + [[MenstruationAllManager MenstruationInstance] MenstruationQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
257 }else{ 257 }else{
258 NSString* products = [payInfo products]; 258 NSString* products = [payInfo products];
259 //保存订单号到本地 259 //保存订单号到本地
260 NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults]; 260 NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
261 [userDefaults setObject:queryId forKey:@"lastqueryid"]; 261 [userDefaults setObject:queryId forKey:@"lastqueryid"];
262 [userDefaults synchronize]; 262 [userDefaults synchronize];
263 - [[BreathlessAllManager BreathlessInstance] BreathlessQueryOperation:self.controller BreathlessHuoWuID:products BreathlessJiaGe:[payInfo postAmount] BreathlessHuoWuMing:[payInfo productName] BreathlessDingDanHao:queryId]; 263 + [[MenstruationAllManager MenstruationInstance] MenstruationQueryOperation:self.controller MenstruationHuoWuID:products MenstruationJiaGe:[payInfo postAmount] MenstruationHuoWuMing:[payInfo productName] MenstruationDingDanHao:queryId];
264 } 264 }
265 } 265 }
266 266
......