zwxi 1 年之前
父节点
当前提交
103264bafc
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)