加入、退出粉丝团接口及协议处理
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user