微信小程序第三方平台开发,怎么获取ext.json里的extAppid?
发布于 3 年前 作者 qiang62 4242 次浏览 来自 官方Issues

微信小程序第三方平台开发,怎么在小程序里面获取ext.json里的extAppid?

1 回复

1、写在ext:{appid:‘xxx’}里;

2、小程序里直接获取本小程序的appid

let appid = wx.getAccountInfoSync().miniProgram.appId
回到顶部