Documentation ¶
Index ¶
- func CheckAffordance(po *relationDB.DmSchemaCore) error
- func ToCommonSchemaPo(info *dm.CommonSchemaInfo) *relationDB.DmCommonSchema
- func ToCommonSchemaRpc(info *relationDB.DmCommonSchema) *dm.CommonSchemaInfo
- type CommonSchemaCreateLogic
- type CommonSchemaDeleteLogic
- type CommonSchemaIndexLogic
- type CommonSchemaInitLogic
- type CommonSchemaUpdateLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAffordance ¶
func CheckAffordance(po *relationDB.DmSchemaCore) error
func ToCommonSchemaPo ¶
func ToCommonSchemaPo(info *dm.CommonSchemaInfo) *relationDB.DmCommonSchema
func ToCommonSchemaRpc ¶
func ToCommonSchemaRpc(info *relationDB.DmCommonSchema) *dm.CommonSchemaInfo
Types ¶
type CommonSchemaCreateLogic ¶
type CommonSchemaCreateLogic struct { logx.Logger PsDB *relationDB.CommonSchemaRepo // contains filtered or unexported fields }
func NewCommonSchemaCreateLogic ¶
func NewCommonSchemaCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CommonSchemaCreateLogic
func (*CommonSchemaCreateLogic) CommonSchemaCreate ¶
func (l *CommonSchemaCreateLogic) CommonSchemaCreate(in *dm.CommonSchemaCreateReq) (*dm.Empty, error)
新增产品
type CommonSchemaDeleteLogic ¶
type CommonSchemaDeleteLogic struct { logx.Logger PsDB *relationDB.CommonSchemaRepo // contains filtered or unexported fields }
func NewCommonSchemaDeleteLogic ¶
func NewCommonSchemaDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CommonSchemaDeleteLogic
func (*CommonSchemaDeleteLogic) CommonSchemaDelete ¶
删除产品
type CommonSchemaIndexLogic ¶
type CommonSchemaIndexLogic struct { logx.Logger PsDB *relationDB.CommonSchemaRepo // contains filtered or unexported fields }
func NewCommonSchemaIndexLogic ¶
func NewCommonSchemaIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CommonSchemaIndexLogic
func (*CommonSchemaIndexLogic) CommonSchemaIndex ¶
func (l *CommonSchemaIndexLogic) CommonSchemaIndex(in *dm.CommonSchemaIndexReq) (*dm.CommonSchemaIndexResp, error)
获取产品信息列表
type CommonSchemaInitLogic ¶
func NewCommonSchemaInitLogic ¶
func NewCommonSchemaInitLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CommonSchemaInitLogic
func (*CommonSchemaInitLogic) CommonSchemaInit ¶
type CommonSchemaUpdateLogic ¶
type CommonSchemaUpdateLogic struct { logx.Logger PsDB *relationDB.CommonSchemaRepo // contains filtered or unexported fields }
func NewCommonSchemaUpdateLogic ¶
func NewCommonSchemaUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CommonSchemaUpdateLogic
func (*CommonSchemaUpdateLogic) CommonSchemaUpdate ¶
func (l *CommonSchemaUpdateLogic) CommonSchemaUpdate(in *dm.CommonSchemaUpdateReq) (*dm.Empty, error)
更新产品物模型
Click to show internal directories.
Click to hide internal directories.