项目

一般

简介

任务分解 #170

行政处罚信息

由 匿名用户 在 大约 8 年 之前添加. 更新于 大约 8 年 之前.

状态:
已关闭
优先级:
指派给:
-
目标版本:
开始日期:
2017-05-15
计划完成日期:
% 完成:

0%

预期时间:

描述

一、调用接口文件(ApplyAdministrativePunishmentFormTest.php)
1、添加调用接口
/*$data = array("data"=>array("type"=>"applyAdministrativePunishmentForms",
"attributes"=>array("number"=>'1555555555555',
"category"=>1,
"title"=>'1titletitle',
"council"=>'1councilcouncil',
"date"=>'2019-01-02',
"content"=>'1contentcontent',
"attachments"=>array('1attachments155','a1ttachments255','atta1chments355'),
"companyId"=>1,
"uid"=>1,
"userIdentification"=>1
)
)
);
$response = $client->request(
'POST',
'applyAdministrativePunishmentForms',
[
'haders'=>['Content-Type' => 'application/vnd.api+json'],
'json' => $data
]
);*/
2、编辑调用接口
$data = array("data"=>array("type"=>"applyAdministrativePunishmentForms",
"attributes"=>array("number"=>'111112222233333',
"category"=>1,
"title"=>'111titletitle',
"council"=>'111councilcouncil',
"date"=>'2009-02-05',
"content"=>'111contentcontent',
"attachments"=>array('administrativePunishmentattachments125','administrativePunishmentattachments235','administrativePunishmentattachments345')
)
)
);
$response = $client->request(
'PUT',
'applyAdministrativePunishmentForms/9',
[
'haders'=>['Content-Type' => 'application/vnd.api+json'],
'json' => $data
]
);*/
3、调用单条
$response = $client->request('GET', 'applyAdministrativePunishmentForms/8',['haders'=>['Content-' => 'application/vnd.api+json']]);
4、调用多条
$response = $client->request('GET', 'applyAdministrativePunishmentForms',['haders'=>['Content-' => 'application/vnd.api+json']]);

历史记录

#1

由 匿名用户 更新于 大约 8 年 之前

  • 状态新建 变更为 跟进中
  • 指派给 被设置为 匿名用户
#2

由 匿名用户 更新于 大约 8 年 之前

  • 状态跟进中 变更为 已解决
#3

由 匿名用户 更新于 大约 8 年 之前

  • 状态已解决 变更为 已关闭

导出 Atom PDF