加入、退出粉丝团接口及协议处理

This commit is contained in:
chenguilong
2022-04-08 15:42:25 +08:00
parent 6c4360ab96
commit 5942609f58
20 changed files with 419 additions and 164 deletions

View File

@@ -151,7 +151,12 @@ NSString * const kCloseWebView = @"closeWebView";
[self.webview evaluateJavaScript:@"document.location.href" completionHandler:^(id _Nullable response, NSError * _Nullable error) {
NSLog(@"%@", response);
NSString *currentUrl = [NSString stringWithFormat:@"%@", response];
///host,便h5
#ifdef DEBUG
if (currentUrl != nil) {
#else
if (currentUrl != nil && [currentUrl containsString:API_HOST_URL]) {
#endif
if ([message.name isEqualToString:kJSOpenSharePage]) {
if (message.body && message.body != [NSNull null]) {
NSDictionary *body;