|
@@ -168,7 +168,11 @@ public class PQSingletoWXApiUtil: NSObject {
|
|
|
|
|
|
} else {
|
|
|
let webpageObject = WXWebpageObject()
|
|
|
- webpageObject.webpageUrl = path ?? ""
|
|
|
+ var webpageUrl = path ?? ""
|
|
|
+ if (webpageUrl.count > 0) {
|
|
|
+ webpageUrl = webpageUrl + "&sourceId=\(sourceId ?? "")&rootSourceId=\(rootSourceId ?? "")"
|
|
|
+ }
|
|
|
+ webpageObject.webpageUrl = webpageUrl
|
|
|
message.mediaObject = webpageObject
|
|
|
if type == 4 {
|
|
|
message.description = ""
|