Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateLogic ¶
func NewCreateLogic ¶
func NewCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateLogic
func (*CreateLogic) Create ¶
func (l *CreateLogic) Create(req *types.DictDetail) (resp *types.WithID, err error)
type DeleteLogic ¶
func NewDeleteLogic ¶
func NewDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteLogic
type IndexLogic ¶
func NewIndexLogic ¶
func NewIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *IndexLogic
func (*IndexLogic) Index ¶
func (l *IndexLogic) Index(req *types.DictDetailIndexReq) (resp *types.DictDetailIndexResp, err error)
type ReadLogic ¶
func NewReadLogic ¶
func NewReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ReadLogic
获取字典详情单个
func (*ReadLogic) Read ¶
func (l *ReadLogic) Read(req *types.DictDetailReadReq) (resp *types.DictDetail, err error)
type UpdateLogic ¶
func NewUpdateLogic ¶
func NewUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateLogic
func (*UpdateLogic) Update ¶
func (l *UpdateLogic) Update(req *types.DictDetail) error
Click to show internal directories.
Click to hide internal directories.