♻️ update code structure

This commit is contained in:
landaiqing
2024-10-01 17:31:05 +08:00
parent 4ec1ea40bb
commit fcbbbbabff
16 changed files with 491 additions and 322 deletions

View File

@@ -1,6 +1,7 @@
package service
import (
"github.com/gin-gonic/gin"
"schisandra-cloud-album/model"
"schisandra-cloud-album/service/impl"
)
@@ -24,4 +25,6 @@ type UserService interface {
UpdateUserService(phone, encrypt string) error
// RefreshTokenService 刷新token
RefreshTokenService(refreshToken string) (*impl.ResponseData, bool)
// HandelUserLogin 处理用户登录
HandelUserLogin(user model.ScaAuthUser, autoLogin bool, c *gin.Context) (*impl.ResponseData, bool)
}