lizhihui

更新 190121 版本1

Showing 65 changed files with 237 additions and 236 deletions
No preview for this file type
No preview for this file type
No preview for this file type
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
7 objects = { 7 objects = {
8 8
9 /* Begin PBXBuildFile section */ 9 /* Begin PBXBuildFile section */
10 - 2692FA4A21E7423600371736 /* Shaking.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2692FA4921E7423600371736 /* Shaking.framework */; }; 10 + 2692FA4C21F578FF00371736 /* Minstrel.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2692FA4B21F578FF00371736 /* Minstrel.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 /* haibao_setting in Resources */ = {isa = PBXBuildFile; fileRef = 846BD21F1EE9342700E89A1D /* haibao_setting */; }; 13 846BD2241EE9342700E89A1D /* haibao_setting in Resources */ = {isa = PBXBuildFile; fileRef = 846BD21F1EE9342700E89A1D /* haibao_setting */; };
...@@ -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 - 2692FA4921E7423600371736 /* Shaking.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Shaking.framework; sourceTree = "<group>"; }; 62 + 2692FA4B21F578FF00371736 /* Minstrel.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Minstrel.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>"; };
...@@ -102,7 +102,6 @@ ...@@ -102,7 +102,6 @@
102 isa = PBXFrameworksBuildPhase; 102 isa = PBXFrameworksBuildPhase;
103 buildActionMask = 2147483647; 103 buildActionMask = 2147483647;
104 files = ( 104 files = (
105 - 2692FA4A21E7423600371736 /* Shaking.framework in Frameworks */,
106 8484E5161EE7E36800B402D1 /* SystemConfiguration.framework in Frameworks */, 105 8484E5161EE7E36800B402D1 /* SystemConfiguration.framework in Frameworks */,
107 269F653821B6613F006AEC88 /* HaiBaoJuheSDK.framework in Frameworks */, 106 269F653821B6613F006AEC88 /* HaiBaoJuheSDK.framework in Frameworks */,
108 8484E4FC1EE7E1D800B402D1 /* libsqlite3.dylib in Frameworks */, 107 8484E4FC1EE7E1D800B402D1 /* libsqlite3.dylib in Frameworks */,
...@@ -112,6 +111,7 @@ ...@@ -112,6 +111,7 @@
112 8484E5061EE7E24A00B402D1 /* CoreMotion.framework in Frameworks */, 111 8484E5061EE7E24A00B402D1 /* CoreMotion.framework in Frameworks */,
113 8484E5021EE7E21F00B402D1 /* UIKit.framework in Frameworks */, 112 8484E5021EE7E21F00B402D1 /* UIKit.framework in Frameworks */,
114 8484E50C1EE7E27100B402D1 /* CoreGraphics.framework in Frameworks */, 113 8484E50C1EE7E27100B402D1 /* CoreGraphics.framework in Frameworks */,
114 + 2692FA4C21F578FF00371736 /* Minstrel.framework in Frameworks */,
115 8484E5081EE7E25600B402D1 /* CoreText.framework in Frameworks */, 115 8484E5081EE7E25600B402D1 /* CoreText.framework in Frameworks */,
116 8484E50E1EE7E28000B402D1 /* QuartzCore.framework in Frameworks */, 116 8484E50E1EE7E28000B402D1 /* QuartzCore.framework in Frameworks */,
117 8484E5141EE7E2DE00B402D1 /* Foundation.framework in Frameworks */, 117 8484E5141EE7E2DE00B402D1 /* Foundation.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 - 2692FA4921E7423600371736 /* Shaking.framework */, 146 + 2692FA4B21F578FF00371736 /* Minstrel.framework */,
147 84A090AC1F174E21003D23FB /* TrackingIO.h */, 147 84A090AC1F174E21003D23FB /* TrackingIO.h */,
148 84A090AA1F160A69003D23FB /* TrackingIO.a */, 148 84A090AA1F160A69003D23FB /* TrackingIO.a */,
149 846BD21F1EE9342700E89A1D /* haibao_setting */, 149 846BD21F1EE9342700E89A1D /* haibao_setting */,
......
...@@ -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) ShakingHaiBaoJuhereportOpen; 18 +- (void) MinstrelHaiBaoJuhereportOpen;
19 -- (void) ShakingHaiBaoJuhereportSDKOpen; 19 +- (void) MinstrelHaiBaoJuhereportSDKOpen;
20 -- (void)ShakingHaiBaoJuhehandleFirstOpenApp:(NSString*) path; 20 +- (void)MinstrelHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
21 - (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo; 21 - (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo;
22 -- (void) ShakingHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo; 22 +- (void) MinstrelHaiBaoJuheReport:(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)ShakingHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type; 31 +- (void)MinstrelHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
32 32
33 /* 33 /*
34 *初始化时调用 34 *初始化时调用
......
1 -#import "HaiBaoJuheSDK/ShakingHaiBaoJuheBaseModel.h" 1 +#import "HaiBaoJuheSDK/MinstrelHaiBaoJuheBaseModel.h"
2 -@interface HaiBaoJuheCreateOrderInfo : ShakingHaiBaoJuheBaseModel 2 +@interface HaiBaoJuheCreateOrderInfo : MinstrelHaiBaoJuheBaseModel
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 *) ShakingHaiBaoJuheGetTsign ; 19 +- (NSString *) MinstrelHaiBaoJuheGetTsign ;
20 -- (NSString *) ShakingHaiBaoJuheGetTimestamp ; 20 +- (NSString *) MinstrelHaiBaoJuheGetTimestamp ;
21 21
22 @end 22 @end
......
1 -#import "HaiBaoJuheSDK/ShakingHaiBaoJuheBaseModel.h" 1 +#import "HaiBaoJuheSDK/MinstrelHaiBaoJuheBaseModel.h"
2 -@interface HaiBaoJuheGzyazfInfo : ShakingHaiBaoJuheBaseModel 2 +@interface HaiBaoJuheGzyazfInfo : MinstrelHaiBaoJuheBaseModel
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/ShakingHaiBaoJuheBaseModel.h" 1 +#import "HaiBaoJuheSDK/MinstrelHaiBaoJuheBaseModel.h"
2 -@interface HaiBaoJuheLoginInfo : ShakingHaiBaoJuheBaseModel 2 +@interface HaiBaoJuheLoginInfo : MinstrelHaiBaoJuheBaseModel
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 -// ShakingHaiBaoJuheReportInfo.h 2 +// MinstrelHaiBaoJuheReportInfo.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/ShakingHaiBaoJuheBaseModel.h" 9 +#import "HaiBaoJuheSDK/MinstrelHaiBaoJuheBaseModel.h"
10 -@interface HaiBaoJuheReportInfo : ShakingHaiBaoJuheBaseModel 10 +@interface HaiBaoJuheReportInfo : MinstrelHaiBaoJuheBaseModel
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 *)ShakingHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString; 7 ++ (NSDictionary *)MinstrelHaiBaoJuheDictionaryWithJsonString:(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 ShakingHaiBaoJuheBaseModel : NSObject 4 +@interface MinstrelHaiBaoJuheBaseModel : NSObject
5 5
6 -- (NSString *)ShakingHaiBaoJuheObjectToJsonString; 6 +- (NSString *)MinstrelHaiBaoJuheObjectToJsonString;
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 ShakingHaiBaoJuheDGLogger : NSObject 14 +@interface MinstrelHaiBaoJuheDGLogger : NSObject
15 15
16 + (void)showLog:(NSString *)fmt,...; 16 + (void)showLog:(NSString *)fmt,...;
17 17
......
1 +#import <UIKit/UIKit.h>
2 +
3 +@interface MinstrelIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource>
4 +
5 +@property(nonatomic,strong) NSString* MinstrelDingDanHao;
6 +@property(nonatomic,strong) NSDictionary* MinstrelHuoWuLieBiao;
7 +@property(nonatomic,strong) NSMutableArray* MinstrelHuoWuIDLieBiao;
8 +@property(nonatomic, strong) UITableView *MinstrelHuoWuLieBiaoView;
9 +
10 +- (void)MinstrelHuaQianView:(UIViewController*)controller MinstrelHuoWuD:(NSString*)products MinstrelQian:(NSString*)amount MinstrelHuoWuMing:(NSString*)productName MinstrelDingDanHao:(NSString*)DingDanHao;
11 +
12 +@end
1 +#import <UIKit/UIKit.h>
2 +#import "StoreKit/StoreKit.h"
3 +
4 +@interface MinstrelAllManager : NSObject
5 +{
6 + NSString* MinstrelCKAPPID_;
7 + NSString* MinstrelCKAPPKEY_;
8 +
9 + NSString* MinstrelInviterCode_;
10 +}
11 +
12 +@property bool MinstrelGeiWoHuaQianBa;
13 +
14 ++ (MinstrelAllManager *)MinstrelInstance;
15 +
16 +- (void)MinstrelChuShiHua;
17 +
18 +- (void)MinstrelDengLu:(NSString *)MinstrelCKAPPID : (NSString *)MinstrelCKAPPKEY : (UIViewController *)controller;
19 +
20 +- (void)MinstrelYangShi:(NSString*)MinstrelLeiXing;
21 +
22 +- (void)MinstrelCKQuery: (NSString *)MinstrelFuWuQiID : (NSString *)MinstrelNickName : (NSNumber *)MinstrelAmount : (NSString *)MinstrelCallBack : (UIViewController *)controller : (NSString *)MinstrelServerName;
23 +
24 +- (void)MinstrelCKQueryOperation:(UIViewController*)controll MinstrelHuoWuID:(NSString*)products MinstrelJiaGe:(NSString*)amount MinstrelHuoWuMing:(NSString*)productName MinstrelDingDanHao:(NSString*) DingDanHao;
25 +
26 +
27 +
28 +@end
1 +#import <Foundation/Foundation.h>
2 +
3 +extern NSString * const MinstrelCKAssetsExitNotification;
4 +extern NSString * const MinstrelCKAssetsLoginNotification;
5 +extern NSString * const MinstrelCKAssetsErrorNotification;
6 +
7 +
8 +@interface MinstrelHuiTiaoNotification : NSObject
9 +
10 +@end
1 +#import <Foundation/Foundation.h>
2 +
3 +@interface MinstrelHungry : NSObject
4 +
5 ++(void)MinstrelQsad;
6 +-(void)MinstrelQsad123;
7 ++(void)MinstrelQsagfhd;
8 +-(void)MinstrelQsavbnd;
9 ++(void)MinstrelQsavbnd;
10 +-(void)MinstrelQsafgd;
11 ++(void)MinstrelQsiuad;
12 +
13 +
14 +
15 +@end
1 #import <UIKit/UIKit.h> 1 #import <UIKit/UIKit.h>
2 2
3 -@interface ShakingLocation : NSObject 3 +@interface MinstrelLocation : NSObject
4 4
5 -+ (NSString *)ShakingSKCloudServiceSetupOptionsKey; 5 ++ (NSString *)MinstrelSKCloudServiceSetupOptionsKey;
6 @end 6 @end
7 7
......
1 #import <UIKit/UIKit.h> 1 #import <UIKit/UIKit.h>
2 -#import "AphelionMessage.h" 2 +#import "MinstrelMessage.h"
3 #import <JavaScriptCore/JavaScriptCore.h> 3 #import <JavaScriptCore/JavaScriptCore.h>
4 4
5 -@interface AphelionMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate> 5 +@interface MinstrelMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
6 { 6 {
7 UIWebView *webView_; 7 UIWebView *webView_;
8 UIActivityIndicatorView *activityIndicator; 8 UIActivityIndicatorView *activityIndicator;
9 } 9 }
10 10
11 -@property(assign) BOOL AphelionYouYuanJiao; 11 +@property(assign) BOOL MinstrelYouYuanJiao;
12 12
13 -- (void)AphelionSettingCKAssetsView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight; 13 +- (void)MinstrelSettingCKAssetsView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
14 -- (void)AphelionChuShiHuaWebView; 14 +- (void)MinstrelChuShiHuaWebView;
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 #import <Foundation/Foundation.h> 1 #import <Foundation/Foundation.h>
2 2
3 -@interface ShakingMessage : NSObject 3 +@interface MinstrelMessage : 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 -+ (ShakingMessage *)getInstance; 15 ++ (MinstrelMessage *)getInstance;
16 @end 16 @end
......
1 #import <Foundation/Foundation.h> 1 #import <Foundation/Foundation.h>
2 2
3 -@interface ShakingMessageJM : NSObject 3 +@interface MinstrelMessageJM : NSObject
4 4
5 -+(NSString *)ShakingJM:(NSString *)jm; 5 ++(NSString *)MinstrelJM:(NSString *)jm;
6 6
7 @end 7 @end
......
1 -#import <UIKit/UIKit.h>
2 -
3 -@interface ShakingIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource>
4 -
5 -@property(nonatomic,strong) NSString* ShakingDingDanHao;
6 -@property(nonatomic,strong) NSDictionary* ShakingHuoWuLieBiao;
7 -@property(nonatomic,strong) NSMutableArray* ShakingHuoWuIDLieBiao;
8 -@property(nonatomic, strong) UITableView *ShakingHuoWuLieBiaoView;
9 -
10 -- (void)ShakingHuaQianView:(UIViewController*)controller ShakingHuoWuD:(NSString*)products ShakingQian:(NSString*)amount ShakingHuoWuMing:(NSString*)productName ShakingDingDanHao:(NSString*)DingDanHao;
11 -
12 -@end
1 -#import <UIKit/UIKit.h>
2 -#import "StoreKit/StoreKit.h"
3 -
4 -@interface ShakingAllManager : NSObject
5 -{
6 - NSString* ShakingCKAPPID_;
7 - NSString* ShakingCKAPPKEY_;
8 -
9 - NSString* ShakingInviterCode_;
10 -}
11 -
12 -@property bool ShakingGeiWoHuaQianBa;
13 -
14 -+ (ShakingAllManager *)ShakingInstance;
15 -
16 -- (void)ShakingChuShiHua;
17 -
18 -- (void)ShakingDengLu:(NSString *)ShakingCKAPPID : (NSString *)ShakingCKAPPKEY : (UIViewController *)controller;
19 -
20 -- (void)ShakingYangShi:(NSString*)ShakingLeiXing;
21 -
22 -- (void)ShakingCKQuery: (NSString *)ShakingFuWuQiID : (NSString *)ShakingNickName : (NSNumber *)ShakingAmount : (NSString *)ShakingCallBack : (UIViewController *)controller : (NSString *)ShakingServerName;
23 -
24 -- (void)ShakingCKQueryOperation:(UIViewController*)controll ShakingHuoWuID:(NSString*)products ShakingJiaGe:(NSString*)amount ShakingHuoWuMing:(NSString*)productName ShakingDingDanHao:(NSString*) DingDanHao;
25 -
26 -
27 -
28 -@end
1 -#import <Foundation/Foundation.h>
2 -
3 -extern NSString * const ShakingCKAssetsExitNotification;
4 -extern NSString * const ShakingCKAssetsLoginNotification;
5 -extern NSString * const ShakingCKAssetsErrorNotification;
6 -
7 -
8 -@interface ShakingHuiTiaoNotification : NSObject
9 -
10 -@end
1 -#import <Foundation/Foundation.h>
2 -
3 -@interface ShakingHungry : NSObject
4 -
5 -+(void)ShakingQsad;
6 --(void)ShakingQsad123;
7 -+(void)ShakingQsagfhd;
8 --(void)ShakingQsavbnd;
9 -+(void)ShakingQsavbnd;
10 --(void)ShakingQsafgd;
11 -+(void)ShakingQsiuad;
12 -
13 -
14 -
15 -@end
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
35 <string>Editor</string> 35 <string>Editor</string>
36 <key>CFBundleURLSchemes</key> 36 <key>CFBundleURLSchemes</key>
37 <array> 37 <array>
38 - <string>i9133public</string> 38 + <string>sdk.uuufish.com</string>
39 </array> 39 </array>
40 </dict> 40 </dict>
41 </array> 41 </array>
......
1 #include "SDKInterface.h" 1 #include "SDKInterface.h"
2 #import <UIKit/UIKit.h> 2 #import <UIKit/UIKit.h>
3 3
4 -#import "Shaking/ShakingAllManager.h" 4 +#import "Minstrel/MinstrelAllManager.h"
5 -#import "Shaking/ShakingHuiTiaoNotification.h" 5 +#import "Minstrel/MinstrelHuiTiaoNotification.h"
6 -#import "Shaking/ShakingMessage.h" 6 +#import "Minstrel/MinstrelMessage.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 *ShakingAppId; 13 +NSString *MinstrelAppId;
14 -NSString *ShakingAppKey; 14 +NSString *MinstrelAppKey;
15 15
16 - (void)SDKinit:(UIViewController *) control 16 - (void)SDKinit:(UIViewController *) control
17 { 17 {
...@@ -19,10 +19,10 @@ NSString *ShakingAppKey; ...@@ -19,10 +19,10 @@ NSString *ShakingAppKey;
19 [super SDKinit:control]; 19 [super SDKinit:control];
20 20
21 [HaiBaoJuheConfig getInstance]; 21 [HaiBaoJuheConfig getInstance];
22 - [[ShakingAllManager ShakingInstance]ShakingChuShiHua]; 22 + [[MinstrelAllManager MinstrelInstance]MinstrelChuShiHua];
23 - [[ShakingAllManager ShakingInstance]ShakingYangShi:@"sdk"]; 23 + [[MinstrelAllManager MinstrelInstance]MinstrelYangShi:@"sdk"];
24 - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:ShakingCKAssetsLoginNotification object:nil]; 24 + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:MinstrelCKAssetsLoginNotification object:nil];
25 - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"ShakingCKAssetsToolCallBack" object:nil]; 25 + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"MinstrelCKAssetsToolCallBack" object:nil];
26 26
27 [[HaiBaoJuheChecker getInstance] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil]; 27 [[HaiBaoJuheChecker getInstance] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
28 28
...@@ -39,9 +39,9 @@ NSString *ShakingAppKey; ...@@ -39,9 +39,9 @@ NSString *ShakingAppKey;
39 - (void)SDKloginSDK 39 - (void)SDKloginSDK
40 { 40 {
41 //APPID APPKEY 41 //APPID APPKEY
42 - ShakingAppId = [[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_ID"]; 42 + MinstrelAppId = [[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_ID"];
43 - ShakingAppKey =[[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_KEY"]; 43 + MinstrelAppKey =[[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_KEY"];
44 - [[ShakingAllManager ShakingInstance]ShakingDengLu:ShakingAppId :ShakingAppKey :self.controller]; 44 + [[MinstrelAllManager MinstrelInstance]MinstrelDengLu:MinstrelAppId :MinstrelAppKey :self.controller];
45 45
46 } 46 }
47 47
...@@ -52,9 +52,9 @@ NSString *ShakingAppKey; ...@@ -52,9 +52,9 @@ NSString *ShakingAppKey;
52 { 52 {
53 NSLog(@"loginchek"); 53 NSLog(@"loginchek");
54 HaiBaoJuheLoginInfo *loginInfo = [HaiBaoJuheLoginInfo alloc]; 54 HaiBaoJuheLoginInfo *loginInfo = [HaiBaoJuheLoginInfo alloc];
55 - loginInfo.openId = [[ShakingMessage getInstance]openId]; 55 + loginInfo.openId = [[MinstrelMessage getInstance]openId];
56 - loginInfo.sign = [[ShakingMessage getInstance] token]; 56 + loginInfo.sign = [[MinstrelMessage getInstance] token];
57 - loginInfo.timestamp = [[ShakingMessage getInstance] timestamp]; 57 + loginInfo.timestamp = [[MinstrelMessage getInstance] timestamp];
58 58
59 dispatch_async(dispatch_get_global_queue(0, 0), ^{ 59 dispatch_async(dispatch_get_global_queue(0, 0), ^{
60 [[HaiBaoJuheChecker getInstance] startCheck:loginInfo]; 60 [[HaiBaoJuheChecker getInstance] startCheck:loginInfo];
...@@ -82,7 +82,7 @@ NSString *ShakingAppKey; ...@@ -82,7 +82,7 @@ NSString *ShakingAppKey;
82 { 82 {
83 NSDictionary* payResultDic = notification.object; 83 NSDictionary* payResultDic = notification.object;
84 84
85 - NSString* receiptStr = [payResultDic objectForKey:@"ShakingCKAssetsToolResult"]; 85 + NSString* receiptStr = [payResultDic objectForKey:@"MinstrelCKAssetsToolResult"];
86 NSString* queryId = [payResultDic objectForKey:@"query_id"]; 86 NSString* queryId = [payResultDic objectForKey:@"query_id"];
87 87
88 NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil]; 88 NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
...@@ -216,10 +216,10 @@ NSString *ShakingAppKey; ...@@ -216,10 +216,10 @@ NSString *ShakingAppKey;
216 NSString *other = [payInfo other]; 216 NSString *other = [payInfo other];
217 217
218 if (other && [other length] > 0) { 218 if (other && [other length] > 0) {
219 - [[ShakingAllManager ShakingInstance] ShakingCKQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]]; 219 + [[MinstrelAllManager MinstrelInstance] MinstrelCKQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
220 }else{ 220 }else{
221 NSString* products = [payInfo products]; 221 NSString* products = [payInfo products];
222 - [[ShakingAllManager ShakingInstance] ShakingCKQueryOperation:self.controller ShakingHuoWuID:products ShakingJiaGe:[payInfo postAmount] ShakingHuoWuMing:[payInfo productName] ShakingDingDanHao:queryId]; 222 + [[MinstrelAllManager MinstrelInstance] MinstrelCKQueryOperation:self.controller MinstrelHuoWuID:products MinstrelJiaGe:[payInfo postAmount] MinstrelHuoWuMing:[payInfo productName] MinstrelDingDanHao:queryId];
223 } 223 }
224 } 224 }
225 225
......
...@@ -10,8 +10,9 @@ ...@@ -10,8 +10,9 @@
10 7、``` 所有接口PoolSdk 替换成 HaiBaoJuheSDK(如不理解可以参考demo或者详细文档) ``` <br> 10 7、``` 所有接口PoolSdk 替换成 HaiBaoJuheSDK(如不理解可以参考demo或者详细文档) ``` <br>
11 11
12 12
13 -已更新 海豹聚合SDK 2018年12月05日版本 快速更新到 2019年01月10日版本方法<br> 13 +已更新 海豹聚合SDK 2018年12月05日版本 快速更新到 2019年01月21日版本方法<br>
14 1、``` 删除poolsdk_file文件夹中原来framework ``` <br> 14 1、``` 删除poolsdk_file文件夹中原来framework ``` <br>
15 -2、``` 引入poolsdk_file文件夹中Craftar.framework ``` <br> 15 +2、``` 引入poolsdk_file文件夹中Minstrel.framework ``` <br>
16 3、``` 替换SDKInterface.m文件 ``` <br> 16 3、``` 替换SDKInterface.m文件 ``` <br>
17 -4、``` 替换HaiBaoJuheSDK.framework ``` <br>
...\ No newline at end of file ...\ No newline at end of file
17 +4、``` 替换HaiBaoJuheSDK.framework ``` <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) AphelionHaiBaoJuhereportOpen; 18 +- (void) MinstrelHaiBaoJuhereportOpen;
19 -- (void) AphelionHaiBaoJuhereportSDKOpen; 19 +- (void) MinstrelHaiBaoJuhereportSDKOpen;
20 -- (void)AphelionHaiBaoJuhehandleFirstOpenApp:(NSString*) path; 20 +- (void)MinstrelHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
21 - (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo; 21 - (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo;
22 -- (void) AphelionHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo; 22 +- (void) MinstrelHaiBaoJuheReport:(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)AphelionHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type; 31 +- (void)MinstrelHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
32 32
33 /* 33 /*
34 *初始化时调用 34 *初始化时调用
......
1 -#import "HaiBaoJuheSDK/AphelionHaiBaoJuheBaseModel.h" 1 +#import "HaiBaoJuheSDK/MinstrelHaiBaoJuheBaseModel.h"
2 -@interface HaiBaoJuheCreateOrderInfo : AphelionHaiBaoJuheBaseModel 2 +@interface HaiBaoJuheCreateOrderInfo : MinstrelHaiBaoJuheBaseModel
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 *) AphelionHaiBaoJuheGetTsign ; 19 +- (NSString *) MinstrelHaiBaoJuheGetTsign ;
20 -- (NSString *) AphelionHaiBaoJuheGetTimestamp ; 20 +- (NSString *) MinstrelHaiBaoJuheGetTimestamp ;
21 21
22 @end 22 @end
......
1 -#import "HaiBaoJuheSDK/AphelionHaiBaoJuheBaseModel.h" 1 +#import "HaiBaoJuheSDK/MinstrelHaiBaoJuheBaseModel.h"
2 -@interface HaiBaoJuheGzyazfInfo : AphelionHaiBaoJuheBaseModel 2 +@interface HaiBaoJuheGzyazfInfo : MinstrelHaiBaoJuheBaseModel
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/AphelionHaiBaoJuheBaseModel.h" 1 +#import "HaiBaoJuheSDK/MinstrelHaiBaoJuheBaseModel.h"
2 -@interface HaiBaoJuheLoginInfo : AphelionHaiBaoJuheBaseModel 2 +@interface HaiBaoJuheLoginInfo : MinstrelHaiBaoJuheBaseModel
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 -// AphelionHaiBaoJuheReportInfo.h 2 +// MinstrelHaiBaoJuheReportInfo.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/AphelionHaiBaoJuheBaseModel.h" 9 +#import "HaiBaoJuheSDK/MinstrelHaiBaoJuheBaseModel.h"
10 -@interface HaiBaoJuheReportInfo : AphelionHaiBaoJuheBaseModel 10 +@interface HaiBaoJuheReportInfo : MinstrelHaiBaoJuheBaseModel
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 *)AphelionHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString; 7 ++ (NSDictionary *)MinstrelHaiBaoJuheDictionaryWithJsonString:(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 AphelionHaiBaoJuheBaseModel : NSObject 4 +@interface MinstrelHaiBaoJuheBaseModel : NSObject
5 5
6 -- (NSString *)AphelionHaiBaoJuheObjectToJsonString; 6 +- (NSString *)MinstrelHaiBaoJuheObjectToJsonString;
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 AphelionHaiBaoJuheDGLogger : NSObject 14 +@interface MinstrelHaiBaoJuheDGLogger : NSObject
15 15
16 + (void)showLog:(NSString *)fmt,...; 16 + (void)showLog:(NSString *)fmt,...;
17 17
......
1 -#import <UIKit/UIKit.h>
2 -
3 -@interface AphelionIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource>
4 -
5 -@property(nonatomic,strong) NSString* AphelionDingDanHao;
6 -@property(nonatomic,strong) NSDictionary* AphelionHuoWuLieBiao;
7 -@property(nonatomic,strong) NSMutableArray* AphelionHuoWuIDLieBiao;
8 -@property(nonatomic, strong) UITableView *AphelionHuoWuLieBiaoView;
9 -
10 -- (void)AphelionHuaQianView:(UIViewController*)controller AphelionHuoWuD:(NSString*)products AphelionQian:(NSString*)amount AphelionHuoWuMing:(NSString*)productName AphelionDingDanHao:(NSString*)DingDanHao;
11 -
12 -@end
1 -#import <UIKit/UIKit.h>
2 -#import "StoreKit/StoreKit.h"
3 -
4 -@interface AphelionAllManager : NSObject
5 -{
6 - NSString* AphelionCKAPPID_;
7 - NSString* AphelionCKAPPKEY_;
8 -
9 - NSString* AphelionInviterCode_;
10 -}
11 -
12 -@property bool AphelionGeiWoHuaQianBa;
13 -
14 -+ (AphelionAllManager *)AphelionInstance;
15 -
16 -- (void)AphelionChuShiHua;
17 -
18 -- (void)AphelionDengLu:(NSString *)AphelionCKAPPID : (NSString *)AphelionCKAPPKEY : (UIViewController *)controller;
19 -
20 -- (void)AphelionYangShi:(NSString*)AphelionLeiXing;
21 -
22 -- (void)AphelionCKQuery: (NSString *)AphelionFuWuQiID : (NSString *)AphelionNickName : (NSNumber *)AphelionAmount : (NSString *)AphelionCallBack : (UIViewController *)controller : (NSString *)AphelionServerName;
23 -
24 -- (void)AphelionCKQueryOperation:(UIViewController*)controll AphelionHuoWuID:(NSString*)products AphelionJiaGe:(NSString*)amount AphelionHuoWuMing:(NSString*)productName AphelionDingDanHao:(NSString*) DingDanHao;
25 -
26 -
27 -
28 -@end
1 -#import <Foundation/Foundation.h>
2 -
3 -extern NSString * const AphelionCKAssetsExitNotification;
4 -extern NSString * const AphelionCKAssetsLoginNotification;
5 -extern NSString * const AphelionCKAssetsErrorNotification;
6 -
7 -
8 -@interface AphelionHuiTiaoNotification : NSObject
9 -
10 -@end
1 -#import <Foundation/Foundation.h>
2 -
3 -@interface AphelionHungry : NSObject
4 -
5 -+(void)AphelionQsad;
6 --(void)AphelionQsad123;
7 -+(void)AphelionQsagfhd;
8 --(void)AphelionQsavbnd;
9 -+(void)AphelionQsavbnd;
10 --(void)AphelionQsafgd;
11 -+(void)AphelionQsiuad;
12 -
13 -
14 -
15 -@end
1 +#import <UIKit/UIKit.h>
2 +
3 +@interface MinstrelIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource>
4 +
5 +@property(nonatomic,strong) NSString* MinstrelDingDanHao;
6 +@property(nonatomic,strong) NSDictionary* MinstrelHuoWuLieBiao;
7 +@property(nonatomic,strong) NSMutableArray* MinstrelHuoWuIDLieBiao;
8 +@property(nonatomic, strong) UITableView *MinstrelHuoWuLieBiaoView;
9 +
10 +- (void)MinstrelHuaQianView:(UIViewController*)controller MinstrelHuoWuD:(NSString*)products MinstrelQian:(NSString*)amount MinstrelHuoWuMing:(NSString*)productName MinstrelDingDanHao:(NSString*)DingDanHao;
11 +
12 +@end
1 +#import <UIKit/UIKit.h>
2 +#import "StoreKit/StoreKit.h"
3 +
4 +@interface MinstrelAllManager : NSObject
5 +{
6 + NSString* MinstrelCKAPPID_;
7 + NSString* MinstrelCKAPPKEY_;
8 +
9 + NSString* MinstrelInviterCode_;
10 +}
11 +
12 +@property bool MinstrelGeiWoHuaQianBa;
13 +
14 ++ (MinstrelAllManager *)MinstrelInstance;
15 +
16 +- (void)MinstrelChuShiHua;
17 +
18 +- (void)MinstrelDengLu:(NSString *)MinstrelCKAPPID : (NSString *)MinstrelCKAPPKEY : (UIViewController *)controller;
19 +
20 +- (void)MinstrelYangShi:(NSString*)MinstrelLeiXing;
21 +
22 +- (void)MinstrelCKQuery: (NSString *)MinstrelFuWuQiID : (NSString *)MinstrelNickName : (NSNumber *)MinstrelAmount : (NSString *)MinstrelCallBack : (UIViewController *)controller : (NSString *)MinstrelServerName;
23 +
24 +- (void)MinstrelCKQueryOperation:(UIViewController*)controll MinstrelHuoWuID:(NSString*)products MinstrelJiaGe:(NSString*)amount MinstrelHuoWuMing:(NSString*)productName MinstrelDingDanHao:(NSString*) DingDanHao;
25 +
26 +
27 +
28 +@end
1 +#import <Foundation/Foundation.h>
2 +
3 +extern NSString * const MinstrelCKAssetsExitNotification;
4 +extern NSString * const MinstrelCKAssetsLoginNotification;
5 +extern NSString * const MinstrelCKAssetsErrorNotification;
6 +
7 +
8 +@interface MinstrelHuiTiaoNotification : NSObject
9 +
10 +@end
1 +#import <Foundation/Foundation.h>
2 +
3 +@interface MinstrelHungry : NSObject
4 +
5 ++(void)MinstrelQsad;
6 +-(void)MinstrelQsad123;
7 ++(void)MinstrelQsagfhd;
8 +-(void)MinstrelQsavbnd;
9 ++(void)MinstrelQsavbnd;
10 +-(void)MinstrelQsafgd;
11 ++(void)MinstrelQsiuad;
12 +
13 +
14 +
15 +@end
1 #import <UIKit/UIKit.h> 1 #import <UIKit/UIKit.h>
2 2
3 -@interface AphelionLocation : NSObject 3 +@interface MinstrelLocation : NSObject
4 4
5 -+ (NSString *)AphelionSKCloudServiceSetupOptionsKey; 5 ++ (NSString *)MinstrelSKCloudServiceSetupOptionsKey;
6 @end 6 @end
7 7
......
1 #import <UIKit/UIKit.h> 1 #import <UIKit/UIKit.h>
2 -#import "ShakingMessage.h" 2 +#import "MinstrelMessage.h"
3 #import <JavaScriptCore/JavaScriptCore.h> 3 #import <JavaScriptCore/JavaScriptCore.h>
4 4
5 -@interface ShakingMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate> 5 +@interface MinstrelMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
6 { 6 {
7 UIWebView *webView_; 7 UIWebView *webView_;
8 UIActivityIndicatorView *activityIndicator; 8 UIActivityIndicatorView *activityIndicator;
9 } 9 }
10 10
11 -@property(assign) BOOL ShakingYouYuanJiao; 11 +@property(assign) BOOL MinstrelYouYuanJiao;
12 12
13 -- (void)ShakingSettingCKAssetsView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight; 13 +- (void)MinstrelSettingCKAssetsView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
14 -- (void)ShakingChuShiHuaWebView; 14 +- (void)MinstrelChuShiHuaWebView;
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 #import <Foundation/Foundation.h> 1 #import <Foundation/Foundation.h>
2 2
3 -@interface AphelionMessage : NSObject 3 +@interface MinstrelMessage : 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 -+ (AphelionMessage *)getInstance; 15 ++ (MinstrelMessage *)getInstance;
16 @end 16 @end
......
1 #import <Foundation/Foundation.h> 1 #import <Foundation/Foundation.h>
2 2
3 -@interface AphelionMessageJM : NSObject 3 +@interface MinstrelMessageJM : NSObject
4 4
5 -+(NSString *)AphelionJM:(NSString *)jm; 5 ++(NSString *)MinstrelJM:(NSString *)jm;
6 6
7 @end 7 @end
......
1 #include "SDKInterface.h" 1 #include "SDKInterface.h"
2 #import <UIKit/UIKit.h> 2 #import <UIKit/UIKit.h>
3 3
4 -#import "Aphelion/AphelionAllManager.h" 4 +#import "Minstrel/MinstrelAllManager.h"
5 -#import "Aphelion/AphelionHuiTiaoNotification.h" 5 +#import "Minstrel/MinstrelHuiTiaoNotification.h"
6 -#import "Aphelion/AphelionMessage.h" 6 +#import "Minstrel/MinstrelMessage.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 *AphelionAppId; 13 +NSString *MinstrelAppId;
14 -NSString *AphelionAppKey; 14 +NSString *MinstrelAppKey;
15 15
16 - (void)SDKinit:(UIViewController *) control 16 - (void)SDKinit:(UIViewController *) control
17 { 17 {
...@@ -19,10 +19,10 @@ NSString *AphelionAppKey; ...@@ -19,10 +19,10 @@ NSString *AphelionAppKey;
19 [super SDKinit:control]; 19 [super SDKinit:control];
20 20
21 [HaiBaoJuheConfig getInstance]; 21 [HaiBaoJuheConfig getInstance];
22 - [[AphelionAllManager AphelionInstance]AphelionChuShiHua]; 22 + [[MinstrelAllManager MinstrelInstance]MinstrelChuShiHua];
23 - [[AphelionAllManager AphelionInstance]AphelionYangShi:@"sdk"]; 23 + [[MinstrelAllManager MinstrelInstance]MinstrelYangShi:@"sdk"];
24 - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:AphelionCKAssetsLoginNotification object:nil]; 24 + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:MinstrelCKAssetsLoginNotification object:nil];
25 - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"AphelionCKAssetsToolCallBack" object:nil]; 25 + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"MinstrelCKAssetsToolCallBack" object:nil];
26 26
27 [[HaiBaoJuheChecker getInstance] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil]; 27 [[HaiBaoJuheChecker getInstance] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
28 28
...@@ -39,9 +39,9 @@ NSString *AphelionAppKey; ...@@ -39,9 +39,9 @@ NSString *AphelionAppKey;
39 - (void)SDKloginSDK 39 - (void)SDKloginSDK
40 { 40 {
41 //APPID APPKEY 41 //APPID APPKEY
42 - AphelionAppId = [[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_ID"]; 42 + MinstrelAppId = [[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_ID"];
43 - AphelionAppKey =[[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_KEY"]; 43 + MinstrelAppKey =[[HaiBaoJuheConfig getInstance] getValueByKey:@"APP_KEY"];
44 - [[AphelionAllManager AphelionInstance]AphelionDengLu:AphelionAppId :AphelionAppKey :self.controller]; 44 + [[MinstrelAllManager MinstrelInstance]MinstrelDengLu:MinstrelAppId :MinstrelAppKey :self.controller];
45 45
46 } 46 }
47 47
...@@ -52,9 +52,9 @@ NSString *AphelionAppKey; ...@@ -52,9 +52,9 @@ NSString *AphelionAppKey;
52 { 52 {
53 NSLog(@"loginchek"); 53 NSLog(@"loginchek");
54 HaiBaoJuheLoginInfo *loginInfo = [HaiBaoJuheLoginInfo alloc]; 54 HaiBaoJuheLoginInfo *loginInfo = [HaiBaoJuheLoginInfo alloc];
55 - loginInfo.openId = [[AphelionMessage getInstance]openId]; 55 + loginInfo.openId = [[MinstrelMessage getInstance]openId];
56 - loginInfo.sign = [[AphelionMessage getInstance] token]; 56 + loginInfo.sign = [[MinstrelMessage getInstance] token];
57 - loginInfo.timestamp = [[AphelionMessage getInstance] timestamp]; 57 + loginInfo.timestamp = [[MinstrelMessage getInstance] timestamp];
58 58
59 dispatch_async(dispatch_get_global_queue(0, 0), ^{ 59 dispatch_async(dispatch_get_global_queue(0, 0), ^{
60 [[HaiBaoJuheChecker getInstance] startCheck:loginInfo]; 60 [[HaiBaoJuheChecker getInstance] startCheck:loginInfo];
...@@ -82,7 +82,7 @@ NSString *AphelionAppKey; ...@@ -82,7 +82,7 @@ NSString *AphelionAppKey;
82 { 82 {
83 NSDictionary* payResultDic = notification.object; 83 NSDictionary* payResultDic = notification.object;
84 84
85 - NSString* receiptStr = [payResultDic objectForKey:@"AphelionCKAssetsToolResult"]; 85 + NSString* receiptStr = [payResultDic objectForKey:@"MinstrelCKAssetsToolResult"];
86 NSString* queryId = [payResultDic objectForKey:@"query_id"]; 86 NSString* queryId = [payResultDic objectForKey:@"query_id"];
87 87
88 NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil]; 88 NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
...@@ -216,10 +216,10 @@ NSString *AphelionAppKey; ...@@ -216,10 +216,10 @@ NSString *AphelionAppKey;
216 NSString *other = [payInfo other]; 216 NSString *other = [payInfo other];
217 217
218 if (other && [other length] > 0) { 218 if (other && [other length] > 0) {
219 - [[AphelionAllManager AphelionInstance] AphelionCKQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]]; 219 + [[MinstrelAllManager MinstrelInstance] MinstrelCKQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
220 }else{ 220 }else{
221 NSString* products = [payInfo products]; 221 NSString* products = [payInfo products];
222 - [[AphelionAllManager AphelionInstance] AphelionCKQueryOperation:self.controller AphelionHuoWuID:products AphelionJiaGe:[payInfo postAmount] AphelionHuoWuMing:[payInfo productName] AphelionDingDanHao:queryId]; 222 + [[MinstrelAllManager MinstrelInstance] MinstrelCKQueryOperation:self.controller MinstrelHuoWuID:products MinstrelJiaGe:[payInfo postAmount] MinstrelHuoWuMing:[payInfo productName] MinstrelDingDanHao:queryId];
223 } 223 }
224 } 224 }
225 225
......