feat: live module and jenkins pipeline to harbor deploy
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
package dto
|
||||
|
||||
import "time"
|
||||
|
||||
type LiveChatHistoryRequest struct {
|
||||
Limit int `form:"limit"`
|
||||
}
|
||||
|
||||
type LiveChatMessageResponse struct {
|
||||
ID uint `json:"id"`
|
||||
RoomID uint `json:"roomId"`
|
||||
Type string `json:"type"`
|
||||
UserID uint `json:"userId"`
|
||||
Username string `json:"username"`
|
||||
Nickname string `json:"nickname"`
|
||||
Avatar string `json:"avatar"`
|
||||
Content string `json:"content,omitempty"`
|
||||
GiftID uint `json:"giftId,omitempty"`
|
||||
GiftName string `json:"giftName,omitempty"`
|
||||
GiftIcon string `json:"giftIcon,omitempty"`
|
||||
Quantity int `json:"quantity,omitempty"`
|
||||
DiamondTotal int64 `json:"diamondTotal,omitempty"`
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
}
|
||||
Reference in New Issue
Block a user