Commit 88b70add authored by fengchao's avatar fengchao
Browse files

fix(code):测试分享

parent 6268180b
......@@ -282,7 +282,7 @@ extern "C" {
shareInfo.imagePath = [NSString stringWithFormat:@"%@", jsonDict[@"picPath"]];
shareInfo.linkPath = [NSString stringWithFormat:@"%@", jsonDict[@"shareUrl"]];
switch (shareType) {
switch (platformType) {
case 1:
[sdk shareType:ACCESS_SCENESESSION shareObject:shareInfo];
break;
......
......@@ -343,7 +343,7 @@ public class GameManager : MonoBehaviour
};
HoolaiSdkManager.ShareData(SharePlatformType.WECHAT_SESSION,ShareType.IMG, shareParams);
HoolaiSdkManager.ShareData(SharePlatformType.WECHAT_TIMELINE, ShareType.IMG, shareParams);
}
else
{
......@@ -365,7 +365,7 @@ public class GameManager : MonoBehaviour
};
HoolaiSdkManager.ShareData(SharePlatformType.WECHAT_FAVORITE, ShareType.TEXT, shareParams);
HoolaiSdkManager.ShareData(SharePlatformType.WECHAT_SESSION, ShareType.TEXT, shareParams);
}
......@@ -412,7 +412,7 @@ public class GameManager : MonoBehaviour
};
HoolaiSdkManager.ShareData(SharePlatformType.QQ, ShareType.IMG, shareParams);
HoolaiSdkManager.ShareData(SharePlatformType.QZONE, ShareType.IMG, shareParams);
}
else
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment