Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1af7521

Browse files
committedMar 3, 2025·
给部分api添加转发url
1 parent 7c75fde commit 1af7521

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎Demo/API_V2/Assets/API/Share/ShareImageMenu/ShareImageMenu.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public void showShareImageMenu()
1212
WX.DownloadFile(
1313
new DownloadFileOption
1414
{
15-
url = "xxxxx",
15+
url = "https://res.wx.qq.com/wxdoc/dist/assets/img/demo.ef5c5bef.jpg",
1616
success = (res) =>
1717
{
1818
WX.ShowShareImageMenu(

‎Demo/API_V2/Assets/API/Share/onShareMessage/onShareMessage.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public class onShareMessage : Details
2020
new WXShareAppMessageParam
2121
{
2222
title = "转发标题",
23-
imageUrl = "xx",
23+
imageUrl = "https://res.wx.qq.com/wxdoc/dist/assets/img/demo.ef5c5bef.jpg",
2424
query = "key1=val1&key2=val2"
2525
}
2626
);
@@ -43,7 +43,7 @@ public void onShareAppMessage()
4343
var defaultParam = new WXShareAppMessageParam
4444
{
4545
title = "转发标题",
46-
imageUrl = "xx",
46+
imageUrl = "https://res.wx.qq.com/wxdoc/dist/assets/img/demo.ef5c5bef.jpg",
4747
query = "key1=val1&key2=val2"
4848
};
4949
WX.OnShareAppMessage(defaultParam, _onShareAppMessageCallback);

0 commit comments

Comments
 (0)
Please sign in to comment.