post(); $l_a = new AppointmentLogic(); $result = $l_a->newinfo($post); if (empty($result['status'])) { return backjson2(0, $result['msg']); } return backjson2(200, $result['msg'], $result['data']); } public function getlist() { $post = request()->post(); $l_a = new AppointmentLogic(); $result = $l_a->getlist($post); if (empty($result['status'])) { return backjson2(0, $result['msg']); } return backjson2(200, $result['msg'], $result['data']); } public function getlistfy() { $post = request()->post(); $l_a = new AppointmentLogic(); $result = $l_a->getlistfy($post); if (empty($result['status'])) { return backjson2(0, $result['msg']); } return backjson2(200, $result['msg'], $result['data']); } }