任务分解 #282
由 匿名用户 更新于 将近 8 年 之前
专利信息(ApplyPatentInfoFormTest.php)
// $response = $client->request('GET', 'applyPatentInfoForms',['haders'=>['Content-' => 'application/vnd.api+json']]);
// $response = $client->request('GET', 'applyPatentInfoForms/1,2',['haders'=>['Content-' => 'application/vnd.api+json']]);
// $response = $client->request('GET', 'applyPatentInfoForms?filter[company]=1&sort=-id',['haders'=>['Content-' => 'application/vnd.api+json']]);
//add -- 开始
/*$data = array("data"=>array("type"=>"applyPatentInfoForms",
"attributes"=>array("name"=>"namenamenamenamenamenamenamenamenamenamenamename",
"category"=>2,
"description"=>'descriptiondescriptiondescription',
"publicationDate"=>'2020-02-20',
"patentInfoStatus"=>-2,
"companyId"=>1,
"uid"=>1,
"userIdentification"=>1
)
)
);
$response = $client->request(
'POST',
'applyPatentInfoForms',
[
'haders'=>['Content-Type' => 'application/vnd.api+json'],
'json' => $data
]
);*/
//add -- 结束
//edit -- 开始
/*$data = array("data"=>array("type"=>"applyPatentInfoForms",
"attributes"=>array("name"=>"123456namename",
"category"=>1,
"description"=>'descriptiondescriptiondescription',
"publicationDate"=>'2020-02-20',
"patentInfoStatus"=>2,
)
)
);
$response = $client->request(
'PUT',
'applyPatentInfoForms/1',
[
'haders'=>['Content-Type' => 'application/vnd.api+json'],
'json' => $data
]
);*/
专利信息
// $response = $client->request('GET', 'applyPatentInfoForms',['haders'=>['Content-' => 'application/vnd.api+json']]);
// $response = $client->request('GET', 'applyPatentInfoForms/1,2',['haders'=>['Content-' => 'application/vnd.api+json']]);
// $response = $client->request('GET', 'applyPatentInfoForms?filter[company]=1&sort=-id',['haders'=>['Content-' => 'application/vnd.api+json']]);
//add -- 开始
/*$data = array("data"=>array("type"=>"applyPatentInfoForms",
"attributes"=>array("name"=>"namenamenamenamenamenamenamenamenamenamenamename",
"category"=>2,
"description"=>'descriptiondescriptiondescription',
"publicationDate"=>'2020-02-20',
"patentInfoStatus"=>-2,
"companyId"=>1,
"uid"=>1,
"userIdentification"=>1
)
)
);
$response = $client->request(
'POST',
'applyPatentInfoForms',
[
'haders'=>['Content-Type' => 'application/vnd.api+json'],
'json' => $data
]
);*/
//add -- 结束
//edit -- 开始
/*$data = array("data"=>array("type"=>"applyPatentInfoForms",
"attributes"=>array("name"=>"123456namename",
"category"=>1,
"description"=>'descriptiondescriptiondescription',
"publicationDate"=>'2020-02-20',
"patentInfoStatus"=>2,
)
)
);
$response = $client->request(
'PUT',
'applyPatentInfoForms/1',
[
'haders'=>['Content-Type' => 'application/vnd.api+json'],
'json' => $data
]
);*/
专利信息