Browse Source

优化数据返回

master
wanghongjun 2 years ago
parent
commit
ae72c6591a
  1. 2
      addons/weliam_smartcity/plugin/recruit/uniapp.php

2
addons/weliam_smartcity/plugin/recruit/uniapp.php

@ -437,7 +437,7 @@ class RecruitModuleUniapp extends Uniapp
if (isset($_GPC['recommend']) && in_array($_GPC['recommend'],[0,1])) $dataEntWhere['recommend'] = $_GPC['recommend'];
if (!empty($dataEntWhere)) {
$storeIdsArr = MerchantDataEnt::getStoreIdArr($dataEntWhere);
$where .= " and {$a}.id in (" . ($storeIdsArr ? implode(",",$storeIdsArr) : '0') . ") ";
$where .= " and {$a}id in (" . ($storeIdsArr ? implode(",",$storeIdsArr) : '0') . ") ";
}
//生成排序条件 1=创建时间,2=店铺距离,3=默认设置,4=浏览人气
switch ($sort) {

Loading…
Cancel
Save