|
@@ -458,11 +458,11 @@ func (this *PptV2Controller) DetailPpt() {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- var condition string
|
|
|
|
- var pars []interface{}
|
|
|
|
-
|
|
|
|
// 维护封底 背景图
|
|
// 维护封底 背景图
|
|
if pptInfo.CurrentBackgroundImg != "" {
|
|
if pptInfo.CurrentBackgroundImg != "" {
|
|
|
|
+ var condition string
|
|
|
|
+ var pars []interface{}
|
|
|
|
+
|
|
condition += ` conf_type=? `
|
|
condition += ` conf_type=? `
|
|
pars = append(pars, 1)
|
|
pars = append(pars, 1)
|
|
|
|
|
|
@@ -477,7 +477,11 @@ func (this *PptV2Controller) DetailPpt() {
|
|
pptInfo.CurrentBackgroundImg = imageConfList[0].Url
|
|
pptInfo.CurrentBackgroundImg = imageConfList[0].Url
|
|
pptInfo.CurrentBackgroundImgId = imageConfList[0].ImageConfId
|
|
pptInfo.CurrentBackgroundImgId = imageConfList[0].ImageConfId
|
|
}
|
|
}
|
|
- } else if pptInfo.BackCoverImg != "" {
|
|
|
|
|
|
+ }
|
|
|
|
+ if pptInfo.BackCoverImg != "" {
|
|
|
|
+ var condition string
|
|
|
|
+ var pars []interface{}
|
|
|
|
+
|
|
condition += ` conf_type=? `
|
|
condition += ` conf_type=? `
|
|
pars = append(pars, 1)
|
|
pars = append(pars, 1)
|
|
|
|
|