add jwt / complete the rotation verification

This commit is contained in:
landaiqing
2024-08-12 22:05:59 +08:00
parent 54f6256c00
commit 48c5aeb0f4
31 changed files with 1702 additions and 44 deletions

View File

@@ -3,12 +3,14 @@ package api
import (
"schisandra-cloud-album/api/auth_api"
"schisandra-cloud-album/api/captcha_api"
"schisandra-cloud-album/api/sms_api"
)
// Apis 统一导出的api
type Apis struct {
AuthApi auth_api.AuthAPI
CaptchaAPI captcha_api.CaptchaAPI
CaptchaApi captcha_api.CaptchaAPI
SmsApi sms_api.SmsAPI
}
// Api new函数实例化实例化完成后会返回结构体地指针类型