encapsulate Redis base function

This commit is contained in:
landaiqing
2024-08-06 13:17:03 +08:00
parent d0496b34f0
commit 86b907d4d0
15 changed files with 493 additions and 23 deletions

View File

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