@@ -33,6 +33,7 @@ type CommunityQuestionItem struct {
CreateTime string `description:"提问时间"`
NeedRedistribute bool `description:"是否需要重新分配"`
ClickNum int `description:"点击量"`
+ StopReason string `description:"终止原因"`
}
type CommunityQuestionCount struct {
@@ -35,6 +35,7 @@ type CommunityQuestion struct {
ModifyTime time.Time `description:"修改时间"`
IsDeleted int `description:"是否已删除 0-否 1-是"`
DeleteTime time.Time `description:"删除时间"`
type CommunityQuestionMore struct {
CommunityQuestion
@@ -90,6 +90,7 @@ func GetQuestionList(condition string, pars []interface{}, startSize, pageSize i
CreateTime: v.CreateTime.Format(utils.FormatDateTime),
ReplyTime: v.ReplyTime.Format(utils.FormatDateTime),
ClickNum: v.ClickNum,
+ StopReason: v.StopReason,
respList = append(respList, item)