小程序-wx.getSystemInfoSync().platform可取值
1、使用wx.getSystemInfoSync()获取环境信息,参考:
(1)https://blog.csdn.net/weixin_34166472/article/details/90366750;
(2)https://developers.weixin.qq.com/miniprogram/dev/api/base/system/wx.getSystemInfoSync.html
以下是参数platform的可取值