NSString *text=[NSString stringWithFormat:@"token=%@&order=%@",kFetchMyDefault(@"token"),self.orderDict[@"fhId"]] ;
NSString *url = [text stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet characterSetWithCharactersInString:@":/?#[]@!$ &'()*+,;=""<>%{}|\\^~`"].invertedSet];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:[NSString stringWithFormat:@"alipay://platformapi/startapp?appId=%@&page=pages/payment/payment?%@",payModel.appletUserName,url]] options:@{UIApplicationOpenURLOptionUniversalLinksOnly: @NO} completionHandler:nil];
网友评论