init: initial commit

This commit is contained in:
Blizzard
2026-02-06 14:44:06 +08:00
commit 3115b58cb2
133 changed files with 25889 additions and 0 deletions
@@ -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"`
}
+7
View File
@@ -0,0 +1,7 @@
package response
import "sundynix-go/model/system"
type UploadFileResponse struct {
File system.Oss `json:"file"`
}
+6
View File
@@ -0,0 +1,6 @@
package response
type CaptchaRes struct {
CaptchaId string `json:"captchaId"`
Captcha string `json:"captcha"`
}
+9
View File
@@ -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"`
}