Documentation ¶
Index ¶
- type Address
- func (m *Address) Create(ctx context.Context, address *entity.Address) error
- func (m *Address) DeleteById(ctx context.Context, aId id.AddressID) error
- func (m *Address) GetItemById(ctx context.Context, id id.AddressID) (*entity.Address, error)
- func (m *Address) GetList(ctx context.Context, mId id.MemberID) ([]entity.Address, error)
- func (m *Address) UpdateById(ctx context.Context, id id.AddressID, data map[string]interface{}) error
- func (m *Address) UpdateByMemberId(ctx context.Context, mId id.MemberID, data map[string]interface{}) error
- func (m *Address) UpdateUserItem(ctx context.Context, data entity.Address) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct {
// contains filtered or unexported fields
}
func NewAddress ¶
func (*Address) DeleteById ¶
DeleteById 删除数据
func (*Address) GetItemById ¶
GetItemById 通过 id 获取数据
func (*Address) UpdateById ¶
func (m *Address) UpdateById(ctx context.Context, id id.AddressID, data map[string]interface{}) error
UpdateById 通过id更新
Click to show internal directories.
Click to hide internal directories.