Merge pull request 'by Robin at 20231229; fix' (#17) from feat-20231228-004-Robin into main
Reviewed-on: #17
This commit is contained in:
commit
64f506cab4
|
@ -1,9 +1,10 @@
|
|||
package proto
|
||||
|
||||
import (
|
||||
goproto "google.golang.org/protobuf/proto"
|
||||
streamerlinkproto "service/api/proto/streamerlink/proto"
|
||||
"service/dbstruct"
|
||||
|
||||
goproto "google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
// 查询VO类
|
||||
|
@ -32,6 +33,7 @@ type ApiListExtVO struct {
|
|||
Fans *int64 `json:"fans" bson:"fans"` // 全网粉丝
|
||||
WxPrice *int64 `json:"wx_price" bson:"wx_price"` // 微信价格
|
||||
AutoResponseMessage *string `json:"auto_response_message" bson:"auto_response_message"` // 自动回复消息
|
||||
Inviters *[]int64 `json:"inviters" bson:"inviters"` // 邀请人
|
||||
Ct *int64 `json:"ct" bson:"ct"` // 创建时间
|
||||
Ut *int64 `json:"ut" bson:"ut"` // 更新时间
|
||||
|
||||
|
@ -63,6 +65,7 @@ func (vo *ApiListExtVO) CopyStreamer(streamer *dbstruct.Streamer) {
|
|||
vo.Tag = streamer.Tag
|
||||
vo.Fans = streamer.Fans
|
||||
vo.AutoResponseMessage = streamer.AutoResponseMessage
|
||||
vo.Inviters = streamer.Inviters
|
||||
vo.Ct = streamer.Ct
|
||||
vo.Ut = streamer.Ut
|
||||
}
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
package proto
|
||||
|
||||
import (
|
||||
goproto "google.golang.org/protobuf/proto"
|
||||
streamerlinkproto "service/api/proto/streamerlink/proto"
|
||||
"service/dbstruct"
|
||||
|
||||
goproto "google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
type StreamerExtVO interface {
|
||||
|
@ -39,6 +40,7 @@ type OpListExtVO struct {
|
|||
Fans *int64 `json:"fans" bson:"fans"` // 全网粉丝
|
||||
WxPrice *int64 `json:"wx_price" bson:"wx_price"` // 微信价格
|
||||
AutoResponseMessage *string `json:"auto_response_message" bson:"auto_response_message"` // 自动回复消息
|
||||
Inviters *[]int64 `json:"inviters" bson:"inviters"` // 邀请人
|
||||
Ct *int64 `json:"ct" bson:"ct"` // 创建时间
|
||||
Ut *int64 `json:"ut" bson:"ut"` // 更新时间
|
||||
|
||||
|
@ -70,6 +72,7 @@ func (vo *OpListExtVO) CopyStreamer(streamer *dbstruct.Streamer) {
|
|||
vo.Tag = streamer.Tag
|
||||
vo.Fans = streamer.Fans
|
||||
vo.AutoResponseMessage = streamer.AutoResponseMessage
|
||||
vo.Inviters = streamer.Inviters
|
||||
vo.Ct = streamer.Ct
|
||||
vo.Ut = streamer.Ut
|
||||
}
|
||||
|
|
|
@ -16,6 +16,7 @@ type Streamer struct {
|
|||
Tag *[]string `json:"tag" bson:"tag"` // 主播标签
|
||||
Fans *int64 `json:"fans" bson:"fans"` // 全网粉丝
|
||||
AutoResponseMessage *string `json:"auto_response_message" bson:"auto_response_message"` // 自动回复消息
|
||||
Inviters *[]int64 `json:"inviters" bson:"inviters"` // 邀请人
|
||||
Ct *int64 `json:"ct" bson:"ct"` // 创建时间
|
||||
Ut *int64 `json:"ut" bson:"ut"` // 更新时间
|
||||
DelFlag *int64 `json:"del_flag" bson:"del_flag"` // 删除标记
|
||||
|
|
Loading…
Reference in New Issue