Example #1
0
 /**
  * 获取楼层规则
  */
 public function act_getFloorRuleLists()
 {
     $id = isset($_GET['id']) ? intval($_GET['id']) : 0;
     $where = "where 1";
     if ($id != 0) {
         $where .= " and id={$id}";
     }
     $lists = FloorModel::getInvReasonList("*", $where);
     return $lists;
 }