mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-02-03 10:58:44 +08:00
18 lines
580 B
Go
18 lines
580 B
Go
|
package commonin
|
||
|
|
||
|
// WechatAuthorizeInp 微信用户授权
|
||
|
type WechatAuthorizeInp struct {
|
||
|
Type string `json:"type" v:"required#授权类型不能为空" dc:"授权类型"`
|
||
|
SyncRedirect string `json:"syncRedirect" v:"required#同步跳转地址不能为空" dc:"同步跳转地址"`
|
||
|
}
|
||
|
|
||
|
type WechatAuthorizeModel struct{}
|
||
|
|
||
|
// WechatAuthorizeCallInp 微信用户授权回调
|
||
|
type WechatAuthorizeCallInp struct {
|
||
|
Code string `json:"code" dc:"code作为换取access_token的票据"`
|
||
|
State string `json:"state" dc:"state"`
|
||
|
}
|
||
|
|
||
|
type WechatAuthorizeCallModel struct{}
|