added new field score in model ResultContent #28
@ -1,9 +1,10 @@
|
|||||||
package model
|
package model
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"time"
|
||||||
|
|
||||||
"gitea.pena/PenaSide/common/privilege"
|
"gitea.pena/PenaSide/common/privilege"
|
||||||
"github.com/golang/protobuf/proto"
|
"github.com/golang/protobuf/proto"
|
||||||
"time"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@ -158,6 +159,8 @@ type ResultContent struct {
|
|||||||
Custom map[string]string `json:"customs"`
|
Custom map[string]string `json:"customs"`
|
||||||
Start bool `json:"start"`
|
Start bool `json:"start"`
|
||||||
//IMGContent ImageContent `json:"imagecontent"`
|
//IMGContent ImageContent `json:"imagecontent"`
|
||||||
|
|
||||||
|
Score int32 `json:"score"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ImageContent struct {
|
type ImageContent struct {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user