param('resources_id', '');//学生资源表id $status = $request->param('status', '');//状态 1待批改 2未提交 3已提交 if (empty($resources_id)) { return fail('缺少参数'); } $where = [ 'resources_id' => $resources_id, 'status' => $status, ]; $res = (new AssignmentService())->getList($where); return success($res); } }