فهرست منبع

ppt 新增 中间页封底页

gmy 4 ماه پیش
والد
کامیت
eedd9902fe
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      controllers/image_conf_controller.go

+ 2 - 2
controllers/image_conf_controller.go

@@ -60,7 +60,7 @@ func (this *ImageConfController) GetImageMaterial() {
 	var condition string
 	var pars []interface{}
 
-	condition += ` AND conf_type=? `
+	condition += ` conf_type=? `
 	pars = append(pars, confType)
 
 	if imageType > 0 {
@@ -75,7 +75,7 @@ func (this *ImageConfController) GetImageMaterial() {
 	condition += ` ORDER BY modify_time DESC `
 
 	condition += ` LIMIT ?, ? `
-	pars = append(pars, pageSize, startSize)
+	pars = append(pars, startSize, pageSize)
 
 	imageConfList, err := models.GetImageConfByCondition(condition, pars)