[!] 由于喜玩接口bug, 先不应用 `已下架` 在搜索结果

main
Lei OT 9 months ago
parent d7e782e974
commit e6a1a962fc

@ -69,7 +69,7 @@ class Heytrip {
const { count, rows } = await Hotelinfo.findAndCountAll({
// const [ rows ] = await Hotelinfo.findAll({
include: [
{ model: HeytripIds, as: 'aid', attributes: [], where: { update_flag: { [Op.ne]: 99 } } },
{ model: HeytripIds, as: 'aid', attributes: [], }, // where: { update_flag: { [Op.ne]: 99 } }
{
model: Hotelinfo2,
as: 'locale_info',

Loading…
Cancel
Save