        ];
        return $this->service->save($data);
    }

    /**
     * @param \Hyperf\HttpServer\Contract\RequestInterface $data
     * @return int|void
     */
    public function update($data)
    {
        $this->service->condition = ['id' => $data['id']];
        $this->service->data = [
            'cate_name' => $data['cate_name'],