From dbde583b1b2df92bb2f7f74692a788d2b70f8d5a Mon Sep 17 00:00:00 2001 From: Pasha Date: Mon, 13 Oct 2025 14:54:51 +0300 Subject: [PATCH] added new field score in model ResultContent --- model/model.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/model/model.go b/model/model.go index 4330ec3..05510b4 100644 --- a/model/model.go +++ b/model/model.go @@ -1,9 +1,10 @@ package model import ( + "time" + "gitea.pena/PenaSide/common/privilege" "github.com/golang/protobuf/proto" - "time" ) const ( @@ -158,6 +159,8 @@ type ResultContent struct { Custom map[string]string `json:"customs"` Start bool `json:"start"` //IMGContent ImageContent `json:"imagecontent"` + + Score int32 `json:"score"` } type ImageContent struct {