|
@@ -634,7 +634,7 @@ func GetActivitySpecialList(user *models.WxUserItem, currentIndex, pageSize int,
|
|
|
pageSizePrepare = pageSize - len(listConfirm)
|
|
|
}
|
|
|
listPrepare, totalPrepare, e := GetActivitySpecialPrepareList(user, startSizePrepare, pageSizePrepare, keywords)
|
|
|
- if e != nil {
|
|
|
+ if e != nil && e.Error() != utils.ErrNoRow() {
|
|
|
err = errors.New("GetActivityLabelSpecialConfirmList, Err: " + e.Error())
|
|
|
return
|
|
|
}
|
|
@@ -645,6 +645,9 @@ func GetActivitySpecialList(user *models.WxUserItem, currentIndex, pageSize int,
|
|
|
if startSizePrepare == 0 {
|
|
|
listPrepare[0].Explain = utils.ACtIVITY_SPECIAL_EXPLAIN
|
|
|
}
|
|
|
+ } else {
|
|
|
+ err = nil
|
|
|
+ return
|
|
|
}
|
|
|
total = totalConfirm + totalPrepare
|
|
|
//处理封面图片
|