常用语 无条件返回空
This commit is contained in:
parent
48436b2864
commit
cb7b7415f3
|
@ -996,6 +996,9 @@ class ChatLogic extends Base
|
||||||
$where = ' AND ws_payment_type.id IN('.$pay_type['rules'].')';
|
$where = ' AND ws_payment_type.id IN('.$pay_type['rules'].')';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!$where) {
|
||||||
|
return [];
|
||||||
|
}
|
||||||
$sql = "SELECT ws_payment_type.id,ws_payment_type.type_name,ws_payment_type.alias_id
|
$sql = "SELECT ws_payment_type.id,ws_payment_type.type_name,ws_payment_type.alias_id
|
||||||
FROM `ws_payment`
|
FROM `ws_payment`
|
||||||
INNER JOIN `ws_payment_type` ON `ws_payment`.`payment_type`=`ws_payment_type`.`id`
|
INNER JOIN `ws_payment_type` ON `ws_payment`.`payment_type`=`ws_payment_type`.`id`
|
||||||
|
|
Loading…
Reference in New Issue