mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-10-12 04:53:47 +08:00
This commit is contained in:
17
server/internal/model/input/commonin/wechat.go
Normal file
17
server/internal/model/input/commonin/wechat.go
Normal file
@@ -0,0 +1,17 @@
|
||||
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{}
|
Reference in New Issue
Block a user