Commit 1f364a6ce4f61e65e46ffe1137ff53dbbb417c0d

Authored by 王军波
1 parent 559eaf75

小改动

CNLivePaySDKDemo/AppDelegate.m
... ... @@ -13,6 +13,9 @@
13 13 #define WXAppId @"wxbcb43c2700c2e6b3"
14 14 #define BundleId @"com.cnlive.shipinzhongguo"
15 15  
  16 +#define AppId @"82_j08xy02b27"
  17 +#define Appkey @"a6a7a23f4dead94c97713746017987c8290abf471be4a2"
  18 +
16 19 @interface AppDelegate ()
17 20  
18 21 @end
... ... @@ -22,10 +25,9 @@
22 25  
23 26 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
24 27  
25   -// [[CNLivePaySDK sharedCNLivePayManager] registerApp:@"60_j0uqrv0u11" AppKey:@"876c5efece0fc9c98c51ff2180ee1bcfa5c5b5af202c78"];
26   - [[CNLivePaySDK sharedCNLivePayManager] registerApp:@"82_j08xy02b27" AppKey:@"a6a7a23f4dead94c97713746017987c8290abf471be4a2"];
  28 + [[CNLivePaySDK sharedCNLivePayManager] registerApp:AppId AppKey:Appkey];
27 29  
28   - [[CNLivePaySDK sharedCNLivePayManager] registerWXApiWithWXAppId:@"wxbcb43c2700c2e6b3"];
  30 + [[CNLivePaySDK sharedCNLivePayManager] registerWXApiWithWXAppId:WXAppId];
29 31  
30 32 self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
31 33 ViewController *vc = [[ViewController alloc] init];
... ...