xuguohong

gdbryzm

Showing 69 changed files with 372 additions and 346 deletions
No preview for this file type
......@@ -8,8 +8,8 @@
/* Begin PBXBuildFile section */
11EE78FF241B85FE00D3AA75 /* sdk_float_logo.png in Resources */ = {isa = PBXBuildFile; fileRef = 11EE78FE241B85FE00D3AA75 /* sdk_float_logo.png */; };
11EE79022420B11200D3AA75 /* SDKInterface.m in Sources */ = {isa = PBXBuildFile; fileRef = 11EE79012420B11200D3AA75 /* SDKInterface.m */; };
269F653821B6613F006AEC88 /* HaiBaoJuheSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 269F653721B6613F006AEC88 /* HaiBaoJuheSDK.framework */; };
26B0AA0C22CB4AED00FBBC10 /* SDKInterface.m in Sources */ = {isa = PBXBuildFile; fileRef = 26B0AA0B22CB4AEC00FBBC10 /* SDKInterface.m */; };
845D18221C8D778400F27EB9 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 845D181B1C8D778400F27EB9 /* Images.xcassets */; };
847EE5E21EE9007E003A4B7B /* MainViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 847EE5E11EE9007E003A4B7B /* MainViewController.m */; };
8484E4F51EE7E0DC00B402D1 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 8484E4F21EE7E0DC00B402D1 /* AppDelegate.m */; };
......@@ -59,9 +59,9 @@
/* Begin PBXFileReference section */
11EE78FE241B85FE00D3AA75 /* sdk_float_logo.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = sdk_float_logo.png; path = poolsdk_file/poolsdk/sdk_float_logo.png; sourceTree = "<group>"; };
11EE79002420B11200D3AA75 /* SDKInterface.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SDKInterface.h; path = poolsdk_file/poolsdk/SDKInterface.h; sourceTree = "<group>"; };
11EE79012420B11200D3AA75 /* SDKInterface.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SDKInterface.m; path = poolsdk_file/poolsdk/SDKInterface.m; sourceTree = "<group>"; };
269F653721B6613F006AEC88 /* HaiBaoJuheSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = HaiBaoJuheSDK.framework; sourceTree = "<group>"; };
26B0AA0A22CB4AEC00FBBC10 /* SDKInterface.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SDKInterface.h; path = poolsdk_file/poolsdk/SDKInterface.h; sourceTree = "<group>"; };
26B0AA0B22CB4AEC00FBBC10 /* SDKInterface.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SDKInterface.m; path = poolsdk_file/poolsdk/SDKInterface.m; sourceTree = "<group>"; };
845D181B1C8D778400F27EB9 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = poolsdk_file/poolsdk/Images.xcassets; sourceTree = "<group>"; };
845D181C1C8D778400F27EB9 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = poolsdk_file/poolsdk/Info.plist; sourceTree = "<group>"; };
847EE5E01EE9007E003A4B7B /* MainViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MainViewController.h; sourceTree = "<group>"; };
......@@ -138,9 +138,9 @@
8476DF641C4DD71D00EC42BA /* poolsdk */ = {
isa = PBXGroup;
children = (
11EE79002420B11200D3AA75 /* SDKInterface.h */,
11EE79012420B11200D3AA75 /* SDKInterface.m */,
11EE78FE241B85FE00D3AA75 /* sdk_float_logo.png */,
26B0AA0A22CB4AEC00FBBC10 /* SDKInterface.h */,
26B0AA0B22CB4AEC00FBBC10 /* SDKInterface.m */,
84F40F5423C87881006EE208 /* goowei_config */,
845D181B1C8D778400F27EB9 /* Images.xcassets */,
845D181C1C8D778400F27EB9 /* Info.plist */,
......@@ -273,7 +273,7 @@
TargetAttributes = {
BB5F3C871C1811BC00DA339D = {
CreatedOnToolsVersion = 6.4;
DevelopmentTeam = PNDD7Y396D;
DevelopmentTeam = 57YMWX724S;
ProvisioningStyle = Manual;
};
BB5F3CA01C1811BC00DA339D = {
......@@ -328,7 +328,7 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
26B0AA0C22CB4AED00FBBC10 /* SDKInterface.m in Sources */,
11EE79022420B11200D3AA75 /* SDKInterface.m in Sources */,
8484E4F51EE7E0DC00B402D1 /* AppDelegate.m in Sources */,
847EE5E21EE9007E003A4B7B /* MainViewController.m in Sources */,
BB5F3C8E1C1811BC00DA339D /* main.m in Sources */,
......@@ -464,7 +464,7 @@
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
DEAD_CODE_STRIPPING = NO;
DEVELOPMENT_TEAM = PNDD7Y396D;
DEVELOPMENT_TEAM = 57YMWX724S;
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
......@@ -482,10 +482,10 @@
);
ONLY_ACTIVE_ARCH = NO;
OTHER_LDFLAGS = "";
PRODUCT_BUNDLE_IDENTIFIER = com.test.youai;
PRODUCT_BUNDLE_IDENTIFIER = com.youaitest.com;
PRODUCT_NAME = "接入DEMO";
PROVISIONING_PROFILE = "9303482b-bf64-4d76-83c5-97cec24e2bd5";
PROVISIONING_PROFILE_SPECIFIER = dev;
PROVISIONING_PROFILE_SPECIFIER = dev0;
TARGETED_DEVICE_FAMILY = "1,2";
VALID_ARCHS = "arm64 armv7s";
};
......@@ -516,7 +516,7 @@
);
ONLY_ACTIVE_ARCH = NO;
OTHER_LDFLAGS = "";
PRODUCT_BUNDLE_IDENTIFIER = com.test.youai;
PRODUCT_BUNDLE_IDENTIFIER = com.youaitest.com;
PRODUCT_NAME = "接入DEMO";
PROVISIONING_PROFILE = "8e8ee19d-d19f-41ba-9a9d-108915ed5380";
PROVISIONING_PROFILE_SPECIFIER = dis;
......
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
uuid = "3D696189-A601-4E9A-98F6-E549CC28C9A7"
type = "1"
version = "2.0">
</Bucket>
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14113" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="vXZ-lx-hvc">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="15702" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="vXZ-lx-hvc">
<device id="retina4_7" orientation="landscape" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15704"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
......@@ -18,7 +16,7 @@
<viewControllerLayoutGuide type="bottom" id="2fi-mo-0CV"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="kh9-bI-dsS">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<rect key="frame" x="0.0" y="0.0" width="667" height="375"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="GQW-et-jRb">
......@@ -69,13 +67,21 @@
<action selector="actionLogout:" destination="vXZ-lx-hvc" eventType="touchUpInside" id="t6e-7P-tJU"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="cp2-bn-u2i">
<rect key="frame" x="61" y="204" width="191" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<state key="normal" title="客服中心"/>
<connections>
<action selector="AssistantCenter:" destination="vXZ-lx-hvc" eventType="touchUpInside" id="qMH-F1-ed2"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="x5A-6p-PRh" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="445" y="282"/>
<point key="canvasLocation" x="320" y="257"/>
</scene>
</scenes>
</document>
......
#import <Foundation/Foundation.h>
@interface EntireBarrieInformationWomens : NSObject
@interface AdvisedGenericInformationRussia : NSObject
{
//
NSString *openId;
......@@ -12,5 +12,5 @@ NSString *timestamp;
@property(retain,nonatomic) NSString *openId;
@property(retain,nonatomic) NSString *token;
@property(retain,nonatomic) NSString *timestamp;
+ (EntireBarrieInformationWomens *)getInstance;
+ (AdvisedGenericInformationRussia *)getInstance;
@end
......
#import <Foundation/Foundation.h>
@interface ActedBarrieControlPhrases : NSObject
@interface BiggestGenericControlTissues : NSObject
- (void)initBarrieInstance;
- (void)initGenericInstance;
- (void) BarrieStartGo;
- (void) GenericStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface MiracleBarrieInformationJMMuscles : NSObject
@interface BiggestGenericInformationJMTissues : NSObject
+(NSString *)BarrieJM:(NSString *)jm;
+(NSString *)GenericJM:(NSString *)jm;
@end
......
#import <Foundation/Foundation.h>
@interface MarkersBarrieControlFoolish : NSObject
@interface CannesGenericControlWasted : NSObject
- (void)initBarrieInstance;
- (void)initGenericInstance;
- (void) BarrieStartGo;
- (void) GenericStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
extern NSString * const NelsonGenericExitNotificationLookout;
extern NSString * const CrewsGenericLoginNotificationGlimpse;
extern NSString * const LaughGenericErrorNotificationInterim;
@interface CannesGenericHuiTiaoNotificationWasted : NSObject
@end
#import <Foundation/Foundation.h>
@interface MiracleBarrieControlMuscles : NSObject
@interface CrewsGenericControlGlimpse : NSObject
- (void)initBarrieInstance;
- (void)initGenericInstance;
- (void) BarrieStartGo;
- (void) GenericStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface ActedHaiBaoJuheConfigPhrases : NSObject
@interface CrewsHaiBaoJuheConfigGlimpse : NSObject
@property(nonatomic, strong)NSString *gameSimpleName;
@property(nonatomic, strong)NSString *sdkSimpleName;
......@@ -12,11 +12,11 @@
@property(nonatomic, strong)NSString *c2;
@property(nonatomic, strong)NSString *custom;
+ (ActedHaiBaoJuheConfigPhrases *)ThrowsgetInstanceInfocus;
+ (CrewsHaiBaoJuheConfigGlimpse *)LaughgetInstanceInterim;
- (void) loadFile:(NSString *) fileName;
- (NSString *)LinengetValueByKeyPlanner:(NSString *) key;
- (NSString *)NelsongetValueByKeyLookout:(NSString *) key;
- (void) updateC1C2Value:(NSString *)c1 c2:(NSString *)c2;
......
#import "ThrowsBarrieHaiBaoJuheBaseModelInfocus.h"
@interface ActedHaiBaoJuheGzyazfInfoPhrases : ThrowsBarrieHaiBaoJuheBaseModelInfocus
#import "LaughGenericHaiBaoJuheBaseModelInterim.h"
@interface CrewsHaiBaoJuheGzyazfInfoGlimpse : LaughGenericHaiBaoJuheBaseModelInterim
@property(nonatomic, strong)NSString *serverId;
@property(nonatomic, strong)NSString *queryId;
......
//
// ActedHaiBaoJuheNotificationPhrases.h
// CrewsHaiBaoJuheNotificationGlimpse.h
// public_i9133
//
// Created by winFan on 12/1/15.
......@@ -28,7 +28,7 @@ typedef NS_ENUM(int, HaiBaoJuheSDKNotificationType) {
@interface ActedHaiBaoJuheNotificationPhrases : NSObject
@interface CrewsHaiBaoJuheNotificationGlimpse : NSObject
@end
......
#import <UIKit/UIKit.h>
@interface ExtendBarrieIAPHelperControlBother : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* BarrieDingDanHao;
@property(nonatomic,strong) NSDictionary* BarrieHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* BarrieHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *BarrieHuoWuLieBiaoView;
- (void)BarrieHuaQianView:(UIViewController*)controller BarrieHuoWuD:(NSString*)products BarrieQian:(NSString*)amount BarrieHuoWuMing:(NSString*)productName BarrieDingDanHao:(NSString*)DingDanHao;
@end
#import "ThrowsBarrieHaiBaoJuheBaseModelInfocus.h"
@interface HaiBaoJuheCreateOrderInfo : ThrowsBarrieHaiBaoJuheBaseModelInfocus
#import "LaughGenericHaiBaoJuheBaseModelInterim.h"
@interface HaiBaoJuheCreateOrderInfo : LaughGenericHaiBaoJuheBaseModelInterim
@property(nonatomic,strong)NSString *serverId;//服务器ID
@property(nonatomic, strong)NSString *serverName;//服务器名称
......@@ -16,7 +16,7 @@
@property(nonatomic, strong)NSString *userId;//用户ID
@property(nonatomic, strong)NSString *timestamp;//时间戳
- (NSString *) BarrieHaiBaoJuheGetTsign ;
- (NSString *) BarrieHaiBaoJuheGetTimestamp ;
- (NSString *) GenericHaiBaoJuheGetTsign ;
- (NSString *) GenericHaiBaoJuheGetTimestamp ;
@end
......
#import "ThrowsBarrieHaiBaoJuheBaseModelInfocus.h"
@interface HaiBaoJuheLoginInfo : ThrowsBarrieHaiBaoJuheBaseModelInfocus
#import "LaughGenericHaiBaoJuheBaseModelInterim.h"
@interface HaiBaoJuheLoginInfo : LaughGenericHaiBaoJuheBaseModelInterim
@property(nonatomic,strong)NSString *timestamp;
@property(nonatomic, strong)NSString *sign;
......
//
// BarrieHaiBaoJuheReportInfo.h
// GenericHaiBaoJuheReportInfo.h
// HaiBaoJuheSDK
//
// Created by winFan on 12/21/15.
// Copyright (c) 2015 winFan. All rights reserved.
//
#import "ThrowsBarrieHaiBaoJuheBaseModelInfocus.h"
@interface HaiBaoJuheReportInfo : ThrowsBarrieHaiBaoJuheBaseModelInfocus
#import "LaughGenericHaiBaoJuheBaseModelInterim.h"
@interface HaiBaoJuheReportInfo : LaughGenericHaiBaoJuheBaseModelInterim
@property(nonatomic, strong)NSString *reportType;//类型
@property(nonatomic, strong)NSString *playerId;//玩家ID
......
......@@ -10,7 +10,7 @@
@property(nonatomic, strong)NSString *urlSchemes;
@property(strong) NSMutableArray* BarrieList;
@property(strong) NSMutableArray* GenericList;
@property BOOL isAppleGzyazfing;
......
#import <UIKit/UIKit.h>
#import "WaistHaiBaoJuheCheckerHairy.h"
#import "OasisHaiBaoJuheCheckerZenith.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheLoginInfo.h"
#import "Interface.h"
#import "ActedHaiBaoJuheNotificationPhrases.h"
#import "ActedHaiBaoJuheGzyazfInfoPhrases.h"
#import "CrewsHaiBaoJuheNotificationGlimpse.h"
#import "CrewsHaiBaoJuheGzyazfInfoGlimpse.h"
#import "UnionInterface.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "ActedHaiBaoJuheConfigPhrases.h"
#import "DevelHaiBaoJuheUtilsPhantom.h"
#import "CrewsHaiBaoJuheConfigGlimpse.h"
#import "VeganHaiBaoJuheUtilsHelping.h"
#import "NetCenter.h"
#import "HaiBaoJuheSDK.h"
#import "HaiBaoJuheSDKDelegate.h"
......
......@@ -2,7 +2,7 @@
NS_ASSUME_NONNULL_BEGIN
@interface ThrowsBarrieEncryptToolInfocus : NSObject
@interface LaughGenericEncryptToolInterim : NSObject
+ (NSString *)base64EncodedStringWithWrapWidth:(NSUInteger)wrapWidth withData:(NSData *)argData;
......
#import <Foundation/Foundation.h>
#import "OtherSetting.h"
@interface ThrowsBarrieHaiBaoJuheBaseModelInfocus : NSObject
@interface LaughGenericHaiBaoJuheBaseModelInterim : NSObject
- (NSString *) BarrieHaiBaoJuheObjectToJsonString;
- (NSString *) GenericHaiBaoJuheObjectToJsonString;
- (NSMutableString *)paramAddToString;
- (id)initWithDiction:(NSDictionary *)diction;
......
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface LinenBarrieAllManagerPlanner : NSObject
{
NSString* BarrieAPPID_;
NSString* BarrieAPPKEY_;
NSString* BarrieInviterCode_;
}
@property(strong) NSMutableArray* BarrieList;
@property bool BarrieGeiWoHuaQianBa;
+ (LinenBarrieAllManagerPlanner *)ExtendBarrieInstanceBother;
- (void)EntireBarrieChuShiHuaWomens;
- (void)SawyerBarrieDengLuLogout:(NSString *)BarrieAPPID : (NSString *)BarrieAPPKEY : (UIViewController *)controller;
- (void)MiracleBarrieYangShiMuscles:(NSString*)BarrieLeiXing;
- (void)MiracleBarrieUrlMuscles:(NSString*)BarrieUrl;
- (void)BarrieQuery: (NSString *)BarrieFuWuQiID : (NSString *)BarrieNickName : (NSNumber *)BarrieAmount : (NSString *)BarrieCallBack : (UIViewController *)controller : (NSString *)BarrieServerName;
- (void)BarrieQueryOperation:(UIViewController*)controll BarrieHuoWuID:(NSString*)products BarrieJiaGe:(NSString*)amount BarrieHuoWuMing:(NSString*)productName BarrieDingDanHao:(NSString*) DingDanHao;
@end
#import <Foundation/Foundation.h>
extern NSString * const LinenBarrieExitNotificationPlanner;
extern NSString * const ActedBarrieLoginNotificationPhrases;
extern NSString * const ThrowsBarrieErrorNotificationInfocus;
@interface MarkersBarrieHuiTiaoNotificationFoolish : NSObject
@end
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface NelsonGenericAllManagerLookout : NSObject
{
NSString* GenericAPPID_;
NSString* GenericAPPKEY_;
NSString* GenericInviterCode_;
}
@property(strong) NSMutableArray* GenericList;
@property bool GenericGeiWoHuaQianBa;
+ (NelsonGenericAllManagerLookout *)PelicanGenericInstanceBatter;
- (void)AdvisedGenericChuShiHuaRussia;
- (void)VisasGenericDengLuWaters:(NSString *)GenericAPPID : (NSString *)GenericAPPKEY : (UIViewController *)controller;
- (void)BiggestGenericYangShiTissues:(NSString*)GenericLeiXing;
- (void)BiggestGenericUrlTissues:(NSString*)GenericUrl;
- (void)GenericQuery: (NSString *)GenericFuWuQiID : (NSString *)GenericNickName : (NSNumber *)GenericAmount : (NSString *)GenericCallBack : (UIViewController *)controller : (NSString *)GenericServerName;
- (void)GenericQueryOperation:(UIViewController*)controll GenericHuoWuID:(NSString*)products GenericJiaGe:(NSString*)amount GenericHuoWuMing:(NSString*)productName GenericDingDanHao:(NSString*) DingDanHao;
@end
......@@ -11,7 +11,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel)
ELogError
};
@interface LinenBarrieHaiBaoJuheDGLoggerPlanner : NSObject
@interface NelsonGenericHaiBaoJuheDGLoggerLookout : NSObject
+ (void)showLog:(NSString *)fmt,...;
......
#import <Foundation/Foundation.h>
@interface SawyerBarrieControlLogout : NSObject
@interface NorrisGenericControlGarmin : NSObject
- (void)initBarrieInstance;
- (void)initGenericInstance;
- (void) BarrieStartGo;
- (void) GenericStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <UIKit/UIKit.h>
@interface WaistBarrieLocationHairy : NSObject
@interface OasisGenericLocationZenith : NSObject
+ (NSString *)BarrieSKCloudServiceSetupOptionsKey;
+ (NSString *)GenericSKCloudServiceSetupOptionsKey;
@end
......
#import <Foundation/Foundation.h>
#import "HaiBaoJuheLoginInfo.h"
#import "ActedHaiBaoJuheNotificationPhrases.h"
#import "CrewsHaiBaoJuheNotificationGlimpse.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "ActedHaiBaoJuheGzyazfInfoPhrases.h"
#import "CrewsHaiBaoJuheGzyazfInfoGlimpse.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheSDKDelegate.h"
@interface WaistHaiBaoJuheCheckerHairy : NSObject<HaiBaoJuheSDKDelegate>
@interface OasisHaiBaoJuheCheckerZenith : NSObject<HaiBaoJuheSDKDelegate>
@property(nonatomic, strong)NSString *userId;
@property(nonatomic, strong)id<HaiBaoJuheSDKDelegate> mHaiBaoJuheSDKDelegate;
@property bool onlyOneTimeGzyazf;
+ (WaistHaiBaoJuheCheckerHairy *)ViolategetInstanceDelays;
+ (OasisHaiBaoJuheCheckerZenith *)NorrisgetInstanceGarmin;
- (void)initChecker;
- (void)startCheck:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) createOrder:(HaiBaoJuheCreateOrderInfo *)gzyazfInfo;
- (void) BarrieHaiBaoJuhereportOpen;
- (void) BarrieHaiBaoJuhereportSDKOpen;
- (void) BarrieHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) GenericHaiBaoJuhereportOpen;
- (void) GenericHaiBaoJuhereportSDKOpen;
- (void) GenericHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo;
- (void) BarrieHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void) GenericHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void)sendNotice:(HaiBaoJuheSDKNotificationType)notiType
notiName:(NSString *)notiName
statusCode:(int)nCode
......@@ -28,7 +28,7 @@
- (void)startCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) BarrieHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
- (void) GenericHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
/*
*初始化时调用
......
#import <UIKit/UIKit.h>
@interface PelicanGenericIAPHelperControlBatter : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* GenericDingDanHao;
@property(nonatomic,strong) NSDictionary* GenericHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* GenericHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *GenericHuoWuLieBiaoView;
- (void)GenericHuaQianView:(UIViewController*)controller GenericHuoWuD:(NSString*)products GenericQian:(NSString*)amount GenericHuoWuMing:(NSString*)productName GenericDingDanHao:(NSString*)DingDanHao;
@end
#import <UIKit/UIKit.h>
#import "EntireBarrieInformationWomens.h"
#import "AdvisedGenericInformationRussia.h"
#import <JavaScriptCore/JavaScriptCore.h>
#import <WebKit/WebKit.h>
@interface DevelBarrieMainPhantom : UIViewController<WKNavigationDelegate,WKScriptMessageHandler>
@interface VeganGenericMainHelping : UIViewController<WKNavigationDelegate,WKScriptMessageHandler>
{
WKWebView *webBarrieView_;
WKWebView *webGenericView_;
UIActivityIndicatorView *activityIndicator;
}
@property(assign) BOOL BarrieYouYuanJiao;
@property(assign) BOOL GenericYouYuanJiao;
- (void)BarrieSettingBarrieView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)BarrieInitWebView;
- (void)GenericSettingGenericView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)GenericInitWebView;
- (void)loadWebPageWithString:(NSString *)url;
- (void)loadWebPageWithJs:(NSString *)content;
- (void)postNotification:(NSString *)name : (NSString *)code;
......
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface DevelHaiBaoJuheUtilsPhantom : NSObject
@interface VeganHaiBaoJuheUtilsHelping : NSObject
+(NSString *)md5:(NSString *)str;
+ (NSDictionary *) BarrieHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+ (NSDictionary *) GenericHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+(NSString *)createGzyazfOrderUrl;
//*充值回调地址
+(NSString *)ActedcreateGzyazfUrlPhrases;
+(NSString *)CrewscreateGzyazfUrlGlimpse;
+(UIActivityIndicatorView *)showLoadingDialog:(UIView*)parentView;
+(void)dismissLoadingDialog:(UIActivityIndicatorView*)indicatorView;
......
#import <Foundation/Foundation.h>
@interface ViolateBarrieControlDelays : NSObject
@interface VisasGenericControlWaters : NSObject
- (void)initBarrieInstance;
- (void)initGenericInstance;
- (void) BarrieStartGo;
- (void) GenericStartGo;
@property(strong) NSMutableArray* myarray;
......
......@@ -71,6 +71,7 @@ NSString* sdkUserId = @"";
case HaiBaoJuheSDKNotificationLogout:
{
NSLog(@"sdk注销成功,游戏处理");
[[HaiBaoJuheSDK shareSDK] loginSDK];
}
break;
case HaiBaoJuheSDKNotificationSwitchAccount:
......@@ -145,6 +146,19 @@ NSString* sdkUserId = @"";
[reportInfo setRoleCTime:[[NSNumber alloc]initWithLong:[self getCurrentTimestamp].longLongValue]];
[reportInfo setRoleChangeTime:[[NSNumber alloc]initWithLong:[self getCurrentTimestamp].longLongValue]];
[[HaiBaoJuheSDK shareSDK] reportSDK:reportInfo];
HaiBaoJuheReportInfo *reportInfo2 = [[HaiBaoJuheReportInfo alloc]init];
//[reportInfo setReportType:REPORT_CREATEROLE];
[reportInfo2 setReportType:REPORT_ROLEUPGRADE];
[reportInfo2 setServerId:@"28"];
[reportInfo2 setServerName:@"serverName"];
[reportInfo2 setPlayerId:@"1231241234"];
[reportInfo2 setPlayerName:@"playName"];
[reportInfo2 setPlayerLevel:@"222"];
[reportInfo2 setPartyName:@"1345"];
[reportInfo2 setRoleCTime:[[NSNumber alloc]initWithLong:[self getCurrentTimestamp].longLongValue]];
[reportInfo2 setRoleChangeTime:[[NSNumber alloc]initWithLong:[self getCurrentTimestamp].longLongValue]];
[[HaiBaoJuheSDK shareSDK] reportSDK:reportInfo2];
}
- (IBAction)actionLogout:(id)sender {
......@@ -160,6 +174,12 @@ NSString* sdkUserId = @"";
}
}
- (IBAction)AssistantCenter:(id)sender {
// if([[HaiBaoJuheSDK shareSDK] hasAssistantCenter]){
// [[HaiBaoJuheSDK shareSDK] openAssistantCenter];
// }
}
#pragma mark - 截屏
......
No preview for this file type
#include "SDKInterface.h"
#import <UIKit/UIKit.h>
#import "HaiBaoJuheSDK/LinenBarrieAllManagerPlanner.h"
#import "HaiBaoJuheSDK/MarkersBarrieHuiTiaoNotificationFoolish.h"
#import "HaiBaoJuheSDK/EntireBarrieInformationWomens.h"
#import "HaiBaoJuheSDK/NelsonGenericAllManagerLookout.h"
#import "HaiBaoJuheSDK/CannesGenericHuiTiaoNotificationWasted.h"
#import "HaiBaoJuheSDK/AdvisedGenericInformationRussia.h"
@implementation SDKInterface : Interface
int mExchange;
NSString *BarrieAppId;
NSString *BarrieAppKey;
NSString *BarrieLeakOrderUrl;
NSString *GenericAppId;
NSString *GenericAppKey;
NSString *GenericLeakOrderUrl;
- (void)SDKinit:(UIViewController *) control
{
[super SDKinit:control];
[ActedHaiBaoJuheConfigPhrases ThrowsgetInstanceInfocus];
[[LinenBarrieAllManagerPlanner ExtendBarrieInstanceBother]EntireBarrieChuShiHuaWomens];
[[LinenBarrieAllManagerPlanner ExtendBarrieInstanceBother]MiracleBarrieYangShiMuscles:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:ActedBarrieLoginNotificationPhrases object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"BarrieToolCallBack" object:nil];
[CrewsHaiBaoJuheConfigGlimpse LaughgetInstanceInterim];
[[NelsonGenericAllManagerLookout PelicanGenericInstanceBatter]AdvisedGenericChuShiHuaRussia];
[[NelsonGenericAllManagerLookout PelicanGenericInstanceBatter]BiggestGenericYangShiTissues:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:CrewsGenericLoginNotificationGlimpse object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"GenericToolCallBack" object:nil];
[[WaistHaiBaoJuheCheckerHairy ViolategetInstanceDelays] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
[[OasisHaiBaoJuheCheckerZenith NorrisgetInstanceGarmin] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
NSString* channelId = [[ActedHaiBaoJuheConfigPhrases ThrowsgetInstanceInfocus] LinengetValueByKeyPlanner:@"gamechannelid"];
NSString* channelId = [[CrewsHaiBaoJuheConfigGlimpse LaughgetInstanceInterim] NelsongetValueByKeyLookout:@"gamechannelid"];
if(channelId == nil || [channelId length] <= 0){
channelId = @"unknown";
}
......@@ -37,9 +37,9 @@ NSString *BarrieLeakOrderUrl;
- (void)SDKloginSDK
{
//APPID APPKEY
BarrieAppId = [[ActedHaiBaoJuheConfigPhrases ThrowsgetInstanceInfocus] LinengetValueByKeyPlanner:@"APP_ID"];
BarrieAppKey =[[ActedHaiBaoJuheConfigPhrases ThrowsgetInstanceInfocus] LinengetValueByKeyPlanner:@"APP_KEY"];
[[LinenBarrieAllManagerPlanner ExtendBarrieInstanceBother]SawyerBarrieDengLuLogout:BarrieAppId :BarrieAppKey :self.controller];
GenericAppId = [[CrewsHaiBaoJuheConfigGlimpse LaughgetInstanceInterim] NelsongetValueByKeyLookout:@"APP_ID"];
GenericAppKey =[[CrewsHaiBaoJuheConfigGlimpse LaughgetInstanceInterim] NelsongetValueByKeyLookout:@"APP_KEY"];
[[NelsonGenericAllManagerLookout PelicanGenericInstanceBatter]VisasGenericDengLuWaters:GenericAppId :GenericAppKey :self.controller];
}
......@@ -50,12 +50,12 @@ NSString *BarrieLeakOrderUrl;
{
NSLog(@"loginchek");
HaiBaoJuheLoginInfo *loginInfo = [HaiBaoJuheLoginInfo alloc];
loginInfo.openId = [[EntireBarrieInformationWomens getInstance]openId];
loginInfo.sign = [[EntireBarrieInformationWomens getInstance] token];
loginInfo.timestamp = [[EntireBarrieInformationWomens getInstance] timestamp];
loginInfo.openId = [[AdvisedGenericInformationRussia getInstance]openId];
loginInfo.sign = [[AdvisedGenericInformationRussia getInstance] token];
loginInfo.timestamp = [[AdvisedGenericInformationRussia getInstance] timestamp];
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[[WaistHaiBaoJuheCheckerHairy ViolategetInstanceDelays] startCheck:loginInfo];
[[OasisHaiBaoJuheCheckerZenith NorrisgetInstanceGarmin] startCheck:loginInfo];
});
}
......@@ -79,7 +79,7 @@ NSString *BarrieLeakOrderUrl;
- (void)HCKAssetsToolCallBack:(NSNotification *)notification
{
NSDictionary* payResultDic = notification.object;
NSString* receiptStr = [payResultDic objectForKey:@"BarrieToolResult"];
NSString* receiptStr = [payResultDic objectForKey:@"GenericToolResult"];
NSString* queryId = [payResultDic objectForKey:@"query_id"];
//收到回调,保存queryid和data
......@@ -98,10 +98,10 @@ NSString *BarrieLeakOrderUrl;
[userDefaults setObject:receiptStr forKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:BarrieLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:GenericLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
[[WaistHaiBaoJuheCheckerHairy ViolategetInstanceDelays] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
[[OasisHaiBaoJuheCheckerZenith NorrisgetInstanceGarmin] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
//删除已保存的
[userDefaults removeObjectForKey:queryId];
[tempQueryIdArray removeObject:queryId];
......@@ -119,11 +119,11 @@ NSString *BarrieLeakOrderUrl;
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
NSString* lastqueryid = [userDefaults objectForKey:@"lastqueryid"];
BarrieLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[DevelHaiBaoJuheUtilsPhantom ActedcreateGzyazfUrlPhrases],
GenericLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[VeganHaiBaoJuheUtilsHelping CrewscreateGzyazfUrlGlimpse],
[payInfo userId],
[payInfo playerId]];
[userDefaults setObject:BarrieLeakOrderUrl forKey:@"lastBarrieLeakOrderUrl"];
[userDefaults setObject:GenericLeakOrderUrl forKey:@"lastGenericLeakOrderUrl"];
if (lastqueryid!=nil) {
//创建订单前进行补单
......@@ -133,7 +133,7 @@ NSString *BarrieLeakOrderUrl;
receiptStr = [receiptStr stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
//如果不为空,进行最后一次补单
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",lastqueryid,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:BarrieLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:GenericLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
//删除已保存的
[userDefaults removeObjectForKey:@"lastqueryid"];
......@@ -143,8 +143,8 @@ NSString *BarrieLeakOrderUrl;
mExchange = [payInfo exchange].intValue;
[super SDKgzyazfWithGzyazfmentInfo:payInfo];
BarrieLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[DevelHaiBaoJuheUtilsPhantom ActedcreateGzyazfUrlPhrases],
GenericLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[VeganHaiBaoJuheUtilsHelping CrewscreateGzyazfUrlGlimpse],
[payInfo userId],
[payInfo playerId]];
[userDefaults synchronize];
......@@ -181,9 +181,15 @@ NSString *BarrieLeakOrderUrl;
}
- (BOOL)hasLogout
{
return YES;
}
- (void)SDKlogoutSDK
{
NSLog(@"切换账号");
[[OasisHaiBaoJuheCheckerZenith NorrisgetInstanceGarmin] sendNotice:HaiBaoJuheSDKNotificationLogout notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
}
- (void)handleOpenurl:(NSURL *)url
......@@ -209,12 +215,12 @@ NSString *BarrieLeakOrderUrl;
for (NSString* queryId in queryIdArray) {
NSString* receiptStr = [userDefaults valueForKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* lastBarrieLeakOrderUrl = [userDefaults objectForKey:@"lastBarrieLeakOrderUrl"];
NSString* lastGenericLeakOrderUrl = [userDefaults objectForKey:@"lastGenericLeakOrderUrl"];
NSString* result;
if (lastBarrieLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSynFillOD:lastBarrieLeakOrderUrl :receiptDic];
if (lastGenericLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSynFillOD:lastGenericLeakOrderUrl :receiptDic];
}else{
result = [[NetCenter getInstance] httpPostSynFillOD:[DevelHaiBaoJuheUtilsPhantom ActedcreateGzyazfUrlPhrases] :receiptDic];
result = [[NetCenter getInstance] httpPostSynFillOD:[VeganHaiBaoJuheUtilsHelping CrewscreateGzyazfUrlGlimpse] :receiptDic];
}
if([@"success" isEqualToString:result]){//成功
[userDefaults removeObjectForKey:queryId];
......@@ -236,7 +242,7 @@ NSString *BarrieLeakOrderUrl;
- (void)receiveCreateOrder:(NSNotification *)notification
{
NSLog(@"创建订单成功");
ActedHaiBaoJuheGzyazfInfoPhrases *payInfo = [notification object];
CrewsHaiBaoJuheGzyazfInfoGlimpse *payInfo = [notification object];
NSNumber *amount = @([[payInfo postAmount] integerValue] * mExchange);
NSString *serverId = [payInfo serverId];
......@@ -250,14 +256,14 @@ NSString *BarrieLeakOrderUrl;
NSString *other = [payInfo other];
if (other && [other length] > 0) {
[[LinenBarrieAllManagerPlanner ExtendBarrieInstanceBother] BarrieQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
[[NelsonGenericAllManagerLookout PelicanGenericInstanceBatter] GenericQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
}else{
NSString* products = [payInfo products];
//保存订单号到本地
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
[userDefaults setObject:queryId forKey:@"lastqueryid"];
[userDefaults synchronize];
[[LinenBarrieAllManagerPlanner ExtendBarrieInstanceBother] BarrieQueryOperation:self.controller BarrieHuoWuID:products BarrieJiaGe:[payInfo postAmount] BarrieHuoWuMing:[payInfo productName] BarrieDingDanHao:queryId];
[[NelsonGenericAllManagerLookout PelicanGenericInstanceBatter] GenericQueryOperation:self.controller GenericHuoWuID:products GenericJiaGe:[payInfo postAmount] GenericHuoWuMing:[payInfo productName] GenericDingDanHao:queryId];
}
}
......
{"renyunAppKey": "false", "payorderurl": "https://public.sdk.guangkatf.com/paycheck/create", "usertype": 526, "sdkSimpleName": "goowei_ios",
"APP_ID": "5e53987fa0fab74b58c7b16d", "gamechannelid": "",
"APP_KEY": "ea65244f0d8853fc6e1047abe365066c",
"logReportUrl": "https://public.sdk.shenshouwl.com/sdk/statistic",
"encode": "1",
"sdkVersionCode": "V1_2",
"loginCheckUrl": "https://public.sdk.guangkatf.com/logincheck/check",
"appScheme": "com.hnyafn.blcxaa", "descode": "", "c2": "", "c1": "", "custom": "{}",
"paycheckurl": "https://public.sdk.guangkatf.com/paycheck/confirm",
"gameSimpleName": "ces"}
{"payorderurl": "https://public.sdk.guangkatf.com/paycheck/create", "usertype": 607, "sdkSimpleName": "goowei_ios", "APP_ID": "5e5879a0a0fab75c906a2879", "gamechannelid": "", "APP_KEY": "9c53a5ede44d73a5608fafe959d0d79d", "logReportUrl": "https://public.sdk.guangkatf.com/sdk/statistic", "encode": "1", "sdkVersionCode": "V1_2", "loginCheckUrl": "https://public.sdk.guangkatf.com/logincheck/check", "appScheme": "com.gongm.shenhai", "descode": "", "c2": "", "c1": "", "custom": "{}", "paycheckurl": "https://public.sdk.guangkatf.com/paycheck/confirm", "gameSimpleName": "1122"}
......
#import <Foundation/Foundation.h>
@interface EntireBarrieInformationWomens : NSObject
@interface AdvisedGenericInformationRussia : NSObject
{
//
NSString *openId;
......@@ -12,5 +12,5 @@ NSString *timestamp;
@property(retain,nonatomic) NSString *openId;
@property(retain,nonatomic) NSString *token;
@property(retain,nonatomic) NSString *timestamp;
+ (EntireBarrieInformationWomens *)getInstance;
+ (AdvisedGenericInformationRussia *)getInstance;
@end
......
#import <Foundation/Foundation.h>
@interface ActedBarrieControlPhrases : NSObject
@interface BiggestGenericControlTissues : NSObject
- (void)initBarrieInstance;
- (void)initGenericInstance;
- (void) BarrieStartGo;
- (void) GenericStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface MiracleBarrieInformationJMMuscles : NSObject
@interface BiggestGenericInformationJMTissues : NSObject
+(NSString *)BarrieJM:(NSString *)jm;
+(NSString *)GenericJM:(NSString *)jm;
@end
......
#import <Foundation/Foundation.h>
@interface MarkersBarrieControlFoolish : NSObject
@interface CannesGenericControlWasted : NSObject
- (void)initBarrieInstance;
- (void)initGenericInstance;
- (void) BarrieStartGo;
- (void) GenericStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
extern NSString * const NelsonGenericExitNotificationLookout;
extern NSString * const CrewsGenericLoginNotificationGlimpse;
extern NSString * const LaughGenericErrorNotificationInterim;
@interface CannesGenericHuiTiaoNotificationWasted : NSObject
@end
#import <Foundation/Foundation.h>
@interface MiracleBarrieControlMuscles : NSObject
@interface CrewsGenericControlGlimpse : NSObject
- (void)initBarrieInstance;
- (void)initGenericInstance;
- (void) BarrieStartGo;
- (void) GenericStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface ActedHaiBaoJuheConfigPhrases : NSObject
@interface CrewsHaiBaoJuheConfigGlimpse : NSObject
@property(nonatomic, strong)NSString *gameSimpleName;
@property(nonatomic, strong)NSString *sdkSimpleName;
......@@ -12,11 +12,11 @@
@property(nonatomic, strong)NSString *c2;
@property(nonatomic, strong)NSString *custom;
+ (ActedHaiBaoJuheConfigPhrases *)ThrowsgetInstanceInfocus;
+ (CrewsHaiBaoJuheConfigGlimpse *)LaughgetInstanceInterim;
- (void) loadFile:(NSString *) fileName;
- (NSString *)LinengetValueByKeyPlanner:(NSString *) key;
- (NSString *)NelsongetValueByKeyLookout:(NSString *) key;
- (void) updateC1C2Value:(NSString *)c1 c2:(NSString *)c2;
......
#import "ThrowsBarrieHaiBaoJuheBaseModelInfocus.h"
@interface ActedHaiBaoJuheGzyazfInfoPhrases : ThrowsBarrieHaiBaoJuheBaseModelInfocus
#import "LaughGenericHaiBaoJuheBaseModelInterim.h"
@interface CrewsHaiBaoJuheGzyazfInfoGlimpse : LaughGenericHaiBaoJuheBaseModelInterim
@property(nonatomic, strong)NSString *serverId;
@property(nonatomic, strong)NSString *queryId;
......
//
// ActedHaiBaoJuheNotificationPhrases.h
// CrewsHaiBaoJuheNotificationGlimpse.h
// public_i9133
//
// Created by winFan on 12/1/15.
......@@ -28,7 +28,7 @@ typedef NS_ENUM(int, HaiBaoJuheSDKNotificationType) {
@interface ActedHaiBaoJuheNotificationPhrases : NSObject
@interface CrewsHaiBaoJuheNotificationGlimpse : NSObject
@end
......
#import <UIKit/UIKit.h>
@interface ExtendBarrieIAPHelperControlBother : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* BarrieDingDanHao;
@property(nonatomic,strong) NSDictionary* BarrieHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* BarrieHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *BarrieHuoWuLieBiaoView;
- (void)BarrieHuaQianView:(UIViewController*)controller BarrieHuoWuD:(NSString*)products BarrieQian:(NSString*)amount BarrieHuoWuMing:(NSString*)productName BarrieDingDanHao:(NSString*)DingDanHao;
@end
#import "ThrowsBarrieHaiBaoJuheBaseModelInfocus.h"
@interface HaiBaoJuheCreateOrderInfo : ThrowsBarrieHaiBaoJuheBaseModelInfocus
#import "LaughGenericHaiBaoJuheBaseModelInterim.h"
@interface HaiBaoJuheCreateOrderInfo : LaughGenericHaiBaoJuheBaseModelInterim
@property(nonatomic,strong)NSString *serverId;//服务器ID
@property(nonatomic, strong)NSString *serverName;//服务器名称
......@@ -16,7 +16,7 @@
@property(nonatomic, strong)NSString *userId;//用户ID
@property(nonatomic, strong)NSString *timestamp;//时间戳
- (NSString *) BarrieHaiBaoJuheGetTsign ;
- (NSString *) BarrieHaiBaoJuheGetTimestamp ;
- (NSString *) GenericHaiBaoJuheGetTsign ;
- (NSString *) GenericHaiBaoJuheGetTimestamp ;
@end
......
#import "ThrowsBarrieHaiBaoJuheBaseModelInfocus.h"
@interface HaiBaoJuheLoginInfo : ThrowsBarrieHaiBaoJuheBaseModelInfocus
#import "LaughGenericHaiBaoJuheBaseModelInterim.h"
@interface HaiBaoJuheLoginInfo : LaughGenericHaiBaoJuheBaseModelInterim
@property(nonatomic,strong)NSString *timestamp;
@property(nonatomic, strong)NSString *sign;
......
//
// BarrieHaiBaoJuheReportInfo.h
// GenericHaiBaoJuheReportInfo.h
// HaiBaoJuheSDK
//
// Created by winFan on 12/21/15.
// Copyright (c) 2015 winFan. All rights reserved.
//
#import "ThrowsBarrieHaiBaoJuheBaseModelInfocus.h"
@interface HaiBaoJuheReportInfo : ThrowsBarrieHaiBaoJuheBaseModelInfocus
#import "LaughGenericHaiBaoJuheBaseModelInterim.h"
@interface HaiBaoJuheReportInfo : LaughGenericHaiBaoJuheBaseModelInterim
@property(nonatomic, strong)NSString *reportType;//类型
@property(nonatomic, strong)NSString *playerId;//玩家ID
......
......@@ -10,7 +10,7 @@
@property(nonatomic, strong)NSString *urlSchemes;
@property(strong) NSMutableArray* BarrieList;
@property(strong) NSMutableArray* GenericList;
@property BOOL isAppleGzyazfing;
......
#import <UIKit/UIKit.h>
#import "WaistHaiBaoJuheCheckerHairy.h"
#import "OasisHaiBaoJuheCheckerZenith.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheLoginInfo.h"
#import "Interface.h"
#import "ActedHaiBaoJuheNotificationPhrases.h"
#import "ActedHaiBaoJuheGzyazfInfoPhrases.h"
#import "CrewsHaiBaoJuheNotificationGlimpse.h"
#import "CrewsHaiBaoJuheGzyazfInfoGlimpse.h"
#import "UnionInterface.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "ActedHaiBaoJuheConfigPhrases.h"
#import "DevelHaiBaoJuheUtilsPhantom.h"
#import "CrewsHaiBaoJuheConfigGlimpse.h"
#import "VeganHaiBaoJuheUtilsHelping.h"
#import "NetCenter.h"
#import "HaiBaoJuheSDK.h"
#import "HaiBaoJuheSDKDelegate.h"
......
......@@ -2,7 +2,7 @@
NS_ASSUME_NONNULL_BEGIN
@interface ThrowsBarrieEncryptToolInfocus : NSObject
@interface LaughGenericEncryptToolInterim : NSObject
+ (NSString *)base64EncodedStringWithWrapWidth:(NSUInteger)wrapWidth withData:(NSData *)argData;
......
#import <Foundation/Foundation.h>
#import "OtherSetting.h"
@interface ThrowsBarrieHaiBaoJuheBaseModelInfocus : NSObject
@interface LaughGenericHaiBaoJuheBaseModelInterim : NSObject
- (NSString *) BarrieHaiBaoJuheObjectToJsonString;
- (NSString *) GenericHaiBaoJuheObjectToJsonString;
- (NSMutableString *)paramAddToString;
- (id)initWithDiction:(NSDictionary *)diction;
......
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface LinenBarrieAllManagerPlanner : NSObject
{
NSString* BarrieAPPID_;
NSString* BarrieAPPKEY_;
NSString* BarrieInviterCode_;
}
@property(strong) NSMutableArray* BarrieList;
@property bool BarrieGeiWoHuaQianBa;
+ (LinenBarrieAllManagerPlanner *)ExtendBarrieInstanceBother;
- (void)EntireBarrieChuShiHuaWomens;
- (void)SawyerBarrieDengLuLogout:(NSString *)BarrieAPPID : (NSString *)BarrieAPPKEY : (UIViewController *)controller;
- (void)MiracleBarrieYangShiMuscles:(NSString*)BarrieLeiXing;
- (void)MiracleBarrieUrlMuscles:(NSString*)BarrieUrl;
- (void)BarrieQuery: (NSString *)BarrieFuWuQiID : (NSString *)BarrieNickName : (NSNumber *)BarrieAmount : (NSString *)BarrieCallBack : (UIViewController *)controller : (NSString *)BarrieServerName;
- (void)BarrieQueryOperation:(UIViewController*)controll BarrieHuoWuID:(NSString*)products BarrieJiaGe:(NSString*)amount BarrieHuoWuMing:(NSString*)productName BarrieDingDanHao:(NSString*) DingDanHao;
@end
#import <Foundation/Foundation.h>
extern NSString * const LinenBarrieExitNotificationPlanner;
extern NSString * const ActedBarrieLoginNotificationPhrases;
extern NSString * const ThrowsBarrieErrorNotificationInfocus;
@interface MarkersBarrieHuiTiaoNotificationFoolish : NSObject
@end
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface NelsonGenericAllManagerLookout : NSObject
{
NSString* GenericAPPID_;
NSString* GenericAPPKEY_;
NSString* GenericInviterCode_;
}
@property(strong) NSMutableArray* GenericList;
@property bool GenericGeiWoHuaQianBa;
+ (NelsonGenericAllManagerLookout *)PelicanGenericInstanceBatter;
- (void)AdvisedGenericChuShiHuaRussia;
- (void)VisasGenericDengLuWaters:(NSString *)GenericAPPID : (NSString *)GenericAPPKEY : (UIViewController *)controller;
- (void)BiggestGenericYangShiTissues:(NSString*)GenericLeiXing;
- (void)BiggestGenericUrlTissues:(NSString*)GenericUrl;
- (void)GenericQuery: (NSString *)GenericFuWuQiID : (NSString *)GenericNickName : (NSNumber *)GenericAmount : (NSString *)GenericCallBack : (UIViewController *)controller : (NSString *)GenericServerName;
- (void)GenericQueryOperation:(UIViewController*)controll GenericHuoWuID:(NSString*)products GenericJiaGe:(NSString*)amount GenericHuoWuMing:(NSString*)productName GenericDingDanHao:(NSString*) DingDanHao;
@end
......@@ -11,7 +11,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel)
ELogError
};
@interface LinenBarrieHaiBaoJuheDGLoggerPlanner : NSObject
@interface NelsonGenericHaiBaoJuheDGLoggerLookout : NSObject
+ (void)showLog:(NSString *)fmt,...;
......
#import <Foundation/Foundation.h>
@interface SawyerBarrieControlLogout : NSObject
@interface NorrisGenericControlGarmin : NSObject
- (void)initBarrieInstance;
- (void)initGenericInstance;
- (void) BarrieStartGo;
- (void) GenericStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <UIKit/UIKit.h>
@interface WaistBarrieLocationHairy : NSObject
@interface OasisGenericLocationZenith : NSObject
+ (NSString *)BarrieSKCloudServiceSetupOptionsKey;
+ (NSString *)GenericSKCloudServiceSetupOptionsKey;
@end
......
#import <Foundation/Foundation.h>
#import "HaiBaoJuheLoginInfo.h"
#import "ActedHaiBaoJuheNotificationPhrases.h"
#import "CrewsHaiBaoJuheNotificationGlimpse.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "ActedHaiBaoJuheGzyazfInfoPhrases.h"
#import "CrewsHaiBaoJuheGzyazfInfoGlimpse.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheSDKDelegate.h"
@interface WaistHaiBaoJuheCheckerHairy : NSObject<HaiBaoJuheSDKDelegate>
@interface OasisHaiBaoJuheCheckerZenith : NSObject<HaiBaoJuheSDKDelegate>
@property(nonatomic, strong)NSString *userId;
@property(nonatomic, strong)id<HaiBaoJuheSDKDelegate> mHaiBaoJuheSDKDelegate;
@property bool onlyOneTimeGzyazf;
+ (WaistHaiBaoJuheCheckerHairy *)ViolategetInstanceDelays;
+ (OasisHaiBaoJuheCheckerZenith *)NorrisgetInstanceGarmin;
- (void)initChecker;
- (void)startCheck:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) createOrder:(HaiBaoJuheCreateOrderInfo *)gzyazfInfo;
- (void) BarrieHaiBaoJuhereportOpen;
- (void) BarrieHaiBaoJuhereportSDKOpen;
- (void) BarrieHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) GenericHaiBaoJuhereportOpen;
- (void) GenericHaiBaoJuhereportSDKOpen;
- (void) GenericHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo;
- (void) BarrieHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void) GenericHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void)sendNotice:(HaiBaoJuheSDKNotificationType)notiType
notiName:(NSString *)notiName
statusCode:(int)nCode
......@@ -28,7 +28,7 @@
- (void)startCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) BarrieHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
- (void) GenericHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
/*
*初始化时调用
......
#import <UIKit/UIKit.h>
@interface PelicanGenericIAPHelperControlBatter : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* GenericDingDanHao;
@property(nonatomic,strong) NSDictionary* GenericHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* GenericHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *GenericHuoWuLieBiaoView;
- (void)GenericHuaQianView:(UIViewController*)controller GenericHuoWuD:(NSString*)products GenericQian:(NSString*)amount GenericHuoWuMing:(NSString*)productName GenericDingDanHao:(NSString*)DingDanHao;
@end
#import <UIKit/UIKit.h>
#import "EntireBarrieInformationWomens.h"
#import "AdvisedGenericInformationRussia.h"
#import <JavaScriptCore/JavaScriptCore.h>
#import <WebKit/WebKit.h>
@interface DevelBarrieMainPhantom : UIViewController<WKNavigationDelegate,WKScriptMessageHandler>
@interface VeganGenericMainHelping : UIViewController<WKNavigationDelegate,WKScriptMessageHandler>
{
WKWebView *webBarrieView_;
WKWebView *webGenericView_;
UIActivityIndicatorView *activityIndicator;
}
@property(assign) BOOL BarrieYouYuanJiao;
@property(assign) BOOL GenericYouYuanJiao;
- (void)BarrieSettingBarrieView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)BarrieInitWebView;
- (void)GenericSettingGenericView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)GenericInitWebView;
- (void)loadWebPageWithString:(NSString *)url;
- (void)loadWebPageWithJs:(NSString *)content;
- (void)postNotification:(NSString *)name : (NSString *)code;
......
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface DevelHaiBaoJuheUtilsPhantom : NSObject
@interface VeganHaiBaoJuheUtilsHelping : NSObject
+(NSString *)md5:(NSString *)str;
+ (NSDictionary *) BarrieHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+ (NSDictionary *) GenericHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+(NSString *)createGzyazfOrderUrl;
//*充值回调地址
+(NSString *)ActedcreateGzyazfUrlPhrases;
+(NSString *)CrewscreateGzyazfUrlGlimpse;
+(UIActivityIndicatorView *)showLoadingDialog:(UIView*)parentView;
+(void)dismissLoadingDialog:(UIActivityIndicatorView*)indicatorView;
......
#import <Foundation/Foundation.h>
@interface ViolateBarrieControlDelays : NSObject
@interface VisasGenericControlWaters : NSObject
- (void)initBarrieInstance;
- (void)initGenericInstance;
- (void) BarrieStartGo;
- (void) GenericStartGo;
@property(strong) NSMutableArray* myarray;
......
#include "SDKInterface.h"
#import <UIKit/UIKit.h>
#import "HaiBaoJuheSDK/LinenBarrieAllManagerPlanner.h"
#import "HaiBaoJuheSDK/MarkersBarrieHuiTiaoNotificationFoolish.h"
#import "HaiBaoJuheSDK/EntireBarrieInformationWomens.h"
#import "HaiBaoJuheSDK/NelsonGenericAllManagerLookout.h"
#import "HaiBaoJuheSDK/CannesGenericHuiTiaoNotificationWasted.h"
#import "HaiBaoJuheSDK/AdvisedGenericInformationRussia.h"
@implementation SDKInterface : Interface
int mExchange;
NSString *BarrieAppId;
NSString *BarrieAppKey;
NSString *BarrieLeakOrderUrl;
NSString *GenericAppId;
NSString *GenericAppKey;
NSString *GenericLeakOrderUrl;
- (void)SDKinit:(UIViewController *) control
{
[super SDKinit:control];
[ActedHaiBaoJuheConfigPhrases ThrowsgetInstanceInfocus];
[[LinenBarrieAllManagerPlanner ExtendBarrieInstanceBother]EntireBarrieChuShiHuaWomens];
[[LinenBarrieAllManagerPlanner ExtendBarrieInstanceBother]MiracleBarrieYangShiMuscles:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:ActedBarrieLoginNotificationPhrases object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"BarrieToolCallBack" object:nil];
[CrewsHaiBaoJuheConfigGlimpse LaughgetInstanceInterim];
[[NelsonGenericAllManagerLookout PelicanGenericInstanceBatter]AdvisedGenericChuShiHuaRussia];
[[NelsonGenericAllManagerLookout PelicanGenericInstanceBatter]BiggestGenericYangShiTissues:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:CrewsGenericLoginNotificationGlimpse object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"GenericToolCallBack" object:nil];
[[WaistHaiBaoJuheCheckerHairy ViolategetInstanceDelays] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
[[OasisHaiBaoJuheCheckerZenith NorrisgetInstanceGarmin] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
NSString* channelId = [[ActedHaiBaoJuheConfigPhrases ThrowsgetInstanceInfocus] LinengetValueByKeyPlanner:@"gamechannelid"];
NSString* channelId = [[CrewsHaiBaoJuheConfigGlimpse LaughgetInstanceInterim] NelsongetValueByKeyLookout:@"gamechannelid"];
if(channelId == nil || [channelId length] <= 0){
channelId = @"unknown";
}
......@@ -37,9 +37,9 @@ NSString *BarrieLeakOrderUrl;
- (void)SDKloginSDK
{
//APPID APPKEY
BarrieAppId = [[ActedHaiBaoJuheConfigPhrases ThrowsgetInstanceInfocus] LinengetValueByKeyPlanner:@"APP_ID"];
BarrieAppKey =[[ActedHaiBaoJuheConfigPhrases ThrowsgetInstanceInfocus] LinengetValueByKeyPlanner:@"APP_KEY"];
[[LinenBarrieAllManagerPlanner ExtendBarrieInstanceBother]SawyerBarrieDengLuLogout:BarrieAppId :BarrieAppKey :self.controller];
GenericAppId = [[CrewsHaiBaoJuheConfigGlimpse LaughgetInstanceInterim] NelsongetValueByKeyLookout:@"APP_ID"];
GenericAppKey =[[CrewsHaiBaoJuheConfigGlimpse LaughgetInstanceInterim] NelsongetValueByKeyLookout:@"APP_KEY"];
[[NelsonGenericAllManagerLookout PelicanGenericInstanceBatter]VisasGenericDengLuWaters:GenericAppId :GenericAppKey :self.controller];
}
......@@ -50,12 +50,12 @@ NSString *BarrieLeakOrderUrl;
{
NSLog(@"loginchek");
HaiBaoJuheLoginInfo *loginInfo = [HaiBaoJuheLoginInfo alloc];
loginInfo.openId = [[EntireBarrieInformationWomens getInstance]openId];
loginInfo.sign = [[EntireBarrieInformationWomens getInstance] token];
loginInfo.timestamp = [[EntireBarrieInformationWomens getInstance] timestamp];
loginInfo.openId = [[AdvisedGenericInformationRussia getInstance]openId];
loginInfo.sign = [[AdvisedGenericInformationRussia getInstance] token];
loginInfo.timestamp = [[AdvisedGenericInformationRussia getInstance] timestamp];
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[[WaistHaiBaoJuheCheckerHairy ViolategetInstanceDelays] startCheck:loginInfo];
[[OasisHaiBaoJuheCheckerZenith NorrisgetInstanceGarmin] startCheck:loginInfo];
});
}
......@@ -79,7 +79,7 @@ NSString *BarrieLeakOrderUrl;
- (void)HCKAssetsToolCallBack:(NSNotification *)notification
{
NSDictionary* payResultDic = notification.object;
NSString* receiptStr = [payResultDic objectForKey:@"BarrieToolResult"];
NSString* receiptStr = [payResultDic objectForKey:@"GenericToolResult"];
NSString* queryId = [payResultDic objectForKey:@"query_id"];
//收到回调,保存queryid和data
......@@ -98,10 +98,10 @@ NSString *BarrieLeakOrderUrl;
[userDefaults setObject:receiptStr forKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:BarrieLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:GenericLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
[[WaistHaiBaoJuheCheckerHairy ViolategetInstanceDelays] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
[[OasisHaiBaoJuheCheckerZenith NorrisgetInstanceGarmin] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
//删除已保存的
[userDefaults removeObjectForKey:queryId];
[tempQueryIdArray removeObject:queryId];
......@@ -119,11 +119,11 @@ NSString *BarrieLeakOrderUrl;
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
NSString* lastqueryid = [userDefaults objectForKey:@"lastqueryid"];
BarrieLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[DevelHaiBaoJuheUtilsPhantom ActedcreateGzyazfUrlPhrases],
GenericLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[VeganHaiBaoJuheUtilsHelping CrewscreateGzyazfUrlGlimpse],
[payInfo userId],
[payInfo playerId]];
[userDefaults setObject:BarrieLeakOrderUrl forKey:@"lastBarrieLeakOrderUrl"];
[userDefaults setObject:GenericLeakOrderUrl forKey:@"lastGenericLeakOrderUrl"];
if (lastqueryid!=nil) {
//创建订单前进行补单
......@@ -133,7 +133,7 @@ NSString *BarrieLeakOrderUrl;
receiptStr = [receiptStr stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
//如果不为空,进行最后一次补单
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",lastqueryid,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:BarrieLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:GenericLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
//删除已保存的
[userDefaults removeObjectForKey:@"lastqueryid"];
......@@ -143,8 +143,8 @@ NSString *BarrieLeakOrderUrl;
mExchange = [payInfo exchange].intValue;
[super SDKgzyazfWithGzyazfmentInfo:payInfo];
BarrieLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[DevelHaiBaoJuheUtilsPhantom ActedcreateGzyazfUrlPhrases],
GenericLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[VeganHaiBaoJuheUtilsHelping CrewscreateGzyazfUrlGlimpse],
[payInfo userId],
[payInfo playerId]];
[userDefaults synchronize];
......@@ -181,9 +181,15 @@ NSString *BarrieLeakOrderUrl;
}
- (BOOL)hasLogout
{
return YES;
}
- (void)SDKlogoutSDK
{
NSLog(@"切换账号");
[[OasisHaiBaoJuheCheckerZenith NorrisgetInstanceGarmin] sendNotice:HaiBaoJuheSDKNotificationLogout notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
}
- (void)handleOpenurl:(NSURL *)url
......@@ -209,12 +215,12 @@ NSString *BarrieLeakOrderUrl;
for (NSString* queryId in queryIdArray) {
NSString* receiptStr = [userDefaults valueForKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* lastBarrieLeakOrderUrl = [userDefaults objectForKey:@"lastBarrieLeakOrderUrl"];
NSString* lastGenericLeakOrderUrl = [userDefaults objectForKey:@"lastGenericLeakOrderUrl"];
NSString* result;
if (lastBarrieLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSynFillOD:lastBarrieLeakOrderUrl :receiptDic];
if (lastGenericLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSynFillOD:lastGenericLeakOrderUrl :receiptDic];
}else{
result = [[NetCenter getInstance] httpPostSynFillOD:[DevelHaiBaoJuheUtilsPhantom ActedcreateGzyazfUrlPhrases] :receiptDic];
result = [[NetCenter getInstance] httpPostSynFillOD:[VeganHaiBaoJuheUtilsHelping CrewscreateGzyazfUrlGlimpse] :receiptDic];
}
if([@"success" isEqualToString:result]){//成功
[userDefaults removeObjectForKey:queryId];
......@@ -236,7 +242,7 @@ NSString *BarrieLeakOrderUrl;
- (void)receiveCreateOrder:(NSNotification *)notification
{
NSLog(@"创建订单成功");
ActedHaiBaoJuheGzyazfInfoPhrases *payInfo = [notification object];
CrewsHaiBaoJuheGzyazfInfoGlimpse *payInfo = [notification object];
NSNumber *amount = @([[payInfo postAmount] integerValue] * mExchange);
NSString *serverId = [payInfo serverId];
......@@ -250,14 +256,14 @@ NSString *BarrieLeakOrderUrl;
NSString *other = [payInfo other];
if (other && [other length] > 0) {
[[LinenBarrieAllManagerPlanner ExtendBarrieInstanceBother] BarrieQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
[[NelsonGenericAllManagerLookout PelicanGenericInstanceBatter] GenericQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
}else{
NSString* products = [payInfo products];
//保存订单号到本地
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
[userDefaults setObject:queryId forKey:@"lastqueryid"];
[userDefaults synchronize];
[[LinenBarrieAllManagerPlanner ExtendBarrieInstanceBother] BarrieQueryOperation:self.controller BarrieHuoWuID:products BarrieJiaGe:[payInfo postAmount] BarrieHuoWuMing:[payInfo productName] BarrieDingDanHao:queryId];
[[NelsonGenericAllManagerLookout PelicanGenericInstanceBatter] GenericQueryOperation:self.controller GenericHuoWuID:products GenericJiaGe:[payInfo postAmount] GenericHuoWuMing:[payInfo productName] GenericDingDanHao:queryId];
}
}
......
{"renyunAppKey": "false", "payorderurl": "https://public.sdk.guangkatf.com/paycheck/create", "usertype": 526, "sdkSimpleName": "goowei_ios",
"APP_ID": "5e53987fa0fab74b58c7b16d", "gamechannelid": "",
"APP_KEY": "ea65244f0d8853fc6e1047abe365066c",
"logReportUrl": "https://public.sdk.shenshouwl.com/sdk/statistic",
"encode": "1",
"sdkVersionCode": "V1_2",
"loginCheckUrl": "https://public.sdk.guangkatf.com/logincheck/check",
"appScheme": "com.hnyafn.blcxaa", "descode": "", "c2": "", "c1": "", "custom": "{}",
"paycheckurl": "https://public.sdk.guangkatf.com/paycheck/confirm",
"gameSimpleName": "ces"}
{"payorderurl": "https://public.sdk.guangkatf.com/paycheck/create", "usertype": 607, "sdkSimpleName": "goowei_ios", "APP_ID": "5e5879a0a0fab75c906a2879", "gamechannelid": "", "APP_KEY": "9c53a5ede44d73a5608fafe959d0d79d", "logReportUrl": "https://public.sdk.guangkatf.com/sdk/statistic", "encode": "1", "sdkVersionCode": "V1_2", "loginCheckUrl": "https://public.sdk.guangkatf.com/logincheck/check", "appScheme": "com.gongm.shenhai", "descode": "", "c2": "", "c1": "", "custom": "{}", "paycheckurl": "https://public.sdk.guangkatf.com/paycheck/confirm", "gameSimpleName": "1122"}
......