feat:完善项目信息
This commit is contained in:
@ -26,9 +26,6 @@ func (this *ESManage) Index() string {
|
||||
}
|
||||
|
||||
func (this *ESManage) Create() error {
|
||||
if this.Industry != "" {
|
||||
this.Title = this.Industry + " - " + this.Title
|
||||
}
|
||||
_bytes, _ := json.Marshal(this)
|
||||
return es.Create(this.Index(), _bytes)
|
||||
}
|
||||
|
Reference in New Issue
Block a user