services = $services; } /** 创建两项探针任务。 * @return \think\Response */ public function create() { return app('json')->success($this->services->create())->header(['Cache-Control' => 'no-store']); } /** 查询测试结果。 * @param string $id 测试标识 * @return \think\Response */ public function read(string $id) { return app('json')->success($this->services->read($id))->header(['Cache-Control' => 'no-store']); } }