getAppInfo 指明当前APP的版本号和环境

getAppInfo ^7.10

指明当前APP的版本号和环境

#请求参数

N/A

#接口调用示例

this.$bridge
  .getAppInfo()
  .then(res => {
    this.$alert(res)
  })
  .catch(err => {
    this.$toast(err)
  })

#接口返回示例

{
  appVersion: '8.22.5.398', // app版本
  appName: '美的美居',  // app名称
  appEnv: 'sit',  // 环境 sit、uat、prod
  appPlatform: 'android'  // android、iOS
}
posted on 2024-12-19 09:27  AtlasLapetos  阅读(26)  评论(0)    收藏  举报