gorm insert data to mysql tips:
(Error 1062: Duplicate entry '267857' for key 'PRIMARY')
reason: use twice
//db.Create(model)or tx.Create(model)remove one ,then it ok ;