1 Star 1 Fork 0

窦雪峰 / go-utils

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
sns.go 784 Bytes
Copy Edit Raw Blame History
窦雪峰 authored 2022-05-14 16:34 . 微信小程序
/*
* @Author: i@douxuefeng.cn
* @Date: 2022-05-14 16:06:20
* @LastEditTime: 2022-05-14 16:06:24
* @LastEditors: i@douxuefeng.cn
* @Description:
* @FilePath: \go-utils\wechat\mini\params\sns.go
*/
package params
type Code2Session struct {
Openid string `json:"openid"`
SessionKey string `json:"session_key"`
Unionid string `json:"unionid"`
Errcode int `json:"errcode"`
Errmsg string `json:"errmsg"`
}
type PhoneInfo struct {
PhoneNumber string `json:"phoneNumber"`
PurePhoneNumber string `json:"purePhoneNumber"`
CountryCode string `json:"countryCode"`
Watermark string `json:"watermark"`
}
type PhoneResult struct {
Errcode int `json:"errcode"`
Errmsg string `json:"errmsg"`
PhoneInfo PhoneInfo `json:"phone_info"`
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/douxuefeng/go-utils.git
git@gitee.com:douxuefeng/go-utils.git
douxuefeng
go-utils
go-utils
v0.2.6

Search

344bd9b3 5694891 D2dac590 5694891