来源:hgdjnet-server 9bfbafe10d417deea959bd53117bc88a10e60a83 项目身份 HKDJ / JHA-216,独立官网仓库,Jenkins 守卫键 hkdjnet 测试目录 /server/hkdj_net,App/Web API 30331/30332 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
43 lines
937 B
Go
43 lines
937 B
Go
package recomapi
|
|
|
|
import "time"
|
|
|
|
const (
|
|
FBT_Star string = "star"
|
|
FBT_Like string = "like"
|
|
FBT_Read string = "read"
|
|
)
|
|
|
|
type RSItemInfo struct {
|
|
Comment string `json:"Comment"`
|
|
ItemId string `json:"ItemId"`
|
|
Labels []string `json:"Labels"`
|
|
Timestamp time.Time `json:"Timestamp"`
|
|
}
|
|
|
|
type RSItemInfoList []*RSItemInfo
|
|
|
|
type RSUserInfo struct {
|
|
Comment string `json:"Comment"`
|
|
UserId string `json:"UserId"`
|
|
Labels []string `json:"Labels"`
|
|
Subscribe []string `json:"Subscribe"`
|
|
Timestamp time.Time `json:"Timestamp"`
|
|
}
|
|
|
|
type RSUserInfoList []*RSUserInfo
|
|
|
|
type APIResult struct {
|
|
RowAffected int64 `json:"RowAffected"`
|
|
}
|
|
|
|
type FeedbackInfo struct {
|
|
Comment string `json:"Comment"`
|
|
FeedbackType string `json:"FeedbackType"`
|
|
ItemId string `json:"ItemId"`
|
|
Timestamp time.Time `json:"Timestamp"`
|
|
UserId string `json:"UserId"`
|
|
}
|
|
|
|
type FeedbackInfoList []*FeedbackInfo
|