1
This commit is contained in:
@@ -751,8 +751,9 @@ func GetActMtwmVendorPage(db *DaoDB, storeIDs, skuIDs []int, keyword string, beg
|
||||
panic(r)
|
||||
}
|
||||
}()
|
||||
if err = GetRowsTx(txDB, &acts, sql, sqlParams...); err == nil {
|
||||
pageInfo.TotalCount = GetLastTotalRowCount2(db, txDB)
|
||||
if err = GetRowsTx(txDB, &acts, sql, sqlParams...); err == nil && len(acts) != 0 {
|
||||
aa := GetLastTotalRowCount2(db, txDB)
|
||||
pageInfo.TotalCount = aa
|
||||
pageInfo.Data = acts
|
||||
}
|
||||
Commit(db, txDB)
|
||||
|
||||
@@ -449,7 +449,7 @@ func (c *ActController) GetVendorPopActDetail() {
|
||||
|
||||
// @Title 查询美团平台活动
|
||||
// @Description 查询美团平台活动
|
||||
// @Param token header string true "认证token"
|
||||
// @Param token header string true "认证token"
|
||||
// @Param storeIDs query string false "门店IDs"
|
||||
// @Param skuIDs query string false "skuIDs"
|
||||
// @Param keyword query string false "关键字"
|
||||
|
||||
Reference in New Issue
Block a user