Browse Source

ppt 新增 中间页封底页

gmy 4 months ago
parent
commit
eedd9902fe
1 changed files with 2 additions and 2 deletions
  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)