# getAppInfo ^7.10

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

# 请求参数

N/A

# 接口调用示例



this.$bridge
  .getAppInfo()
  .then(res => {
    this.$alert(res)
  })
  .catch(err => {
    this.$toast(err)
  })
1
2
3
4
5
6
7
8
9
10

# 接口返回示例


{
  appVersion: '8.22.5.398', // app版本
  appName: '美的美居',  // app名称
  appEnv: 'sit',  // 环境
  appPlatform: 'android'  // android/iOS
}


1
2
3
4
5
6
7
8
9
Last Updated: 12/8/2023, 2:34:25 PM