|
|
@ -437,7 +437,7 @@ class RecruitModuleUniapp extends Uniapp |
|
|
if (isset($_GPC['recommend']) && in_array($_GPC['recommend'],[0,1])) $dataEntWhere['recommend'] = $_GPC['recommend']; |
|
|
if (isset($_GPC['recommend']) && in_array($_GPC['recommend'],[0,1])) $dataEntWhere['recommend'] = $_GPC['recommend']; |
|
|
if (!empty($dataEntWhere)) { |
|
|
if (!empty($dataEntWhere)) { |
|
|
$storeIdsArr = MerchantDataEnt::getStoreIdArr($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=浏览人气 |
|
|
//生成排序条件 1=创建时间,2=店铺距离,3=默认设置,4=浏览人气 |
|
|
switch ($sort) { |
|
|
switch ($sort) { |
|
|
|