You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
581 B
31 lines
581 B
package logic
|
|
|
|
import (
|
|
"context"
|
|
|
|
"apiProject/internal/svc"
|
|
"apiProject/internal/types"
|
|
|
|
"github.com/zeromicro/go-zero/core/logx"
|
|
)
|
|
|
|
type ApiProjectLogic struct {
|
|
logx.Logger
|
|
ctx context.Context
|
|
svcCtx *svc.ServiceContext
|
|
}
|
|
|
|
func NewApiProjectLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ApiProjectLogic {
|
|
return &ApiProjectLogic{
|
|
Logger: logx.WithContext(ctx),
|
|
ctx: ctx,
|
|
svcCtx: svcCtx,
|
|
}
|
|
}
|
|
|
|
func (l *ApiProjectLogic) ApiProject(req *types.Request) (resp *types.Response, err error) {
|
|
// todo: add your logic here and delete this line
|
|
|
|
return
|
|
}
|