23 lines
823 B
Go
23 lines
823 B
Go
package user_login
|
|
|
|
import (
|
|
"context"
|
|
v1 "likedream-goframe/internal/api/v1"
|
|
"likedream-goframe/internal/ent"
|
|
"likedream-goframe/internal/utils"
|
|
)
|
|
|
|
type IUserInfoV1 interface {
|
|
PermissionList(ctx context.Context, _ *v1.CommonReq) (*utils.Response[*v1.UserPermissionRes], error)
|
|
//用户基础信息
|
|
UserInfo(ctx context.Context, _ *v1.CommonReq) (*utils.Response[any], error)
|
|
// 个人中心
|
|
Profile(ctx context.Context, req *v1.CommonReq) (*utils.Response[any], error)
|
|
// 重置密码
|
|
ResetPassword(ctx context.Context, req *v1.ResetPasswordReq) (*utils.Response[any], error)
|
|
// 已使用卡密记录
|
|
UsedCardList(ctx context.Context, req *v1.CommonPageReq) (*utils.Response[[]*ent.SysCard], error)
|
|
// 卡密充值
|
|
CardRecharge(ctx context.Context, req *v1.CardRechargeReq) (*utils.Response[any], error)
|
|
}
|