package logic import ( "context" httpresult "demo/common" "demo/internal/svc" "demo/internal/types" "github.com/zeromicro/go-zero/core/logx" ) type Test503Logic struct { logx.Logger ctx context.Context svcCtx *svc.ServiceContext } func NewTest503Logic(ctx context.Context, svcCtx *svc.ServiceContext) *Test503Logic { return &Test503Logic{ Logger: logx.WithContext(ctx), ctx: ctx, svcCtx: svcCtx, } } func (l *Test503Logic) Test503() (resp *types.Response, err error) { // todo: add your logic here and delete this line return nil, httpresult.ErrorResultDefault("5031") }