|
@@ -31,7 +31,7 @@ func (this *BannerController) List() {
|
|
|
resp := new(models.CygxBannerListResp)
|
|
|
var condition string
|
|
|
var pars []interface{}
|
|
|
- condition += " AND art.status = 1 ORDER BY art. list_type ASC , art.sort ASC "
|
|
|
+ condition += " AND art.show_type IN (0,1) AND art.status = 1 ORDER BY art. list_type ASC , art.sort ASC "
|
|
|
list, err := models.GetCygxBannerList(condition, pars, 0, 99999)
|
|
|
if err != nil {
|
|
|
br.Msg = "获取失败"
|