You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
403 B
21 lines
403 B
package model |
|
|
|
import ( |
|
xtime "go-common/library/time" |
|
) |
|
|
|
// Action 点赞或踩 |
|
const ( |
|
ActionNormal int32 = 0 // 未踩赞 |
|
ActionLike int32 = 1 // 赞 |
|
ActionHate int32 = 2 // 踩 |
|
) |
|
|
|
// Action reply action info |
|
type Action struct { |
|
ID int64 `json:"-"` |
|
RpID int64 `json:"rpid"` |
|
Action int8 `json:"action"` |
|
Mid int64 `json:"mid"` |
|
CTime xtime.Time `json:"-"` |
|
}
|
|
|