feat:完善后台经纪人审核信息

This commit is contained in:
henry
2022-01-22 16:55:10 +08:00
parent e52cdcf163
commit 5e328ab2da
10 changed files with 271 additions and 4 deletions

View File

@ -24,7 +24,8 @@ func (this *ESPatent) Create() error {
}
func (this *ESPatent) Update() error {
return nil
_bytes, _ := json.Marshal(this)
return es.Update(this.Index(), fmt.Sprintf("%d", this.ID), _bytes)
}
func (this *ESPatent) Search(page, pageSize int) (interface{}, int64, error) {