Skip to content

Commit

Permalink
修复获取手机号接口
Browse files Browse the repository at this point in the history
  • Loading branch information
royalmorty committed Feb 24, 2022
1 parent 504bd8c commit 43b73f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions phonenumber/get_phone_number.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ type GetPhoneNumberRequest struct {

type GetPhoneNumberResponse struct {
request.CommonError
Data []struct {
Data struct {
PhoneNumber string `json:"phoneNumber"` // 用户绑定的手机号(国外手机号会有区号)
PurePhoneNumber string `json:"purePhoneNumber"` // 没有区号的手机号
CountryCode string `json:"countryCode"` // 区号
Watermark []struct {
Watermark struct {
Appid string `json:"appid"` // 小程序appid
Timestamp int64 `json:"timestamp"` // 用户获取手机号操作的时间戳
} `json:"watermark"` // 数据水印
Expand Down

0 comments on commit 43b73f5

Please sign in to comment.