实现缓存+mqtt设备消息监听
This commit is contained in:
@ -6,13 +6,13 @@ import (
|
||||
|
||||
// RewardType 奖励类型表
|
||||
type RewardType struct {
|
||||
Id int64 `json:"id" dc:"奖励类型ID"`
|
||||
Name string `json:"name" dc:"奖励类型名称(如积分、优惠券)"`
|
||||
TencentTypeId int `json:"tencentTypeId" dc:"腾讯奖励类型ID(仅系统奖励有效)"`
|
||||
Source int `json:"source" dc:"来源:1=腾讯系统,2=本系统,3=其他"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" dc:"创建时间"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" dc:"更新时间"`
|
||||
DeletedAt *gtime.Time `json:"deletedAt" dc:"软删除时间戳"`
|
||||
Id int64 `json:"id" orm:"id" description:"奖励类型ID"` // 奖励类型ID
|
||||
Name string `json:"name" orm:"name" description:"类型名称"` // 类型名称
|
||||
Code string `json:"code" orm:"code" description:"唯一编码"` // 唯一编码
|
||||
IconUrl string `json:"iconUrl" orm:"icon_url" description:"图标链接地址"` // 图标链接地址
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"` // 创建时间
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"` // 更新时间
|
||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"软删除时间"` // 软删除时间
|
||||
}
|
||||
|
||||
// RewardTypeCreateIn 创建奖励类型入参
|
||||
@ -59,14 +59,12 @@ type RewardTypeDeleteOut struct {
|
||||
|
||||
// RewardTypeListIn 获取奖励类型列表入参
|
||||
type RewardTypeListIn struct {
|
||||
OperatorId int64
|
||||
OperatorRole string
|
||||
Page int
|
||||
Size int
|
||||
Name string
|
||||
StoreId int64
|
||||
Status int
|
||||
Source int
|
||||
Page int
|
||||
Size int
|
||||
Name string
|
||||
StoreId int64
|
||||
Status int
|
||||
Source int
|
||||
}
|
||||
|
||||
// RewardTypeListOut 获取奖励类型列表出参
|
||||
|
||||
Reference in New Issue
Block a user