Commit d2201100 authored by liuxinjun's avatar liuxinjun

修复左上角分享问题

parent ede54643
......@@ -127,7 +127,7 @@ var sdk = {
})
//5.统计:每次打开小游戏调用
wx.getSystemInfoSync({
wx.getSystemInfo({
success(res){
var loginData = res;
loginData.uid = self.userid;
......@@ -201,7 +201,7 @@ var sdk = {
if (cc.sys.platform === cc.sys.WECHAT_GAME) {
//.微信右上角分享
wx.showShareMenu({withShareTicket:true})
wx.shareAppMessage(function(res){
wx.onShareAppMessage(function(res){
//.默认0:右上角分享
var tpye = 0;
if(obj.type){
......
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