You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

19 lines
381 B

package web
import (
"context"
"go-common/library/log"
)
const _ugcIncre = "web_goblin"
// UgcSearch ugc insert .
func (d *Dao) UgcSearch(ctx context.Context, data map[string]interface{}) (err error) {
insert := d.ela.NewUpdate(_ugcIncre).Insert()
insert.AddData(_ugcIncre, data)
if err = insert.Do(ctx); err != nil {
log.Error("insert.Do error(%v)", err)
}
return
}