常用语 无条件返回空

This commit is contained in:
leo 2023-04-29 10:26:50 +08:00
parent 48436b2864
commit cb7b7415f3
1 changed files with 3 additions and 0 deletions

View File

@ -996,6 +996,9 @@ class ChatLogic extends Base
$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
FROM `ws_payment`
INNER JOIN `ws_payment_type` ON `ws_payment`.`payment_type`=`ws_payment_type`.`id`