zwxi 1 year ago
parent
commit
103264bafc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      models/base_from_icpi.go

+ 1 - 1
models/base_from_icpi.go

@@ -67,7 +67,7 @@ type BaseFromIcpiIndexView struct {
 	ModifyTime             string `description:"修改时间"`
 }
 
-func GetIcpiIndex(startDate, endDate string) (items []*BaseFromIcpiIndexView, err error) {
+func GetIcpiIndex(startDate, endDate string) (items []*BaseFromIcpiIndex, err error) {
 	o := orm.NewOrm()
 	sql := ` SELECT * FROM base_from_icpi_index WHERE end_date >= ? AND end_date <= ?  `
 	_, err = o.Raw(sql, startDate, endDate).QueryRows(&items)