update 微信sdk相关说明

master
wanghualei 2023-03-07 14:10:33 +08:00
parent b38cb30e94
commit 21703c60d8
4 changed files with 5 additions and 19 deletions

View File

@ -13,7 +13,6 @@
9DD565CC23EC450A0011FC4A /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 9DD565CA23EC450A0011FC4A /* LaunchScreen.storyboard */; }; 9DD565CC23EC450A0011FC4A /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 9DD565CA23EC450A0011FC4A /* LaunchScreen.storyboard */; };
9DD565CF23EC450A0011FC4A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 9DD565CE23EC450A0011FC4A /* main.m */; }; 9DD565CF23EC450A0011FC4A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 9DD565CE23EC450A0011FC4A /* main.m */; };
A0E041B926CE6DAD00D58D47 /* demo.plist in Resources */ = {isa = PBXBuildFile; fileRef = A0E041B826CE6DAD00D58D47 /* demo.plist */; }; A0E041B926CE6DAD00D58D47 /* demo.plist in Resources */ = {isa = PBXBuildFile; fileRef = A0E041B826CE6DAD00D58D47 /* demo.plist */; };
A0E041BB26CE6E1F00D58D47 /* finosprite.plist in Resources */ = {isa = PBXBuildFile; fileRef = A0E041BA26CE6E1F00D58D47 /* finosprite.plist */; };
A0E041BD26CE720900D58D47 /* servers.plist in Resources */ = {isa = PBXBuildFile; fileRef = A0E041BC26CE720900D58D47 /* servers.plist */; }; A0E041BD26CE720900D58D47 /* servers.plist in Resources */ = {isa = PBXBuildFile; fileRef = A0E041BC26CE720900D58D47 /* servers.plist */; };
A823321F258C3B7000C1B2D5 /* FINDemoClientHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = A823321D258C3B7000C1B2D5 /* FINDemoClientHelper.m */; }; A823321F258C3B7000C1B2D5 /* FINDemoClientHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = A823321D258C3B7000C1B2D5 /* FINDemoClientHelper.m */; };
A863B745257A09A300959AA1 /* FINExtensionHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = A863B744257A09A300959AA1 /* FINExtensionHelper.m */; }; A863B745257A09A300959AA1 /* FINExtensionHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = A863B744257A09A300959AA1 /* FINExtensionHelper.m */; };
@ -36,7 +35,6 @@
9DD565CD23EC450A0011FC4A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; 9DD565CD23EC450A0011FC4A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
9DD565CE23EC450A0011FC4A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; 9DD565CE23EC450A0011FC4A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
A0E041B826CE6DAD00D58D47 /* demo.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = demo.plist; sourceTree = "<group>"; }; A0E041B826CE6DAD00D58D47 /* demo.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = demo.plist; sourceTree = "<group>"; };
A0E041BA26CE6E1F00D58D47 /* finosprite.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = finosprite.plist; sourceTree = "<group>"; };
A0E041BC26CE720900D58D47 /* servers.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = servers.plist; sourceTree = "<group>"; }; A0E041BC26CE720900D58D47 /* servers.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = servers.plist; sourceTree = "<group>"; };
A823321D258C3B7000C1B2D5 /* FINDemoClientHelper.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FINDemoClientHelper.m; sourceTree = "<group>"; }; A823321D258C3B7000C1B2D5 /* FINDemoClientHelper.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FINDemoClientHelper.m; sourceTree = "<group>"; };
A823321E258C3B7000C1B2D5 /* FINDemoClientHelper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FINDemoClientHelper.h; sourceTree = "<group>"; }; A823321E258C3B7000C1B2D5 /* FINDemoClientHelper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FINDemoClientHelper.h; sourceTree = "<group>"; };
@ -97,7 +95,6 @@
9DD565CD23EC450A0011FC4A /* Info.plist */, 9DD565CD23EC450A0011FC4A /* Info.plist */,
9DD565CE23EC450A0011FC4A /* main.m */, 9DD565CE23EC450A0011FC4A /* main.m */,
A0E041B826CE6DAD00D58D47 /* demo.plist */, A0E041B826CE6DAD00D58D47 /* demo.plist */,
A0E041BA26CE6E1F00D58D47 /* finosprite.plist */,
A0E041BC26CE720900D58D47 /* servers.plist */, A0E041BC26CE720900D58D47 /* servers.plist */,
); );
path = demo; path = demo;
@ -221,7 +218,6 @@
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
9DD565CC23EC450A0011FC4A /* LaunchScreen.storyboard in Resources */, 9DD565CC23EC450A0011FC4A /* LaunchScreen.storyboard in Resources */,
A0E041BB26CE6E1F00D58D47 /* finosprite.plist in Resources */,
A0E041B926CE6DAD00D58D47 /* demo.plist in Resources */, A0E041B926CE6DAD00D58D47 /* demo.plist in Resources */,
9DD565C923EC450A0011FC4A /* Assets.xcassets in Resources */, 9DD565C923EC450A0011FC4A /* Assets.xcassets in Resources */,
A0E041BD26CE720900D58D47 /* servers.plist in Resources */, A0E041BD26CE720900D58D47 /* servers.plist in Resources */,

View File

@ -25,7 +25,6 @@
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch. // Override point for customization after application launch.
// servers.plistfinclip
NSString *bundleId = [NSBundle mainBundle].bundleIdentifier; NSString *bundleId = [NSBundle mainBundle].bundleIdentifier;
NSString *path = [[NSBundle mainBundle] pathForResource:@"servers" ofType:@"plist"]; NSString *path = [[NSBundle mainBundle] pathForResource:@"servers" ofType:@"plist"];
NSDictionary *servers = [NSDictionary dictionaryWithContentsOfFile:path]; NSDictionary *servers = [NSDictionary dictionaryWithContentsOfFile:path];
@ -59,6 +58,7 @@
// [FATGDMapComponent setGDMapAppKey:@"申请的key"]; // [FATGDMapComponent setGDMapAppKey:@"申请的key"];
// SDK // SDK
// bundleIdbundleId appKeyuniversalLink
// [WXApi registerApp:@"微信开放sdk的key" universalLink:@"微信开放sdk的universalLink"]; // [WXApi registerApp:@"微信开放sdk的key" universalLink:@"微信开放sdk的universalLink"];
self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];

View File

@ -97,7 +97,10 @@ static FINExtensionHelper *instance = nil;
#pragma mark - WXPay #pragma mark - WXPay
// //
- (void)getTestPayment:(FATExtensionApiCallback)callback { - (void)getTestPayment:(FATExtensionApiCallback)callback {
// //
// 1.
// 2.app
// 3.
NSString *urlString = @"https://finclip-testing.finogeeks.club/mop/wechat-auth/api/order"; NSString *urlString = @"https://finclip-testing.finogeeks.club/mop/wechat-auth/api/order";
NSURL *url = [NSURL URLWithString:urlString]; NSURL *url = [NSURL URLWithString:urlString];
NSMutableURLRequest *requset = [NSMutableURLRequest requestWithURL:url]; NSMutableURLRequest *requset = [NSMutableURLRequest requestWithURL:url];

View File

@ -25,18 +25,5 @@
<string>SM</string> <string>SM</string>
</dict> </dict>
</array> </array>
<key>com.finogeeks.mop.finosprite</key>
<array>
<dict>
<key>appKey</key>
<string>22LyZEib0gLTQdU3MUauAQVLIkNNhTSGIN42gXzlAsk=</string>
<key>appSecret</key>
<string>ae55433be2f62915</string>
<key>apiServer</key>
<string>https://finchat-mop-b.finogeeks.club</string>
<key>cryptType</key>
<string>SM</string>
</dict>
</array>
</dict> </dict>
</plist> </plist>