From bae7a9a30b89c519460746cfa19cd7e66a0196e2 Mon Sep 17 00:00:00 2001 From: sunty <1172534965@qq.com> Date: 星期日, 19 一月 2020 17:13:07 +0800 Subject: [PATCH] update _source list and struct --- models/dbtablepersons.go | 26 +++++++++++++++++--------- 1 files changed, 17 insertions(+), 9 deletions(-) diff --git a/models/dbtablepersons.go b/models/dbtablepersons.go index dd43f4b..4c45c5f 100644 --- a/models/dbtablepersons.go +++ b/models/dbtablepersons.go @@ -1,15 +1,23 @@ package models -type Dbtablepersons struct { +type Dbtablepersons struct { BaseEntity - TableId string `json:"tableId,omitempty" example:"搴撹〃id"` - Feature string `json:"feature,omitempty" example:"浜鸿劯鐗瑰緛鍊�"` - FaceUrl string `json:"faceUrl,omitempty" example:"鍥剧墖璺緞"` - PersonName string `json:"personName,omitempty" example:"浜哄憳濮撳悕"` - Age string `json:"age,omitempty" example:"骞撮緞"` - Sex string `json:"sex,omitempty" example:"鎬у埆 鐢� 濂�"` - Idcard string `json:"idcard,omitempty" example:"韬唤璇�"` - PhoneNum string `json:"phoneNum,omitempty" example:"鎵嬫満鍙风爜"` + TableId string `json:"tableId,omitempty" example:"搴撹〃id"` + FaceFeature string `json:"faceFeature,omitempty" example:"浜鸿劯鐗瑰緛鍊�"` + PersonPicUrl string `json:"personPicUrl,omitempty" example:"鍥剧墖璺緞"` + PersonName string `json:"personName,omitempty" example:"浜哄憳濮撳悕"` + Age string `json:"age,omitempty" example:"骞撮緞"` + Sex string `json:"sex,omitempty" example:"鎬у埆 鐢� 濂�"` + IdCard string `json:"idCard,omitempty" example:"韬唤璇�"` + PhoneNum string `json:"phoneNum,omitempty" example:"鎵嬫満鍙风爜"` MonitorLevel string `json:"monitorLevel,omitempty" example:"绛夌骇"` + PicDesc string `json:"picDesc,omitempty" example:"鐓х墖鏍囪瘑"` + Reserved string `json:"reserved,omitempty" example:"鍏朵粬"` + + FromServerId string `gorm:"column:fromServerId" json:"fromServerId,omitempty" example:"鍏ュ簱serverId"` } +type DbPersonsCompVo struct { + Dbtablepersons + CompareScore float64 `json:"compareScore"` +} -- Gitblit v1.8.0