check params

This commit is contained in:
2026-08-06 22:20:28 +08:00
parent 9d5b507634
commit e7e3aa12c3
15 changed files with 1465 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
package logic
import (
"context"
"admin/admin"
"admin/internal/svc"
"github.com/zeromicro/go-zero/core/logx"
)
type StatusLogic struct {
ctx context.Context
svcCtx *svc.ServiceContext
logx.Logger
}
func NewStatusLogic(ctx context.Context, svcCtx *svc.ServiceContext) *StatusLogic {
return &StatusLogic{
ctx: ctx,
svcCtx: svcCtx,
Logger: logx.WithContext(ctx),
}
}
func (l *StatusLogic) Status(in *admin.StatusRequest) (*admin.Response, error) {
// todo: add your logic here and delete this line
return &admin.Response{}, nil
}