📅  最后修改于: 2022-03-11 14:57:13.650000             🧑  作者: Mango
$result['pay'] = TRUE;
if($result['type'] == 1) { $sql = $db->query("SELECT * FROM `service` WHERE `type` = '1'"); }
else if($result['type'] == 2) { $sql = $db->query("SELECT * FROM `service` WHERE `type` = '2'"); }
else if($result['type'] == 3) { $sql = $db->query("SELECT * FROM `service` WHERE `type` = '3'"); }