# dcb.getAppInfo

获取 App 信息。

# 返回值

属性 类型 说明 最低版本
device_id

string

设备 ID。

client_id

string

客户端 ID。

session_id

string

会话 ID。

page_id

string

页面 ID。

page_title

string

页面标题。

control_id

string

无意义。

control_value

string

无意义。

belong_app

string

渠道。

net_type

string

网络类型。

os_name

string

系统类型。

os_version

string

系统版本。

carrier

string

运营商。

density

string

像素密度。

device_name

string

设备类型。

real_country_name

string

定位国家名称。(用户没开定位没有值)

real_country_code

string

定位国家代码。(用户没开定位没有值)

real_province_name

string

定位省份名称。(用户没开定位没有值)

real_province_code

string

定位省份代码。(用户没开定位没有值)

real_city_name

string

定位城市名称。(用户没开定位没有值)

real_city_code

string

定位城市代码。(用户没开定位没有值)

real_district_name

string

定位区划名称。(用户没开定位没有值)

real_district_code

string

定位区划代码。(用户没开定位没有值)

real_address

string

定位地址。(用户没开定位没有值)

service_country_name

string

服务国家名称。

service_country_code

string

服务国家代码。

service_province_name

string

服务省份名称。

service_province_code

string

服务省份代码。

service_city_name

string

服务城市名称。

service_city_code

string

服务城市代码。

service_district_name

string

服务区划名称。

service_district_code

string

服务区划代码。

locate_province_code

string

无意义。

locate_city_code

string

无意义。

locate_district_code

string

无意义。

release_code

string

发布版本号。

version_code

string

构建版本号。

latitude

string

定位经度。

longitude

string

定位纬度。

time_stamp

string

当前毫秒时间戳。

phone_num

string

手机号码。

store

string

下载渠道。

resolution

string

分辨率。

is_login

string

是否登录 0未登录, 1已登录。

7.3.0

# 示例

const appInfo = await dcb.getAppInfo();
// 结果类似:
// {
//    "locate_city_code" : "520100",
//    "session_id" : "dkkf;dlfds",
//    "locate_province_code" : "520000",
//    "device_id" : "x-x-4CD1-x-x",
//    "service_district_name" : "观山湖",
//    "belong_app" : "02",
//    "real_city_code" : "146",
//    "net_type" : "4g",
//    "os_version" : "13.4.1",
//    "carrier" : "中国电信",
//    "density" : "2",
//    "device_name" : "iPhone_7",
//    "service_country_name" : "中国",
//    "real_province_code" : "NONE",
//    "real_country_name" : "中国",
//    "service_province_code" : "520000",
//    "release_code" : "6.0.4",
//    "real_address" : "中国贵州省贵阳市乌当区长岭南路辅路",
//    "version_code" : "2020082405",
//    "service_province_name" : "贵州省",
//    "real_city_name" : "贵阳市",
//    "service_city_code" : "520100",
//    "os_name" : "iOS",
//    "real_district_name" : "乌当区",
//    "longitude" : "106.64360",
//    "time_stamp" : "1599463356000",
//    "page_title" : "NONE",
//    "control_id" : "NONE",
//    "client_id" : "02",
//    "phone_num" : "18087000000",
//    "locate_district_code" : "520115",
//    "real_country_code" : "01",
//    "real_province_name" : "贵州省",
//    "service_district_code" : "520115",
//    "store" : "appstore",
//    "page_id" : "WebBrowserViewController",
//    "control_value" : "NONE",
//    "service_city_name" : "贵阳市",
//    "real_district_code" : "520112",
//    "service_country_code" : "86",
//    "resolution" : "750x1334",
//    "latitude" : "26.61858"
//  }

# 贡献者

上次更新时间: 3/20/2023, 2:39:51 PM