first commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package response
|
||||
|
||||
type WxCode2SessionResp struct {
|
||||
SessionKey string `json:"session_key"`
|
||||
Unionid string `json:"unionid"`
|
||||
Openid string `json:"openid"`
|
||||
Errcode int32 `json:"errcode"`
|
||||
Errmsg string `json:"errmsg"`
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package response
|
||||
|
||||
import "sundynix-go/model/system"
|
||||
|
||||
type UploadFileResponse struct {
|
||||
File system.Oss `json:"file"`
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package response
|
||||
|
||||
type CaptchaRes struct {
|
||||
CaptchaId string `json:"captchaId"`
|
||||
Captcha string `json:"captcha"`
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package response
|
||||
|
||||
import "sundynix-go/model/system"
|
||||
|
||||
type LoginResponse struct {
|
||||
User system.User `json:"user"`
|
||||
Token string `json:"token"`
|
||||
ExpiresAt int64 `json:"expiresAt"`
|
||||
}
|
||||
Reference in New Issue
Block a user