From a3dbafc2bdac0a4db9c6e42a92b8c58e14c4e24d Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期三, 20 十一月 2019 21:08:54 +0800 Subject: [PATCH] add TargetType --- controllers/fileController.go | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/controllers/fileController.go b/controllers/fileController.go index e53e842..32fefb3 100644 --- a/controllers/fileController.go +++ b/controllers/fileController.go @@ -202,6 +202,7 @@ type TargetInfo struct { TargetId string `json:"targetId"` + TargetType string `json:"targetType"` TargetScore float64 `json:"targetScore"` Feature string `json:"feature"` PicSmUrl string `json:"picSmUrl"` @@ -348,6 +349,7 @@ } tInfo := TargetInfo{ TargetId: vti.TargetId, + TargetType: vti.TargetType, TargetScore: vti.TargetScore, Feature: vti.Feature, PicSmUrl: vti.PicSmUrl, -- Gitblit v1.8.0