在自己公司开发的APP中,拉起微信客服功能,调试时手机微信提示url is nil.
代码如下。
NSString *corpid = @"ww5ce6c6f2235db030"; //企业ID;
NSString *url = @"https://work.weixin.qq.com/kfid/kfcf45a83410f51d429"; //客服URL
WXOpenCustomerServiceReq *req = [[WXOpenCustomerServiceReq alloc] init];
req.corpid = corpid;
req.url = [url copy];
[WXApi sendReq:req completion:^(BOOL success) {
NSLog(@"跳转微信%d",success);
}];
如有了解的请告知,感谢。
问题解决了么