add: some user api and all api desc

This commit is contained in:
wwweww
2026-02-27 19:17:01 +08:00
parent a0c720eb2f
commit 5930fb0dde
156 changed files with 9457 additions and 1086 deletions
@@ -0,0 +1,34 @@
// Code scaffolded by goctl. Safe to edit.
// goctl 1.9.2
package file
import (
"context"
"juwan-backend/app/objectstory/api/internal/svc"
"juwan-backend/app/objectstory/api/internal/types"
"github.com/zeromicro/go-zero/core/logx"
)
type GetFileLogic struct {
logx.Logger
ctx context.Context
svcCtx *svc.ServiceContext
}
// 文件获取接口 (如果是私有文件,通过此接口获取或重定向)
func NewGetFileLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetFileLogic {
return &GetFileLogic{
Logger: logx.WithContext(ctx),
ctx: ctx,
svcCtx: svcCtx,
}
}
func (l *GetFileLogic) GetFile(req *types.GetFileReq) error {
// todo: add your logic here and delete this line
return nil
}