|
@@ -24,9 +24,9 @@ type BaseFromChangesVisitorsCovid struct {
|
|
|
}
|
|
|
|
|
|
// AddBaseFromChangesVisitorsCovidMulti 批量添加谷歌出行记录
|
|
|
-func AddBaseFromChangesVisitorsCovidMulti(list *BaseFromChangesVisitorsCovid) (err error) {
|
|
|
+func AddBaseFromChangesVisitorsCovid(item *BaseFromChangesVisitorsCovid) (err error) {
|
|
|
o := orm.NewOrm()
|
|
|
- _, err = o.InsertMulti(1, list)
|
|
|
+ _, err = o.Insert(item)
|
|
|
return
|
|
|
}
|
|
|
|