30 lines
629 B
Go
30 lines
629 B
Go
|
package logic
|
||
|
|
||
|
import (
|
||
|
"fusenapi/utils/auth"
|
||
|
"fusenapi/utils/basic"
|
||
|
|
||
|
"context"
|
||
|
|
||
|
"fusenapi/server/map_library/internal/svc"
|
||
|
"github.com/zeromicro/go-zero/core/logx"
|
||
|
)
|
||
|
|
||
|
type GetMapLibraryListLogic struct {
|
||
|
logx.Logger
|
||
|
ctx context.Context
|
||
|
svcCtx *svc.ServiceContext
|
||
|
}
|
||
|
|
||
|
func NewGetMapLibraryListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetMapLibraryListLogic {
|
||
|
return &GetMapLibraryListLogic{
|
||
|
Logger: logx.WithContext(ctx),
|
||
|
ctx: ctx,
|
||
|
svcCtx: svcCtx,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (l *GetMapLibraryListLogic) GetMapLibraryList(userinfo *auth.UserInfo) (resp *basic.Response) {
|
||
|
return resp.SetStatus(basic.CodeOK)
|
||
|
}
|