# GET 安全手机号查询(手机号脱敏)

通过该接口,根据学工号查询用户手机号,手机号脱敏。

# api 调用权限说明

要调用此API,需要申请开放平台的能力,并且获取token;获取token后在接口请求时,header中添加 Authorization 值为token authorization配置

详细参考-获取access token

# 请求方法

请求方式-GET

接口地址 https://学校中的poa域名/apis/messagecenter/v1/poaMessage/getVerificationPhoneNum

例如: https://poa.dev2.supwisdom.com/apis/messagecenter/v1/poaMessage/getVerificationPhoneNum

# Header参数

名称 类型 是否必填 描述
Authorization String 调用该接口的访问凭证

# 入参说明

参数 描述 类型 必填 默认值
accountNames 学工号,多个用英文逗号分隔 string

# 接口调用成功返回

接口返回code值0为成功返回

{
  "code": 0,
  "timestamp": 0,
  "message": "string",
  "data": [
    {
      "accountName": "string",
      "securePhone": "string"
    }
  ]
}
1
2
3
4
5
6
7
8
9
10
11

# 接口调用失败返回

{
  "code": 500,
  "timestamp": "2019-08-24T14:15:22Z",
  "message": "string",
  "data": {}
}
1
2
3
4
5
6

# postman 发送方式demo

param:

accountNames = smartadmin,20221102

{
    "timestamp": 1693882612304,
    "code": 0,
    "message": "查询成功",
    "data": [
        {
            "accountName": "20221102",
            "securePhone": "157****7379"
        },
        {
            "accountName": "smartadmin",
            "securePhone": "155****9488"
        }
    ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

postman-demo2