parent
44366db5f6
commit
3a9518a7e3
|
|
@ -0,0 +1,285 @@
|
||||||
|
<?php
|
||||||
|
namespace app\common\dao\common;
|
||||||
|
|
||||||
|
|
||||||
|
use app\common\dao\BaseDao;
|
||||||
|
use app\common\model\common\Contract;
|
||||||
|
use app\common\repositories\common\ContractRepository;
|
||||||
|
use FddCloud\client\Client;
|
||||||
|
use FddCloud\client\ServiceClient;
|
||||||
|
use think\exception\ValidateException;
|
||||||
|
use think\facade\Cache;
|
||||||
|
|
||||||
|
class ContractDao extends BaseDao{
|
||||||
|
|
||||||
|
private $apiLink = '';// 生产:https://api.fadada.com/api/v5/ 测试:https://uat-api.fadada.com/api/v5/
|
||||||
|
|
||||||
|
|
||||||
|
public function __construct(){
|
||||||
|
$this->apiLink = env('fadada.fadada_link', '');
|
||||||
|
}
|
||||||
|
protected function getModel(): string{
|
||||||
|
return Contract::class;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Common: 公共搜索查询
|
||||||
|
* Author: wu-hui
|
||||||
|
* Time: 2024/07/04 9:27
|
||||||
|
* @param array $params
|
||||||
|
* @return Contract
|
||||||
|
*/
|
||||||
|
public function searchList(array $params){
|
||||||
|
return (new Contract())
|
||||||
|
->when(isset($params['id']) && $params['id'] !== '',function($query) use ($params){
|
||||||
|
$query->where('id', (int)$params['id']);
|
||||||
|
})
|
||||||
|
->when(isset($params['uid']) && $params['uid'] !== '',function($query) use ($params){
|
||||||
|
$query->where('uid', (int)$params['uid']);
|
||||||
|
})
|
||||||
|
->when(isset($params['role_type']) && $params['role_type'] !== '',function($query) use ($params){
|
||||||
|
$query->where('role_type', (int)$params['role_type']);
|
||||||
|
})
|
||||||
|
->when(isset($params['role_id']) && $params['role_id'] !== '',function($query) use ($params){
|
||||||
|
$query->where('role_id', (int)$params['role_id']);
|
||||||
|
})
|
||||||
|
->with([
|
||||||
|
'user' => function($query){
|
||||||
|
$query->field('uid,nickname,real_name,avatar,phone');
|
||||||
|
},
|
||||||
|
])
|
||||||
|
->order('create_time DESC,id DESC')
|
||||||
|
->append(['role_type_text']);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Common: 法大大 - 发起请求
|
||||||
|
* Author: wu-hui
|
||||||
|
* Time: 2024/07/03 17:12
|
||||||
|
* @param array $bizContent
|
||||||
|
* @param string $apiName
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
private function requestApi(array $bizContent = [],string $apiName = ''){
|
||||||
|
try {
|
||||||
|
// 基本设置内容
|
||||||
|
$client = $this->requestInit();
|
||||||
|
$accessToken = $this->getAccessToken();
|
||||||
|
// 发起请求
|
||||||
|
$bizContent = json_encode($bizContent);
|
||||||
|
$result = $client->request($accessToken,$bizContent,$apiName);
|
||||||
|
return json_decode($result, true);
|
||||||
|
} catch (\Exception $e) {
|
||||||
|
// Log::info('法大大 - 错误: ' . $e->getMessage());
|
||||||
|
throw new ValidateException('法大大请求失败:' . $e->getMessage());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Common: 法大大 - 获取访问凭证
|
||||||
|
* Author: wu-hui
|
||||||
|
* Time: 2024/07/03 16:47
|
||||||
|
* @return mixed|string
|
||||||
|
*/
|
||||||
|
private function getAccessToken(){
|
||||||
|
$cacheName = 'fadada_access_token';
|
||||||
|
$cacheInfo = Cache::get($cacheName);
|
||||||
|
if($cacheInfo){
|
||||||
|
// 未过期 直接获取缓存中的accessToken
|
||||||
|
|
||||||
|
return $cacheInfo['accessToken'] ?? '';
|
||||||
|
}else{
|
||||||
|
// 请求获取accessToken
|
||||||
|
$client = $this->requestInit();
|
||||||
|
$serviceClient = new ServiceClient($client);
|
||||||
|
$result = $serviceClient->getAccessToken();
|
||||||
|
$result = json_decode($result, true);
|
||||||
|
if($result['code'] == 100000){
|
||||||
|
// 成功
|
||||||
|
Cache::set($cacheName, $result['data'],7000);
|
||||||
|
return $result['data']['accessToken'];
|
||||||
|
}else{
|
||||||
|
// 失败
|
||||||
|
throw new ValidateException($result['msg']);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Common: 法大大 - 配置初始化
|
||||||
|
* Author: wu-hui
|
||||||
|
* Time: 2024/07/03 16:36
|
||||||
|
* @return Client
|
||||||
|
*/
|
||||||
|
public function requestInit(){
|
||||||
|
$millisecond = (string)round(microtime(true) * 1000);
|
||||||
|
$config = app()->make(ContractRepository::class)->getConfig();
|
||||||
|
return new Client($config['appid'],$config['app_secret'],$this->apiLink,$millisecond, false);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Common: 法大大 - 接口请求 - 获取个人授权链接
|
||||||
|
* Author: wu-hui
|
||||||
|
* Time: 2024/07/03 17:29
|
||||||
|
* @param string $clientUserId
|
||||||
|
* @param string $redirectMiniAppUrl
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getAuthUrl(string $clientUserId,string $redirectMiniAppUrl){
|
||||||
|
$bizContent = [
|
||||||
|
'clientUserId' => $clientUserId,// 个人用户在应用中的唯一标识,由集成方自定义,长度最大64个字符。
|
||||||
|
'redirectMiniAppUrl' => $redirectMiniAppUrl
|
||||||
|
];
|
||||||
|
return $this->requestApi($bizContent, '/user/get-auth-url');
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Common: 法大大 - 接口请求 - 获取个人授权信息
|
||||||
|
* Author: wu-hui
|
||||||
|
* Time: 2024/07/04 10:59
|
||||||
|
* @param string $clientUserId
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getAuthInfo(string $clientUserId){
|
||||||
|
$bizContent = [
|
||||||
|
'clientUserId' => $clientUserId
|
||||||
|
];
|
||||||
|
|
||||||
|
$result = $this->requestApi($bizContent, '/user/get');
|
||||||
|
if($result['code'] == 100000){
|
||||||
|
$data = $result['data'] ?? [];
|
||||||
|
// 用户授权范围列表(auth_scope):
|
||||||
|
// ident_info:授权允许获取个人身份信息
|
||||||
|
// seal_info:授权允许获取个人用户的签名资源
|
||||||
|
// signtask_init:授权允许代表个人发起签署
|
||||||
|
// signtask_info:授权允许获取个人用户的签署任务
|
||||||
|
// signtask_file:授权允许获取个人用户的签署文件
|
||||||
|
(new Contract())->update([
|
||||||
|
'open_user_id' => $data['openUserId'] ?? '',
|
||||||
|
'binding_status' => $data['bindingStatus'] == 'authorized' ? 1 : 0,
|
||||||
|
'auth_scope' => implode(',',$data['authScope']),
|
||||||
|
'id_ent_status' => $data['identStatus'] == 'identified' ? 1 : 0,
|
||||||
|
'available_status' => $data['availableStatus'] == 'enable' ? 1 : 0,
|
||||||
|
],['client_user_id' => $clientUserId]);
|
||||||
|
}
|
||||||
|
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Common: 法大大 - 接口请求 - 创建签署任务(基于签署任务模板)
|
||||||
|
* Author: wu-hui
|
||||||
|
* Time: 2024/07/05 9:53
|
||||||
|
* @param array $authInfo
|
||||||
|
*/
|
||||||
|
public function createWithTemplate(array $authInfo){
|
||||||
|
// 配置信息获取
|
||||||
|
$config = app()->make(ContractRepository::class)->getConfig();
|
||||||
|
$tempInfo = $config['template_list'][$authInfo['role_type']] ?? [];
|
||||||
|
// 请求body配置
|
||||||
|
$bizContent = [
|
||||||
|
// 该签署任务的发起方(扣费主体),需检查授权
|
||||||
|
'initiator' => [
|
||||||
|
// 主体类型:corp: 企业;person: 个人
|
||||||
|
'idType' => 'corp',
|
||||||
|
// 主体标识,长度最大64个字符
|
||||||
|
// 如果idType为corp:代表应用系统上的企业用户,主体方是openCorpId所指定的企业
|
||||||
|
// 如果idType为person:代表应用系统上的个人用户,主体方是openUserId所指定的个人;
|
||||||
|
'openId' => $config['open_corp_id'],
|
||||||
|
],
|
||||||
|
// 签署任务主题。长度最大100个字符
|
||||||
|
'signTaskSubject' => $tempInfo['sign_task_subject'],
|
||||||
|
// 指定签署任务模板ID
|
||||||
|
'signTemplateId' => $tempInfo['sign_template_id'],
|
||||||
|
// 是否自动提交签署任务
|
||||||
|
'autoStart' => true,
|
||||||
|
// 是否自动定稿填写内容(在有填写参与方时生效)
|
||||||
|
'autoFillFinalize' => true,
|
||||||
|
// 参与方列表 参与方信息
|
||||||
|
'actors' => [
|
||||||
|
[
|
||||||
|
'actor' => [
|
||||||
|
// 参与方标识。在同一个签署任务中,参与方标识唯一,不允许重复;例如:甲方、乙方、丙方
|
||||||
|
'actorId' => '乙方',
|
||||||
|
// 参与方主体类型: corp: 企业;person: 个人
|
||||||
|
'actorType' => 'person',
|
||||||
|
// 参与方具体名称。长度最大128个字符。
|
||||||
|
'actorName' => !empty($authInfo['user']['real_name']) ? $authInfo['user']['real_name'] : $authInfo['user']['nickname'],
|
||||||
|
// 参与方权限 fill:填写;sign:签署;cc:抄送
|
||||||
|
'permissions' => ['fill','sign'],
|
||||||
|
// 参与方主体在应用上的OpenId;openCorpId/openUserId
|
||||||
|
'actorOpenId' => $authInfo['open_user_id'],
|
||||||
|
],
|
||||||
|
]
|
||||||
|
],
|
||||||
|
];
|
||||||
|
$result = $this->requestApi($bizContent,'/sign-task/create-with-template');
|
||||||
|
if($result['code'] == 100000){
|
||||||
|
$data = $result['data'] ?? [];
|
||||||
|
(new Contract())->update([
|
||||||
|
'sign_task_id' => $data['signTaskId'] ?? '',
|
||||||
|
'sign_task_subject' => $tempInfo['sign_task_subject'] ?? '',
|
||||||
|
'sign_template_id' => $tempInfo['sign_template_id'] ?? '',
|
||||||
|
],['id' => $authInfo['id']]);
|
||||||
|
}else{
|
||||||
|
throw new ValidateException($result['msg']);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Common: 法大大 - 接口请求 - 获取参与方签署链接
|
||||||
|
* Author: wu-hui
|
||||||
|
* Time: 2024/07/05 10:04
|
||||||
|
* @param array $authInfo
|
||||||
|
* @return array|mixed
|
||||||
|
*/
|
||||||
|
public function actorGetUrl(array $authInfo){
|
||||||
|
$redirectMiniAppUrl = "/pages/agent/contract/index?role_type={$authInfo['role_type']}&role_id={$authInfo['role_id']}";
|
||||||
|
$bizContent = [
|
||||||
|
// 签署任务ID
|
||||||
|
'signTaskId' => $authInfo['sign_task_id'],
|
||||||
|
// 参与方标识。在同一个签署任务中,参与方标识唯一,不允许重复;例如:甲方、乙方、丙方
|
||||||
|
'actorId' => '乙方',
|
||||||
|
// 应用系统中唯一确定登录用户身份的标识
|
||||||
|
'clientUserId' => $authInfo['client_user_id'],
|
||||||
|
// 重定向地址,系统判断在非小程序环境下会跳转至该地址。
|
||||||
|
// 'redirectUrl' => '',
|
||||||
|
// 小程序的重定向地址(微信和支付宝)
|
||||||
|
'redirectMiniAppUrl' => $redirectMiniAppUrl,
|
||||||
|
];
|
||||||
|
$result = $this->requestApi($bizContent, '/sign-task/actor/get-url');
|
||||||
|
if($result['code'] == 100000){
|
||||||
|
return $result['data'] ?? [];
|
||||||
|
}else{
|
||||||
|
throw new ValidateException($result['msg']);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Common: 法大大 - 接口请求 - 获取签署文档下载地址
|
||||||
|
* Author: wu-hui
|
||||||
|
* Time: 2024/07/05 14:08
|
||||||
|
* @param array $authInfo
|
||||||
|
* @return array|mixed
|
||||||
|
*/
|
||||||
|
public function ownerGetDownloadUrl(array $authInfo){
|
||||||
|
$bizContent = [
|
||||||
|
// 个人用户在应用中的唯一标识,由集成方自定义,长度最大64个字符。
|
||||||
|
'ownerId' => [
|
||||||
|
// 主体类型:corp: 企业;person: 个人
|
||||||
|
'idType' => 'person',
|
||||||
|
// 主体标识,长度最大64个字符
|
||||||
|
// 如果idType为corp:代表应用系统上的企业用户,主体方是openCorpId所指定的企业
|
||||||
|
// 如果idType为person:代表应用系统上的个人用户,主体方是openUserId所指定的个人;
|
||||||
|
'openId' => $authInfo['open_user_id'],
|
||||||
|
],
|
||||||
|
// 签署任务ID。下载单个任务文档时传此参数,直接返回下载链接。
|
||||||
|
'signTaskId' => $authInfo['sign_task_id'],
|
||||||
|
];
|
||||||
|
$result = $this->requestApi($bizContent, '/sign-task/owner/get-download-url');
|
||||||
|
if($result['code'] == 100000){
|
||||||
|
return $result['data'] ?? [];
|
||||||
|
}else{
|
||||||
|
throw new ValidateException($result['msg']);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,52 @@
|
||||||
|
<?php
|
||||||
|
namespace app\common\model\common;
|
||||||
|
|
||||||
|
use app\common\model\BaseModel;
|
||||||
|
use app\common\model\user\User;
|
||||||
|
|
||||||
|
class Contract extends BaseModel{
|
||||||
|
|
||||||
|
public static function tablePk(): string{
|
||||||
|
return 'id';
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function tableName(): string{
|
||||||
|
return 'contract';
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Common: 角色类型
|
||||||
|
* Author: wu-hui
|
||||||
|
* Time: 2024/07/05 13:33
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getRoleTypeTextAttr():string{
|
||||||
|
$agentType = $this->role_type ?? -1;
|
||||||
|
switch((int)$agentType){
|
||||||
|
case 1: return '总部发起人';break;
|
||||||
|
case 2: return '省公司发起人';break;
|
||||||
|
case 3: return '省公司外勤';break;
|
||||||
|
case 4: return '省公司内勤';break;
|
||||||
|
case 5: return '区县运营商';break;
|
||||||
|
case 6: return '区县合伙人';break;
|
||||||
|
case 7: return '餐厅';break;
|
||||||
|
case 8: return '配送商';break;
|
||||||
|
case 9: return '总部外勤';break;
|
||||||
|
case 10: return '总部内勤';break;
|
||||||
|
case 11: return '烟酒店代销商';break;
|
||||||
|
}
|
||||||
|
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public function user(){
|
||||||
|
return $this->hasOne(User::class, 'uid', 'uid');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,231 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace app\common\repositories\common;
|
||||||
|
|
||||||
|
use app\common\dao\common\ContractDao;
|
||||||
|
use app\common\model\common\Contract;
|
||||||
|
use app\common\repositories\BaseRepository;
|
||||||
|
use think\exception\ValidateException;
|
||||||
|
|
||||||
|
class ContractRepository extends BaseRepository{
|
||||||
|
|
||||||
|
protected $dao;
|
||||||
|
private $prefix = '';// 测试环境:wmbtcs 生产环境:wmbtonlykey_
|
||||||
|
|
||||||
|
public function __construct(ContractDao $dao){
|
||||||
|
$this->dao = $dao;
|
||||||
|
$this->prefix = env('fadada.fadada_prefix', 'wmbtonly');
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Common: 公共查询模型
|
||||||
|
* Author: wu-hui
|
||||||
|
* Time: 2024/07/04 9:30
|
||||||
|
* @param $search
|
||||||
|
* @return \app\common\model\common\Contract
|
||||||
|
*/
|
||||||
|
public function getSearchModel($search){
|
||||||
|
return $this->dao->searchList($search);
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Common: 获取信息列表
|
||||||
|
* Author: wu-hui
|
||||||
|
* Time: 2024/07/05 11:46
|
||||||
|
* @param array $params
|
||||||
|
* @param int $page
|
||||||
|
* @param int $limit
|
||||||
|
* @return array
|
||||||
|
* @throws \think\db\exception\DataNotFoundException
|
||||||
|
* @throws \think\db\exception\DbException
|
||||||
|
* @throws \think\db\exception\ModelNotFoundException
|
||||||
|
*/
|
||||||
|
public function getList(array $params,int $page,int $limit):array{
|
||||||
|
$query = $this->dao->searchList($params);
|
||||||
|
$count = $query->count();
|
||||||
|
$list = $query->page($page,$limit)->select()->toArray();
|
||||||
|
|
||||||
|
return compact('count','list');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Common: 增加合同基本信息
|
||||||
|
* Author: wu-hui
|
||||||
|
* Time: 2024/07/04 10:33
|
||||||
|
* @param int $uid
|
||||||
|
* @param int $roleType
|
||||||
|
* @param int $roleId
|
||||||
|
* @return int|string
|
||||||
|
*/
|
||||||
|
public function addBaseInfo(int $uid,int $roleType,int $roleId){
|
||||||
|
$clientUserId = $this->getOnlyKey((int)$uid,(int)$roleType,(int)$roleId);
|
||||||
|
return Contract::insertGetId([
|
||||||
|
'uid' => $uid,
|
||||||
|
'role_type' => $roleType,
|
||||||
|
'role_id' => $roleId,
|
||||||
|
'client_user_id' => $clientUserId
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Common: 生成用户唯一key
|
||||||
|
* Author: wu-hui
|
||||||
|
* Time: 2024/07/04 15:20
|
||||||
|
* @param int $uid
|
||||||
|
* @param int $roleType
|
||||||
|
* @param int $roleId
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
private function getOnlyKey(int $uid,int $roleType,int $roleId):string{
|
||||||
|
return $this->prefix.'uid'.$uid.'type'.$roleType.'id'.$roleId;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Common: 配置获取
|
||||||
|
* Author: wu-hui
|
||||||
|
* Time: 2024/07/04 17:38
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getConfig(){
|
||||||
|
$config = systemConfig([
|
||||||
|
'appid',
|
||||||
|
'app_secret',
|
||||||
|
'open_corp_id',
|
||||||
|
'template_list',
|
||||||
|
]);
|
||||||
|
// 信息处理
|
||||||
|
$config['template_list'] = $config['template_list'] ? (array)$config['template_list'] : [];
|
||||||
|
// 模板处理
|
||||||
|
$templateList = [
|
||||||
|
// 运营中心相关合同
|
||||||
|
'1' => ['title' => '总部发起人','sign_task_subject' => '','sign_template_id' => ''],
|
||||||
|
'2' => ['title' => '省公司发起人','sign_task_subject' => '','sign_template_id' => ''],
|
||||||
|
'3' => ['title' => '省公司外勤','sign_task_subject' => '','sign_template_id' => ''],
|
||||||
|
'4' => ['title' => '省公司内勤','sign_task_subject' => '','sign_template_id' => ''],
|
||||||
|
'5' => ['title' => '区县运营商','sign_task_subject' => '','sign_template_id' => ''],
|
||||||
|
'6' => ['title' => '区县合伙人','sign_task_subject' => '','sign_template_id' => ''],
|
||||||
|
'7' => ['title' => '餐厅','sign_task_subject' => '','sign_template_id' => ''],
|
||||||
|
'8' => ['title' => '配送商','sign_task_subject' => '','sign_template_id' => ''],
|
||||||
|
'9' => ['title' => '总部外勤','sign_task_subject' => '','sign_template_id' => ''],
|
||||||
|
'10' => ['title' => '总部内勤','sign_task_subject' => '','sign_template_id' => ''],
|
||||||
|
'11' => ['title' => '烟酒店代销商','sign_task_subject' => '','sign_template_id' => ''],
|
||||||
|
];
|
||||||
|
foreach($templateList as $tempKey => $tempItem){
|
||||||
|
$config['template_list'][$tempKey] = (array)$config['template_list'][$tempKey] ?? $tempItem;
|
||||||
|
}
|
||||||
|
|
||||||
|
return $config;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Common: 获取授权信息
|
||||||
|
* Author: wu-hui
|
||||||
|
* Time: 2024/07/04 11:50
|
||||||
|
* @param int $uid
|
||||||
|
* @param int $roleType
|
||||||
|
* @param int $roleId
|
||||||
|
* @return array
|
||||||
|
*/
|
||||||
|
public function getAuthInfo(int $uid,int $roleType,int $roleId){
|
||||||
|
// 获取授权信息
|
||||||
|
$info = $this->getSearchModel(['uid' => $uid,'role_type' => $roleType,'role_id' => $roleId])->findOrEmpty()->toArray();
|
||||||
|
// 信息不存在 增加签约基本信息
|
||||||
|
if(!$info){
|
||||||
|
$id = $this->addBaseInfo($uid, $roleType, $roleId);
|
||||||
|
$info = $this->getSearchModel(['id' => $id])->findOrEmpty()->toArray();
|
||||||
|
}
|
||||||
|
// 判断:根据信息内容进行对应的操作
|
||||||
|
if($info['binding_status'] == 0){
|
||||||
|
// 信息不存在 增加签约基本信息 并且返回签约链接信息
|
||||||
|
$redirectMiniAppUrl = "/pages/agent/contract/index?role_type={$roleType}&role_id={$roleId}";
|
||||||
|
$authUrlInfo = $this->dao->getAuthUrl((string)$info['client_user_id'],(string)$redirectMiniAppUrl);
|
||||||
|
if($authUrlInfo['code'] == 100000){
|
||||||
|
$authUrlData = $authUrlInfo['data'] ?? [];
|
||||||
|
$info['authShortUrl'] = $authUrlData['authShortUrl'] ?? '';
|
||||||
|
$info['authUrl'] = $authUrlData['authUrl'] ?? '';
|
||||||
|
}else if($authUrlInfo['code'] == 210002){
|
||||||
|
$this->dao->getAuthInfo((string)$info['client_user_id']);
|
||||||
|
$info = $this->getSearchModel(['id' => $info['id']])->findOrEmpty()->toArray();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return $info;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Common: 获取合同签署信息
|
||||||
|
* Author: wu-hui
|
||||||
|
* Time: 2024/07/05 10:05
|
||||||
|
* @param $id
|
||||||
|
* @return array
|
||||||
|
*/
|
||||||
|
public function getSignInfo($id){
|
||||||
|
// 获取授权信息
|
||||||
|
$authInfo = $this->getSearchModel(['id' => $id])->findOrEmpty()->toArray();
|
||||||
|
if(!$authInfo) throw new ValidateException('授权信息不存在!');
|
||||||
|
// 不存在签署任务 创建签署任务并且保存任务id
|
||||||
|
if(!$authInfo['sign_task_id']){
|
||||||
|
$this->dao->createWithTemplate((array)$authInfo);
|
||||||
|
$authInfo = $this->getSearchModel(['id' => $id])->findOrEmpty()->toArray();
|
||||||
|
}
|
||||||
|
// 获取参与方签署链接
|
||||||
|
$actorUrlInfo = $this->dao->actorGetUrl((array)$authInfo);
|
||||||
|
return array_merge($authInfo,$actorUrlInfo);
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Common: 获取合同下载地址
|
||||||
|
* Author: wu-hui
|
||||||
|
* Time: 2024/07/05 14:10
|
||||||
|
* @param $id
|
||||||
|
* @return array|mixed
|
||||||
|
*/
|
||||||
|
public function getDownloadInfo($id){
|
||||||
|
$authInfo = $this->getSearchModel(['id' => $id])->findOrEmpty()->toArray();
|
||||||
|
return $this->dao->ownerGetDownloadUrl((array)$authInfo);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Common: 异步通知 - 个人授权
|
||||||
|
* Author: wu-hui
|
||||||
|
* Time: 2024/07/04 14:39
|
||||||
|
* @param $bizContent
|
||||||
|
*/
|
||||||
|
public function notifyUserAuthorize($bizContent){
|
||||||
|
$authResult = $bizContent['authResult'] ?? '';
|
||||||
|
if($authResult == 'success'){
|
||||||
|
(new Contract())->update([
|
||||||
|
'open_user_id' => $bizContent['openUserId'] ?? '',
|
||||||
|
'auth_scope' => implode(',',$bizContent['authScope']),
|
||||||
|
'available_status' => $bizContent['availableStatus'] == 'enable' ? 1 : 0,
|
||||||
|
],['client_user_id' => $bizContent['clientUserId']]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Common: 异步通知 - 拒绝签署合同
|
||||||
|
* Author: wu-hui
|
||||||
|
* Time: 2024/07/05 10:39
|
||||||
|
* @param $bizContent
|
||||||
|
*/
|
||||||
|
public function notifySignTaskFillRejected($bizContent){
|
||||||
|
if($bizContent['actorId'] == '乙方'){
|
||||||
|
(new Contract())->update([
|
||||||
|
'sign_status' => 2,
|
||||||
|
'rejected_reason' => $bizContent['fillRejectReason']
|
||||||
|
],['sign_task_id' => $bizContent['signTaskId']]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Common: 异步通知 - 合同签署成功
|
||||||
|
* Author: wu-hui
|
||||||
|
* Time: 2024/07/05 11:09
|
||||||
|
* @param $bizContent
|
||||||
|
*/
|
||||||
|
public function notifySignTaskSigned($bizContent){
|
||||||
|
if($bizContent['actorId'] == '乙方'){
|
||||||
|
(new Contract())->update([
|
||||||
|
'sign_status' => 1,
|
||||||
|
],['sign_task_id' => $bizContent['signTaskId']]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -1,293 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
namespace app\common\services;
|
|
||||||
|
|
||||||
use app\services\BaseServices;
|
|
||||||
use think\exception\ValidateException;
|
|
||||||
|
|
||||||
class FaDaDaServices extends BaseServices{
|
|
||||||
|
|
||||||
private $appid = '80001491';
|
|
||||||
private $appSecret = '84CDJF98RUP2EOBDYSF8CQTYTXEJIX1I';
|
|
||||||
private $apiLink = 'https://uat-api.fadada.com/api/v5/';// 生产:https://api.fadada.com/api/v5/ 测试:https://uat-api.fadada.com/api/v5/
|
|
||||||
|
|
||||||
// 发起请求
|
|
||||||
private function requestApi(array $bizContent = [],string $apiName = '',string $requestType = 'api'){
|
|
||||||
try {
|
|
||||||
// 通用header信息
|
|
||||||
$millisecond = '1719570699896';//(string)round(microtime(true) * 1000);
|
|
||||||
$signData = [
|
|
||||||
'X-FASC-App-Id' => $this->appid,
|
|
||||||
'X-FASC-Sign-Type' => 'HMAC-SHA256',
|
|
||||||
'X-FASC-Timestamp' => $millisecond,
|
|
||||||
'X-FASC-Nonce' => '1719570699896n667e910bdab4e',//uniqid($millisecond.'n'),
|
|
||||||
'X-FASC-Api-SubVersion' => '5.1',
|
|
||||||
// 'bizContent' => $bizContent ? json_encode($bizContent) : '',
|
|
||||||
];
|
|
||||||
$header = [
|
|
||||||
'Content-Type:application/x-www-form-urlencoded',
|
|
||||||
'Cache-Control:no-cache',
|
|
||||||
'Pragma:no-cache',
|
|
||||||
// 文档要求信息
|
|
||||||
'X-FASC-App-Id:'.$signData['X-FASC-App-Id'],
|
|
||||||
'X-FASC-Sign-Type:'.$signData['X-FASC-Sign-Type'],
|
|
||||||
'X-FASC-Timestamp:'.$signData['X-FASC-Timestamp'],
|
|
||||||
'X-FASC-Nonce:'.$signData['X-FASC-Nonce'],
|
|
||||||
'X-FASC-Api-SubVersion:'.$signData['X-FASC-Api-SubVersion']
|
|
||||||
];
|
|
||||||
// 根据请求类型 使用不同的header信息
|
|
||||||
if($requestType == 'access_token') {
|
|
||||||
$header[] = 'X-FASC-Grant-Type:client_credential';
|
|
||||||
$signData['X-FASC-Grant-Type'] = 'client_credential';
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
$accessToken = $this->getAccessToken();
|
|
||||||
$header[] = 'X-FASC-AccessToken:'.$accessToken;
|
|
||||||
$signData['X-FASC-AccessToken'] = $accessToken;
|
|
||||||
}
|
|
||||||
// 获取签名
|
|
||||||
$header[] = 'X-FASC-Sign:'.$this->getSign($signData, $millisecond);
|
|
||||||
// 发起请求
|
|
||||||
$result = curlPost($this->apiLink.$apiName, [],30, $header);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
debug($result);
|
|
||||||
|
|
||||||
return $result;
|
|
||||||
} catch (\Exception $e) {
|
|
||||||
// Log::info('法大大 - 错误: ' . $e->getMessage());
|
|
||||||
throw new ValidateException('法大大请求失败:' . $e->getMessage());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// 获取签名
|
|
||||||
private function getSign($data, $millisecond){
|
|
||||||
// 对排序后的参数字符串计算摘要,sha256Hex
|
|
||||||
krsort($data);
|
|
||||||
$signStr = '';
|
|
||||||
foreach($data as $key => $value){
|
|
||||||
if(!empty($value) && $value != '') $signStr .= $key . '=' . $value . '&';
|
|
||||||
}
|
|
||||||
$signText = hash('sha256', $signStr);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
debug([$signText,$data,$millisecond]);
|
|
||||||
|
|
||||||
|
|
||||||
$secretSigning = hash_hmac('sha256', $this->appSecret, $millisecond, true);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// 用时间戳计算临时签名密钥
|
|
||||||
// $secretSigning = hash_hmac('sha256', $millisecond, mb_convert_encoding($this->appSecret, 'UTF-8'));
|
|
||||||
// $signature = strtolower(bin2hex(hash_hmac('sha256', $signText, $secretSigning)));
|
|
||||||
|
|
||||||
|
|
||||||
return strtolower(bin2hex(hash_hmac('sha256', $secretSigning, $signText, TRUE)));
|
|
||||||
|
|
||||||
|
|
||||||
// // 对排序后的参数字符串计算摘要,sha256Hex
|
|
||||||
// String signText = sha256Hex(paramToSignStr);
|
|
||||||
// // 用时间戳计算临时签名密钥
|
|
||||||
// byte[] secretSigning = hmac256((appSecret).getBytes(UTF8), timestamp);
|
|
||||||
// // 计算参数签名并统一转换成小写
|
|
||||||
// String signature = DatatypeConverter.printHexBinary(hmac256(secretSigning, signText)).toLowerCase();
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return $signature;
|
|
||||||
}
|
|
||||||
// 获取访问凭证
|
|
||||||
private function getAccessToken(){
|
|
||||||
$result = $this->requestApi([],'/service/get-access-token', 'access_token');
|
|
||||||
|
|
||||||
|
|
||||||
debug(['access_token' => $result]);
|
|
||||||
|
|
||||||
// debug("获取访问凭证");
|
|
||||||
|
|
||||||
return '';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// 获取个人授权链接
|
|
||||||
public function getAuthUrl(){
|
|
||||||
$bizContent = [
|
|
||||||
// 个人用户在应用中的唯一标识,由集成方自定义,长度最大64个字符。
|
|
||||||
'clientUserId' => '',
|
|
||||||
];
|
|
||||||
$result = $this->requestApi($bizContent);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
debug([
|
|
||||||
'获取个人授权链接',
|
|
||||||
'请求信息'=>$bizContent,
|
|
||||||
'返回结果'=>$result,
|
|
||||||
]);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
// 创建签署任务(基于签署任务模板)
|
|
||||||
public function createWithTemplate(){
|
|
||||||
$bizContent = [
|
|
||||||
// 该签署任务的发起方(扣费主体),需检查授权
|
|
||||||
'initiator' => [
|
|
||||||
// 主体类型:corp: 企业;person: 个人
|
|
||||||
'idType' => '',
|
|
||||||
// 主体标识,长度最大64个字符
|
|
||||||
// 如果idType为corp:代表应用系统上的企业用户,主体方是openCorpId所指定的企业
|
|
||||||
// 如果idType为person:代表应用系统上的个人用户,主体方是openUserId所指定的个人;
|
|
||||||
'openId' => '',
|
|
||||||
],
|
|
||||||
// 签署任务主题。长度最大100个字符
|
|
||||||
'signTaskSubject' => '',
|
|
||||||
// 指定签署任务模板ID
|
|
||||||
'signTemplateId' => '',
|
|
||||||
// 是否自动提交签署任务
|
|
||||||
'autoStart' => true,
|
|
||||||
// 是否自动定稿填写内容(在有填写参与方时生效)
|
|
||||||
'autoFillFinalize' => true,
|
|
||||||
// 参与方列表 参与方信息
|
|
||||||
'actors' => [
|
|
||||||
[
|
|
||||||
'actor' => [
|
|
||||||
// 参与方标识。在同一个签署任务中,参与方标识唯一,不允许重复;例如:甲方、乙方、丙方
|
|
||||||
'actorId' => '',
|
|
||||||
// 参与方主体类型: corp: 企业;person: 个人
|
|
||||||
'actorType' => '',
|
|
||||||
// 参与方具体名称。长度最大128个字符。
|
|
||||||
'actorName' => '',
|
|
||||||
// 参与方权限 fill:填写;sign:签署;cc:抄送
|
|
||||||
'permissions' => ['fill','sign'],
|
|
||||||
// 参与方主体在应用上的OpenId;openCorpId/openUserId
|
|
||||||
'actorOpenId' => '',
|
|
||||||
],
|
|
||||||
]
|
|
||||||
],
|
|
||||||
];
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$result = $this->requestApi($bizContent);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
debug([
|
|
||||||
'创建签署任务(基于签署任务模板)',
|
|
||||||
'请求信息'=>$bizContent,
|
|
||||||
'返回结果'=>$result,
|
|
||||||
]);
|
|
||||||
}
|
|
||||||
// 获取参与方签署链接
|
|
||||||
public function actorGetUrl(){
|
|
||||||
$bizContent = [
|
|
||||||
// 签署任务ID
|
|
||||||
'signTaskId' => '',
|
|
||||||
// 参与方标识。在同一个签署任务中,参与方标识唯一,不允许重复;例如:甲方、乙方、丙方
|
|
||||||
'actorId' => '',
|
|
||||||
// 应用系统中唯一确定登录用户身份的标识
|
|
||||||
'clientUserId' => '',
|
|
||||||
// 重定向地址,系统判断在非小程序环境下会跳转至该地址。
|
|
||||||
// 'redirectUrl' => '',
|
|
||||||
// 小程序的重定向地址(微信和支付宝)
|
|
||||||
'redirectMiniAppUrl' => '',
|
|
||||||
];
|
|
||||||
|
|
||||||
|
|
||||||
$result = $this->requestApi($bizContent);
|
|
||||||
debug([
|
|
||||||
'获取参与方签署链接',
|
|
||||||
'请求信息'=>$bizContent,
|
|
||||||
'返回结果'=>$result,
|
|
||||||
]);
|
|
||||||
|
|
||||||
}
|
|
||||||
// 查询签署任务列表
|
|
||||||
public function ownerGetList(){
|
|
||||||
$bizContent = [
|
|
||||||
// 签署任务发起方或参与方主体
|
|
||||||
'ownerId' => [
|
|
||||||
// 主体类型:corp: 企业;person: 个人
|
|
||||||
'idType' => '',
|
|
||||||
// 主体标识,长度最大64个字符
|
|
||||||
// 如果idType为corp:代表应用系统上的企业用户,主体方是openCorpId所指定的企业
|
|
||||||
// 如果idType为person:代表应用系统上的个人用户,主体方是openUserId所指定的个人;
|
|
||||||
'openId' => '',
|
|
||||||
],
|
|
||||||
// 指定第几页,如果不传默从第一页返回。页码从1开始,即首页为1。
|
|
||||||
'listPageNo' => '',
|
|
||||||
// 指定每页多少条数据,如果不传默认为100,单页最大100
|
|
||||||
'listPageSize' => '',
|
|
||||||
];
|
|
||||||
|
|
||||||
|
|
||||||
$result = $this->requestApi($bizContent);
|
|
||||||
debug([
|
|
||||||
'查询签署任务列表',
|
|
||||||
'请求信息'=>$bizContent,
|
|
||||||
'返回结果'=>$result,
|
|
||||||
]);
|
|
||||||
}
|
|
||||||
// 查询签署任务详情
|
|
||||||
public function ownerGetDetail(){
|
|
||||||
$bizContent = [
|
|
||||||
// 个人用户在应用中的唯一标识,由集成方自定义,长度最大64个字符。
|
|
||||||
'signTaskId' => '',
|
|
||||||
];
|
|
||||||
|
|
||||||
$result = $this->requestApi($bizContent);
|
|
||||||
debug([
|
|
||||||
'查询签署任务详情',
|
|
||||||
'请求信息'=>$bizContent,
|
|
||||||
'返回结果'=>$result,
|
|
||||||
]);
|
|
||||||
}
|
|
||||||
// 获取签署文档下载地址
|
|
||||||
public function ownerGetDownloadUrl(){
|
|
||||||
$bizContent = [
|
|
||||||
// 个人用户在应用中的唯一标识,由集成方自定义,长度最大64个字符。
|
|
||||||
'ownerId' => [
|
|
||||||
// 主体类型:corp: 企业;person: 个人
|
|
||||||
'idType' => '',
|
|
||||||
// 主体标识,长度最大64个字符
|
|
||||||
// 如果idType为corp:代表应用系统上的企业用户,主体方是openCorpId所指定的企业
|
|
||||||
// 如果idType为person:代表应用系统上的个人用户,主体方是openUserId所指定的个人;
|
|
||||||
'openId' => '',
|
|
||||||
],
|
|
||||||
// 签署任务ID。下载单个任务文档时传此参数,直接返回下载链接。
|
|
||||||
'signTaskId' => '',
|
|
||||||
];
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$result = $this->requestApi($bizContent);
|
|
||||||
debug([
|
|
||||||
'获取签署文档下载地址',
|
|
||||||
'请求信息'=>$bizContent,
|
|
||||||
'返回结果'=>$result,
|
|
||||||
]);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// 测试
|
|
||||||
public function test(){
|
|
||||||
|
|
||||||
|
|
||||||
$this->requestApi([]);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
@ -0,0 +1,78 @@
|
||||||
|
<?php
|
||||||
|
namespace app\controller\admin\common;
|
||||||
|
|
||||||
|
|
||||||
|
use app\common\repositories\common\ContractRepository;
|
||||||
|
use app\common\repositories\system\config\ConfigClassifyRepository;
|
||||||
|
use app\common\repositories\system\config\ConfigValueRepository;
|
||||||
|
use crmeb\basic\BaseController;
|
||||||
|
use think\App;
|
||||||
|
|
||||||
|
class Contract extends BaseController{
|
||||||
|
protected $repository;
|
||||||
|
|
||||||
|
public function __construct(App $app, ContractRepository $repository){
|
||||||
|
parent::__construct($app);
|
||||||
|
$this->repository = $repository;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Common: 获取授权及签署列表
|
||||||
|
* Author: wu-hui
|
||||||
|
* Time: 2024/07/05 11:45
|
||||||
|
* @return mixed
|
||||||
|
* @throws \think\db\exception\DataNotFoundException
|
||||||
|
* @throws \think\db\exception\DbException
|
||||||
|
* @throws \think\db\exception\ModelNotFoundException
|
||||||
|
*/
|
||||||
|
public function getList(){
|
||||||
|
[$page, $limit] = $this->getPage();
|
||||||
|
$params = $this->request->params(['title']);
|
||||||
|
$data = $this->repository->getList((array)$params,(int)$page,(int)$limit);
|
||||||
|
|
||||||
|
return app('json')->success($data);
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Common: 配置信息 - 修改
|
||||||
|
* Author: wu-hui
|
||||||
|
* Time: 2024/07/04 17:35
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function setConfig(){
|
||||||
|
$config = $this->request->params([
|
||||||
|
['appid', ''],
|
||||||
|
['app_secret', ''],
|
||||||
|
['open_corp_id', ''],
|
||||||
|
['template_list', []],
|
||||||
|
]);
|
||||||
|
// 保存信息
|
||||||
|
$cid = app()->make(ConfigClassifyRepository::class)->getConfigClassifyKeyById('contract_config', '法大大合同配置');
|
||||||
|
if (!$cid) return app('json')->fail('保存失败');
|
||||||
|
app()->make(ConfigValueRepository::class)->setFormData($config,$this->request->merId());
|
||||||
|
return app('json')->success('保存成功');
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Common: 配置获取
|
||||||
|
* Author: wu-hui
|
||||||
|
* Time: 2024/07/04 17:38
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getConfig(){
|
||||||
|
$config = $this->repository->getConfig();
|
||||||
|
|
||||||
|
return app('json')->success($config);
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Common: 获取合同下载信息
|
||||||
|
* Author: wu-hui
|
||||||
|
* Time: 2024/07/05 14:11
|
||||||
|
* @param $id
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function downloadInfo($id){
|
||||||
|
$result = $this->repository->getDownloadInfo($id);
|
||||||
|
|
||||||
|
return app('json')->success($result);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
namespace app\controller\api;
|
namespace app\controller\api;
|
||||||
|
|
||||||
|
|
||||||
|
use app\common\repositories\common\ContractRepository;
|
||||||
use app\common\repositories\delivery\DeliveryOrderRepository;
|
use app\common\repositories\delivery\DeliveryOrderRepository;
|
||||||
use app\common\repositories\store\product\ProductAssistSetRepository;
|
use app\common\repositories\store\product\ProductAssistSetRepository;
|
||||||
use app\common\repositories\store\product\ProductGroupBuyingRepository;
|
use app\common\repositories\store\product\ProductGroupBuyingRepository;
|
||||||
|
|
@ -656,7 +657,40 @@ class Common extends BaseController
|
||||||
Log::info('汇付天下 - 支付回调 - 失败:' . var_export([$e->getMessage(), $e->getFile() . ':' . $e->getLine()], true));
|
Log::info('汇付天下 - 支付回调 - 失败:' . var_export([$e->getMessage(), $e->getFile() . ':' . $e->getLine()], true));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* Common: 法大大 异步通知
|
||||||
|
* Author: wu-hui
|
||||||
|
* Time: 2024/07/04 16:22
|
||||||
|
*/
|
||||||
|
public function notifyFaDaDa(){
|
||||||
|
try {
|
||||||
|
// 参数获取
|
||||||
|
$params = $this->request->post();
|
||||||
|
$bizContent = $params['bizContent'] ?? [];
|
||||||
|
$bizContent = json_decode($bizContent, true) ?? [];
|
||||||
|
$notifyEvent = (string)request()->header('X-FASC-Event');
|
||||||
|
// Log::info('法大大 - 异步通知:'.var_export(['header'=>$notifyEvent,'bizContent'=>$bizContent],TRUE));
|
||||||
|
// 根据类型和结果进行对应的操作
|
||||||
|
switch($notifyEvent){
|
||||||
|
// 个人授权异步通知
|
||||||
|
case 'user-authorize':
|
||||||
|
app()->make(ContractRepository::class)->notifyUserAuthorize($bizContent);
|
||||||
|
break;
|
||||||
|
// 合同拒绝签署通知
|
||||||
|
case 'sign-task-fill-rejected':
|
||||||
|
app()->make(ContractRepository::class)->notifySignTaskFillRejected($bizContent);
|
||||||
|
break;
|
||||||
|
// 合同签署成功
|
||||||
|
case 'sign-task-signed':
|
||||||
|
app()->make(ContractRepository::class)->notifySignTaskSigned($bizContent);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
return app('json')->success('success');
|
||||||
|
} catch (Exception $e) {
|
||||||
|
Log::info('法大大 - 异步通知 - 失败:' . var_export([$e->getMessage(), $e->getFile() . ':' . $e->getLine()], true));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,55 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace app\controller\api\common;
|
||||||
|
|
||||||
|
|
||||||
|
use app\common\repositories\common\ContractRepository;
|
||||||
|
use crmeb\basic\BaseController;
|
||||||
|
use think\App;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Common: 法大大合同签约
|
||||||
|
* Author: wu-hui
|
||||||
|
* Time: 2024/07/04 10:37
|
||||||
|
* Class Contract
|
||||||
|
* @package app\controller\api\common
|
||||||
|
*/
|
||||||
|
class Contract extends BaseController{
|
||||||
|
|
||||||
|
protected $repository;
|
||||||
|
|
||||||
|
public function __construct(App $app, ContractRepository $contractRepository){
|
||||||
|
parent::__construct($app);
|
||||||
|
|
||||||
|
$this->repository = $contractRepository;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Common: 法大大 - 获取授权信息
|
||||||
|
* Author: wu-hui
|
||||||
|
* Time: 2024/07/04 10:55
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function authInfo(){
|
||||||
|
$params = $this->request->params([
|
||||||
|
['role_type', 0],
|
||||||
|
['role_id', 0]
|
||||||
|
]);
|
||||||
|
$uid = $this->request->uid();
|
||||||
|
$info = $this->repository->getAuthInfo((int)$uid,(int)$params['role_type'],(int)$params['role_id']);
|
||||||
|
|
||||||
|
return app('json')->success($info);
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Common: 法大大 - 获取合同签署信息
|
||||||
|
* Author: wu-hui
|
||||||
|
* Time: 2024/07/05 10:06
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignInfo(){
|
||||||
|
$id = $this->request->param('id', 0);
|
||||||
|
$info = $this->repository->getSignInfo((int)$id);
|
||||||
|
|
||||||
|
return app('json')->success($info);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -519,10 +519,6 @@ Route::group(function () {
|
||||||
Route::get('delivery_mer','Delivery/merList');
|
Route::get('delivery_mer','Delivery/merList');
|
||||||
Route::post('delivery_order_allocation','Delivery/orderAllocation');
|
Route::post('delivery_order_allocation','Delivery/orderAllocation');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
})->prefix('admin.marketing.agent.');
|
})->prefix('admin.marketing.agent.');
|
||||||
// 活动相关
|
// 活动相关
|
||||||
Route::group('marketing/activity', function () {
|
Route::group('marketing/activity', function () {
|
||||||
|
|
@ -563,7 +559,14 @@ Route::group(function () {
|
||||||
'_path' => '/marketing/agent/list',
|
'_path' => '/marketing/agent/list',
|
||||||
'_auth' => true,
|
'_auth' => true,
|
||||||
]);
|
]);
|
||||||
|
// 合同管理
|
||||||
|
Route::group('common/contract', function () {
|
||||||
|
Route::get('list','getList')->name('systemMarketingContractList');
|
||||||
|
Route::get('get_config','getConfig')->name('systemMarketingContractConfigGet');
|
||||||
|
Route::post('set_config','setConfig')->name('systemMarketingContractConfigSet');
|
||||||
|
Route::get('download/:id','downloadInfo')->name('systemMarketingContractDownloadInfo');
|
||||||
|
|
||||||
|
})->prefix('admin.common.Contract/');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -413,9 +413,6 @@ Route::group('api/', function () {
|
||||||
// 兑换码
|
// 兑换码
|
||||||
Route::get('vipExchangeCodeInfo', '/vipExchangeCodeInfo');
|
Route::get('vipExchangeCodeInfo', '/vipExchangeCodeInfo');
|
||||||
Route::post('vipExchangeCodePayment', '/vipExchangeCodePayment');
|
Route::post('vipExchangeCodePayment', '/vipExchangeCodePayment');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
})->prefix('api.user.Svip');
|
})->prefix('api.user.Svip');
|
||||||
// 运营中心 - 公共
|
// 运营中心 - 公共
|
||||||
Route::group('agent', function () {
|
Route::group('agent', function () {
|
||||||
|
|
@ -495,10 +492,18 @@ Route::group('api/', function () {
|
||||||
Route::get('mer_list', 'merList');
|
Route::get('mer_list', 'merList');
|
||||||
|
|
||||||
})->prefix('api.store.merchant.Shareholder/');
|
})->prefix('api.store.merchant.Shareholder/');
|
||||||
|
// 合同-法大大签约
|
||||||
|
Route::group('contract', function () {
|
||||||
|
Route::get('auth_info', 'authInfo');// 获取个人授权信息
|
||||||
|
Route::get('get_sign_info', 'getSignInfo');// 获取合同签署信息
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
})->prefix('api.common.Contract/');
|
||||||
|
|
||||||
|
|
||||||
})->middleware(UserTokenMiddleware::class, true);
|
})->middleware(UserTokenMiddleware::class, true);
|
||||||
//非强制登录
|
//非强制登录
|
||||||
Route::group(function () {
|
Route::group(function () {
|
||||||
|
|
@ -722,6 +727,8 @@ Route::group('api/', function () {
|
||||||
Route::any('getVersion', 'api.Common/getVersion')->name('getVersion');
|
Route::any('getVersion', 'api.Common/getVersion')->name('getVersion');
|
||||||
// 汇付天下支付回调
|
// 汇付天下支付回调
|
||||||
Route::any('notify/hui_fu_tian_xia', 'api.Common/notifyHuiFu')->name('notifyHuiFu');
|
Route::any('notify/hui_fu_tian_xia', 'api.Common/notifyHuiFu')->name('notifyHuiFu');
|
||||||
|
// 法大大异步通知
|
||||||
|
Route::any('notify/fadada', 'api.Common/notifyFaDaDa')->name('notifyFaDaDa');
|
||||||
|
|
||||||
|
|
||||||
//城市列表
|
//城市列表
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,38 @@
|
||||||
|
**/target/
|
||||||
|
/logs
|
||||||
|
!.mvn/wrapper/maven-wrapper.jar
|
||||||
|
node_modules
|
||||||
|
/vendor/
|
||||||
|
/test
|
||||||
|
|
||||||
|
##前端打包生成文件需要忽略##
|
||||||
|
web/portal-h5/app
|
||||||
|
web/portal/portal
|
||||||
|
**/web/portal/config/*
|
||||||
|
web/admin/dist
|
||||||
|
web/api/api
|
||||||
|
package-lock.json
|
||||||
|
|
||||||
|
### STS ###
|
||||||
|
.apt_generated
|
||||||
|
.classpath
|
||||||
|
.factorypath
|
||||||
|
.project
|
||||||
|
.settings
|
||||||
|
.springBeans
|
||||||
|
.sts4-cache
|
||||||
|
|
||||||
|
### IntelliJ IDEA ###
|
||||||
|
.idea
|
||||||
|
*.iws
|
||||||
|
*.iml
|
||||||
|
*.ipr
|
||||||
|
|
||||||
|
### NetBeans ###
|
||||||
|
/nbproject/private/
|
||||||
|
/build/
|
||||||
|
/nbbuild/
|
||||||
|
/dist/
|
||||||
|
/nbdist/
|
||||||
|
/.nb-gradle/
|
||||||
|
/target/
|
||||||
|
|
@ -0,0 +1,147 @@
|
||||||
|
# FASC OpenApi SDK v5.1 for PHP说明
|
||||||
|
|
||||||
|
# 简介
|
||||||
|
|
||||||
|
欢迎使用法大大开发者工具套件(SDK),PHP SDK 是法大大电子合同和电子签云服务开放平台(FASC OPEN API)的配套工具。
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# 版本说明
|
||||||
|
|
||||||
|
FASC.openAPI 产品目前存在两个子版本号:v5.0、v5.1, 均在持续迭代维护。
|
||||||
|
|
||||||
|
当前页面SDK基于FASC.openAPI v5.1子版本开发,如需使用FASC.openAPI v5.0版本SDK,请访问:
|
||||||
|
|
||||||
|
https://gitee.com/fadada-cloud/fasc-openapi-php-sdk/tree/v5.0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## 目录结构
|
||||||
|
|
||||||
|
- SDK项目层级
|
||||||
|
```php
|
||||||
|
fasc-openapi-php-sdk
|
||||||
|
- src
|
||||||
|
- FddCloud
|
||||||
|
- bean //里面放的是所有API的对象参数
|
||||||
|
- message //里面放的是所有事件回调的对象参数
|
||||||
|
- req //里面放的是所有接口请求的对象参数
|
||||||
|
- constants //里面放的是接口url地址和应用的配置信息
|
||||||
|
- client //对应接口各个模块的client,接入方可以参考下面用例初始化client后调用
|
||||||
|
- utils //里面是封装好工具类,接入方开发人员可以参考
|
||||||
|
|
||||||
|
```
|
||||||
|
- SDK 目前支持以下模块,对应 client 可支持具体的业务方法:
|
||||||
|
|
||||||
|
| 模块 | 模块中文名 | 模块说明 |
|
||||||
|
|---------------------------|-----------|-----------------------------|
|
||||||
|
| GetService | 服务访问凭证 | 获取服务访问凭证 |
|
||||||
|
| UserClient | 个人认证授权管理 | 包含个人用户认证、授权操作 |
|
||||||
|
| CorpClient | 企业认证授权管理 | 包含企业用户认证、授权操作 |
|
||||||
|
| OrgClient | 组织管理 | 包含部门、成员、相对方管理 |
|
||||||
|
| SealClient | 印章管理 | 包含企业印章、个人签名管理 |
|
||||||
|
| TemplateClient | 模板管理 | 包含模板、文档 增删改及自定义控件管理 |
|
||||||
|
| AppTemplateClient | 应用模板管理 | 包含应用的模板、文档 增删改及自定义控件管理 |
|
||||||
|
| DocClient | 文档处理 | 包含文件上传、文件处理、OFD文件追加、文档验签等 |
|
||||||
|
| SignTaskClient | 签署任务 | 包含签署任务创建、签署、任务查询、任务控制 |
|
||||||
|
| EUIClient | 计费管理 | 包含计费链接的获取 |
|
||||||
|
| ApprovalClient | 审批管理 | 包含审批流程、审批单据的查询和审批链接的获取 |
|
||||||
|
| DraftClient | 合同起草 | 包含发起合同协商、协商邀请、协商管理、合同定稿相关功能 |
|
||||||
|
| ArchivesPerformanceClient | 合同归档 | 包含合同归档、合同履约相关功能 |
|
||||||
|
| OCRClient | 智能审查和智能比对 | 包含智能审查和智能比对 |
|
||||||
|
| ToolServiceClient | 工具能力服务 | 包含信息比对校验、证照OCR、个人身份核验相关工具能力 |
|
||||||
|
| CallbackClient | 回调管理 | 包含智能审查和智能比对 |
|
||||||
|
|
||||||
|
|
||||||
|
## 安装
|
||||||
|
|
||||||
|
推荐使用 `composer` 进行安装。可以使用 composer.json 声明依赖,或者运行下面的命令。SDK 包已经放到这里 [`fadada/fasc-openapi-php-sdk`](https://packagist.org/packages/fadada/fasc-openapi-php-sdk) 。
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ composer require fadada/fasc-openapi-php-sdk
|
||||||
|
```
|
||||||
|
|
||||||
|
## 依赖环境
|
||||||
|
|
||||||
|
PHP 7.0.10 版本及以上
|
||||||
|
|
||||||
|
## 使用方法
|
||||||
|
```php
|
||||||
|
/** 引入自动加载 */
|
||||||
|
require_once __DIR__ . '/../vendor/fadada/fasc-openapi-php-sdk/autoload.php';
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
## 调用示例
|
||||||
|
- 读取应用APP_ID的全局配置文件
|
||||||
|
```php
|
||||||
|
use FddCloud\constants\OpenApiConfig;
|
||||||
|
|
||||||
|
/**读取配置文件**/
|
||||||
|
$apiConfigFile = 'api_config.php';
|
||||||
|
$openApiConfig = new OpenApiConfig($apiConfigFile);
|
||||||
|
$app_id = $openApiConfig->getConfig()['app_id'];
|
||||||
|
$app_secret = $openApiConfig->getConfig()['app_secret'];
|
||||||
|
$service_url = $openApiConfig->getConfig()['service_url'];
|
||||||
|
$time_out = $openApiConfig->getConfig()['time_out'];
|
||||||
|
$debug = $openApiConfig->getConfig()['debug'];
|
||||||
|
```
|
||||||
|
|
||||||
|
- 接入方初始化一个client,比如调用账号相关,通过client来发起请求。
|
||||||
|
```php
|
||||||
|
use FddCloud\client\Client;
|
||||||
|
|
||||||
|
$client = new Client(
|
||||||
|
$app_id,$app_secret,$service_url,$time_out,$debug
|
||||||
|
);
|
||||||
|
```
|
||||||
|
- 接入方获取accessToken
|
||||||
|
```php
|
||||||
|
/** 获取accessToken */
|
||||||
|
$serviceClient = new ServiceClient($client);
|
||||||
|
$response = $serviceClient->getAccessToken();
|
||||||
|
print_r($response . "\n");
|
||||||
|
$res = json_decode($response);
|
||||||
|
```
|
||||||
|
|
||||||
|
- 获取个人用户授权接口示例
|
||||||
|
|
||||||
|
```php
|
||||||
|
use FddCloud\bean\req\user\GetUserAuthUrlReq;
|
||||||
|
|
||||||
|
/**获取userClient**/
|
||||||
|
$userClient = new UserClient($client);
|
||||||
|
|
||||||
|
$getUserAuthUrlReq = new GetUserAuthUrlReq();
|
||||||
|
# 个人用户在应用中的唯一标识,长度最大64个字符
|
||||||
|
$getUserAuthUrlReq->setClientUserId("");
|
||||||
|
# 个人用户的法大大帐号,仅限手机号或邮箱,长度最大30个字符。如该手机号或邮箱未注册法大大,则用户会以此作为注册账号
|
||||||
|
$getUserAuthUrlReq->setAccountName("");
|
||||||
|
$getUserAuthUrlReq->setNonEditableInfo($nonEditableInfo);
|
||||||
|
$authScope = ["ident_info", "seal_info", "signtask_init", "signtask_info", "signtask_file","file_storage"];
|
||||||
|
$getUserAuthUrlReq->setAuthScopes($authScope);
|
||||||
|
# 重定向地址,即用户在返回的页面上完成操作后重定向跳转到该地址,并且附带上参数。该地址是应用系统的地址,以实现用户交互在应用系统和法大大平台之间的连贯性。长度最大500个字符
|
||||||
|
$getUserAuthUrlReq->setRedirectUrl(urlencode("https://www.163.com/"));
|
||||||
|
# 小程序的重定向地址(微信和支付宝),长度最大1000个字符。
|
||||||
|
# 使用场景:小程序中集成该页面,操作完成后跳转地址为小程序原生页面路径,如"/pages/index/index",系统判断在小程序环境会跳转至该地址。
|
||||||
|
# 注:需要进行编码,若非原生页面路径请使用redirectUrl字段
|
||||||
|
$getUserAuthUrlReq->setRedirectMiniAppUrl("");
|
||||||
|
$response = $client->getUserAuthUrl($accessToken, $getUserAuthUrlReq);
|
||||||
|
print_r($response . "\n");
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## 版本更新日志
|
||||||
|
|
||||||
|
https://dev.fadada.com/updata-log/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## 参考
|
||||||
|
|
||||||
|
FASC OpenAPI (服务端) 接口文档 v5.1
|
||||||
|
|
||||||
|
https://dev.fadada.com/api-doc/ALGPB7Z1FD/TA0WHTSXQYL0NQRB/5-1
|
||||||
|
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'service_url' => 'https://api.fadada.com/api/v5/',
|
||||||
|
'app_id' => 'Please replace with your app_id',
|
||||||
|
'app_secret' => 'Please replace with your app_secret',
|
||||||
|
'debug' => false,
|
||||||
|
'time_out' => 60
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,25 @@
|
||||||
|
{
|
||||||
|
"name": "fadada/fasc-openapi-php-sdk",
|
||||||
|
"version": "5.4.4.0510",
|
||||||
|
"description": "Fadada Agreement & Signature Cloud API PHP-SDK",
|
||||||
|
"type": "library",
|
||||||
|
"keywords": ["FASC","fadada","php","sdk","fdd"],
|
||||||
|
"homepage": "https://dev.fadada.com/api-sdk/YDRPIGLMHK/KPR2Z8LX64IET9Y9",
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Jiahao Li",
|
||||||
|
"email": "lijiahao@fadada.com"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"require": {
|
||||||
|
"php": ">=7.0.10",
|
||||||
|
"ext-curl": "*",
|
||||||
|
"ext-json": "*",
|
||||||
|
"ext-iconv": "*"
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {"FddCloud\\": "src/FddCloud"}
|
||||||
|
},
|
||||||
|
"minimum-stability": "stable"
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,59 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* 测试文件
|
||||||
|
*/
|
||||||
|
|
||||||
|
use FddCloud\constants\OpenApiConfig;
|
||||||
|
use FddCloud\utils\crypt\FddCryptUtil;
|
||||||
|
|
||||||
|
require_once __DIR__ . '/autoload.php';
|
||||||
|
|
||||||
|
/**读取配置文件**/
|
||||||
|
$apiConfigFile = './test/api_config.php';
|
||||||
|
$openApiConfig = new OpenApiConfig($apiConfigFile);
|
||||||
|
$app_secret = $openApiConfig->getConfig()['app_secret'];
|
||||||
|
header('Content-Type: application/x-www-form-urlencoded');
|
||||||
|
|
||||||
|
$headers = getallheaders();
|
||||||
|
|
||||||
|
//获取请求头参数
|
||||||
|
$appId = $headers["X-FASC-App-Id"];
|
||||||
|
$signType = $headers["X-FASC-Sign-Type"];
|
||||||
|
$sign_in = $headers["X-FASC-Sign"];
|
||||||
|
$timestamp = $headers["X-FASC-Timestamp"];
|
||||||
|
//事件名称,开发者可以根据不同事件名称去解析bizContent的值,实现不同的逻辑
|
||||||
|
$event = $headers["X-FASC-Event"];
|
||||||
|
$nonce = $headers["X-FASC-Nonce"];
|
||||||
|
|
||||||
|
$data = file_get_contents('php://input');
|
||||||
|
|
||||||
|
parse_str($data, $post_data);
|
||||||
|
|
||||||
|
$bizContent = $post_data['bizContent'];
|
||||||
|
|
||||||
|
//组装需要去计算签名的参数
|
||||||
|
$values = array();
|
||||||
|
$values['X-FASC-App-Id'] = $appId;
|
||||||
|
$values['X-FASC-Timestamp'] = $timestamp;
|
||||||
|
$values['X-FASC-Sign-Type'] = $signType;
|
||||||
|
$values['X-FASC-Nonce'] = $nonce;
|
||||||
|
$values['X-FASC-Event'] = $event;
|
||||||
|
$values['bizContent'] = $bizContent;
|
||||||
|
|
||||||
|
//计算签名值
|
||||||
|
$fddCryptUtil= new FddCryptUtil();
|
||||||
|
|
||||||
|
$sign_out = $fddCryptUtil->signature($timestamp,$app_secret,$values);
|
||||||
|
print_r($sign_out."\n");
|
||||||
|
if($sign_in == $sign_out){
|
||||||
|
echo 'success';
|
||||||
|
}else{
|
||||||
|
echo 'is fail success';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
||||||
|
|
||||||
25
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/MessageBase.php
vendored
Normal file
25
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/MessageBase.php
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message;
|
||||||
|
class MessageBase
|
||||||
|
{
|
||||||
|
public $eventTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getEventTime()
|
||||||
|
{
|
||||||
|
return $this->eventTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $eventTime
|
||||||
|
*/
|
||||||
|
public function setEventTime($eventTime)
|
||||||
|
{
|
||||||
|
$this->eventTime = $eventTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
218
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/approval/ApprovalChangeMessage.php
vendored
Normal file
218
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/approval/ApprovalChangeMessage.php
vendored
Normal file
|
|
@ -0,0 +1,218 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\approval;
|
||||||
|
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 审批变更事件
|
||||||
|
* 当企业审批操作人进行审批后,通过该事件回调给业务系统,事件ID:approval-change
|
||||||
|
*/
|
||||||
|
class ApprovalChangeMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openCorpId;
|
||||||
|
public $approvalType;
|
||||||
|
public $templateId;
|
||||||
|
public $signTaskId;
|
||||||
|
public $approvalId;
|
||||||
|
public $approvalStatus;
|
||||||
|
public $oprMemberId;
|
||||||
|
public $oprMemberName;
|
||||||
|
public $approverStatus;
|
||||||
|
public $note;
|
||||||
|
public $nextNodeMemberIds;
|
||||||
|
public $clientUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpId
|
||||||
|
*/
|
||||||
|
public function setOpenCorpId($openCorpId)
|
||||||
|
{
|
||||||
|
$this->openCorpId = $openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getApprovalType()
|
||||||
|
{
|
||||||
|
return $this->approvalType;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $approvalType
|
||||||
|
*/
|
||||||
|
public function setApprovalType($approvalType)
|
||||||
|
{
|
||||||
|
$this->approvalType = $approvalType;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getTemplateId()
|
||||||
|
{
|
||||||
|
return $this->templateId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $templateId
|
||||||
|
*/
|
||||||
|
public function setTemplateId($templateId)
|
||||||
|
{
|
||||||
|
$this->templateId = $templateId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignTaskId()
|
||||||
|
{
|
||||||
|
return $this->signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signTaskId
|
||||||
|
*/
|
||||||
|
public function setSignTaskId($signTaskId)
|
||||||
|
{
|
||||||
|
$this->signTaskId = $signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getApprovalId()
|
||||||
|
{
|
||||||
|
return $this->approvalId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $approvalId
|
||||||
|
*/
|
||||||
|
public function setApprovalId($approvalId)
|
||||||
|
{
|
||||||
|
$this->approvalId = $approvalId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getApprovalStatus()
|
||||||
|
{
|
||||||
|
return $this->approvalStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $approvalStatus
|
||||||
|
*/
|
||||||
|
public function setApprovalStatus($approvalStatus)
|
||||||
|
{
|
||||||
|
$this->approvalStatus = $approvalStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOprMemberId()
|
||||||
|
{
|
||||||
|
return $this->oprMemberId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $oprMemberId
|
||||||
|
*/
|
||||||
|
public function setOprMemberId($oprMemberId)
|
||||||
|
{
|
||||||
|
$this->oprMemberId = $oprMemberId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOprMemberName()
|
||||||
|
{
|
||||||
|
return $this->oprMemberName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $oprMemberName
|
||||||
|
*/
|
||||||
|
public function setOprMemberName($oprMemberName)
|
||||||
|
{
|
||||||
|
$this->oprMemberName = $oprMemberName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getApproverStatus()
|
||||||
|
{
|
||||||
|
return $this->approverStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $approverStatus
|
||||||
|
*/
|
||||||
|
public function setApproverStatus($approverStatus)
|
||||||
|
{
|
||||||
|
$this->approverStatus = $approverStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getNote()
|
||||||
|
{
|
||||||
|
return $this->note;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $note
|
||||||
|
*/
|
||||||
|
public function setNote($note)
|
||||||
|
{
|
||||||
|
$this->note = $note;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getNextNodeMemberIds()
|
||||||
|
{
|
||||||
|
return $this->nextNodeMemberIds;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $nextNodeMemberIds
|
||||||
|
*/
|
||||||
|
public function setNextNodeMemberIds($nextNodeMemberIds)
|
||||||
|
{
|
||||||
|
$this->nextNodeMemberIds = $nextNodeMemberIds;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientUserId()
|
||||||
|
{
|
||||||
|
return $this->clientUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientUserId
|
||||||
|
*/
|
||||||
|
public function setClientUserId($clientUserId)
|
||||||
|
{
|
||||||
|
$this->clientUserId = $clientUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
184
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/approval/ApprovalCreateMessage.php
vendored
Normal file
184
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/approval/ApprovalCreateMessage.php
vendored
Normal file
|
|
@ -0,0 +1,184 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\approval;
|
||||||
|
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 审批发起事件
|
||||||
|
* 当企业触发审批流程时,通过该事件回调给业务系统,事件ID:approval-create
|
||||||
|
*/
|
||||||
|
class ApprovalCreateMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openCorpId;
|
||||||
|
public $approvalType;
|
||||||
|
public $templateId;
|
||||||
|
public $signTaskId;
|
||||||
|
public $approvalId;
|
||||||
|
public $approvalStatus;
|
||||||
|
public $oprMemberId;
|
||||||
|
public $oprMemberName;
|
||||||
|
public $nextNodeMemberIds;
|
||||||
|
public $clientUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpId
|
||||||
|
*/
|
||||||
|
public function setOpenCorpId($openCorpId)
|
||||||
|
{
|
||||||
|
$this->openCorpId = $openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getApprovalType()
|
||||||
|
{
|
||||||
|
return $this->approvalType;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $approvalType
|
||||||
|
*/
|
||||||
|
public function setApprovalType($approvalType)
|
||||||
|
{
|
||||||
|
$this->approvalType = $approvalType;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getTemplateId()
|
||||||
|
{
|
||||||
|
return $this->templateId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $templateId
|
||||||
|
*/
|
||||||
|
public function setTemplateId($templateId)
|
||||||
|
{
|
||||||
|
$this->templateId = $templateId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignTaskId()
|
||||||
|
{
|
||||||
|
return $this->signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signTaskId
|
||||||
|
*/
|
||||||
|
public function setSignTaskId($signTaskId)
|
||||||
|
{
|
||||||
|
$this->signTaskId = $signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getApprovalId()
|
||||||
|
{
|
||||||
|
return $this->approvalId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $approvalId
|
||||||
|
*/
|
||||||
|
public function setApprovalId($approvalId)
|
||||||
|
{
|
||||||
|
$this->approvalId = $approvalId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getApprovalStatus()
|
||||||
|
{
|
||||||
|
return $this->approvalStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $approvalStatus
|
||||||
|
*/
|
||||||
|
public function setApprovalStatus($approvalStatus)
|
||||||
|
{
|
||||||
|
$this->approvalStatus = $approvalStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOprMemberId()
|
||||||
|
{
|
||||||
|
return $this->oprMemberId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $oprMemberId
|
||||||
|
*/
|
||||||
|
public function setOprMemberId($oprMemberId)
|
||||||
|
{
|
||||||
|
$this->oprMemberId = $oprMemberId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOprMemberName()
|
||||||
|
{
|
||||||
|
return $this->oprMemberName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $oprMemberName
|
||||||
|
*/
|
||||||
|
public function setOprMemberName($oprMemberName)
|
||||||
|
{
|
||||||
|
$this->oprMemberName = $oprMemberName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getNextNodeMemberIds()
|
||||||
|
{
|
||||||
|
return $this->nextNodeMemberIds;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $nextNodeMemberIds
|
||||||
|
*/
|
||||||
|
public function setNextNodeMemberIds($nextNodeMemberIds)
|
||||||
|
{
|
||||||
|
$this->nextNodeMemberIds = $nextNodeMemberIds;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientUserId()
|
||||||
|
{
|
||||||
|
return $this->clientUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientUserId
|
||||||
|
*/
|
||||||
|
public function setClientUserId($clientUserId)
|
||||||
|
{
|
||||||
|
$this->clientUserId = $clientUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
101
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/archives/PerformanceRemindMessage.php
vendored
Normal file
101
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/archives/PerformanceRemindMessage.php
vendored
Normal file
|
|
@ -0,0 +1,101 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\archives;
|
||||||
|
|
||||||
|
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 履约提醒事件
|
||||||
|
* 当有触发履约提醒时,通过该事件回调给业务系统,事件ID:performance-remind
|
||||||
|
*/
|
||||||
|
class PerformanceRemindMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openCorpId;
|
||||||
|
public $archivesId;
|
||||||
|
public $performanceId;
|
||||||
|
public $performanceType;
|
||||||
|
public $reminder;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpId
|
||||||
|
*/
|
||||||
|
public function setOpenCorpId($openCorpId)
|
||||||
|
{
|
||||||
|
$this->openCorpId = $openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getArchivesId()
|
||||||
|
{
|
||||||
|
return $this->archivesId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $archivesId
|
||||||
|
*/
|
||||||
|
public function setArchivesId($archivesId)
|
||||||
|
{
|
||||||
|
$this->archivesId = $archivesId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getPerformanceId()
|
||||||
|
{
|
||||||
|
return $this->performanceId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $performanceId
|
||||||
|
*/
|
||||||
|
public function setPerformanceId($performanceId)
|
||||||
|
{
|
||||||
|
$this->performanceId = $performanceId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getPerformanceType()
|
||||||
|
{
|
||||||
|
return $this->performanceType;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $performanceType
|
||||||
|
*/
|
||||||
|
public function setPerformanceType($performanceType)
|
||||||
|
{
|
||||||
|
$this->performanceType = $performanceType;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getReminder()
|
||||||
|
{
|
||||||
|
return $this->reminder;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $reminder
|
||||||
|
*/
|
||||||
|
public function setReminder($reminder)
|
||||||
|
{
|
||||||
|
$this->reminder = $reminder;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
202
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/authorize/CorpAuthorizeMessage.php
vendored
Normal file
202
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/authorize/CorpAuthorizeMessage.php
vendored
Normal file
|
|
@ -0,0 +1,202 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\authorize;
|
||||||
|
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 企业用户授权事件
|
||||||
|
* 企业授权操作的反馈事件,企业用户授权允许后,通过该事件回调给应用,事件ID: corp-authorize
|
||||||
|
*/
|
||||||
|
class CorpAuthorizeMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $clientUserId;
|
||||||
|
public $clientCorpId;
|
||||||
|
public $openCorpId;
|
||||||
|
public $existClientCorpId;
|
||||||
|
public $existOpenCorpId;
|
||||||
|
public $authResult;
|
||||||
|
public $authFailedReason;
|
||||||
|
public $authScope;
|
||||||
|
public $corpIdentProcessStatus;
|
||||||
|
public $corpIdentFailedReason;
|
||||||
|
public $corpIdentMethod;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientUserId()
|
||||||
|
{
|
||||||
|
return $this->clientUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientUserId
|
||||||
|
*/
|
||||||
|
public function setClientUserId($clientUserId)
|
||||||
|
{
|
||||||
|
$this->clientUserId = $clientUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientCorpId()
|
||||||
|
{
|
||||||
|
return $this->clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientCorpId
|
||||||
|
*/
|
||||||
|
public function setClientCorpId($clientCorpId)
|
||||||
|
{
|
||||||
|
$this->clientCorpId = $clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpId
|
||||||
|
*/
|
||||||
|
public function setOpenCorpId($openCorpId)
|
||||||
|
{
|
||||||
|
$this->openCorpId = $openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getExistClientCorpId()
|
||||||
|
{
|
||||||
|
return $this->existClientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $existClientCorpId
|
||||||
|
*/
|
||||||
|
public function setExistClientCorpId($existClientCorpId)
|
||||||
|
{
|
||||||
|
$this->existClientCorpId = $existClientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getExistOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->existOpenCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $existOpenCorpId
|
||||||
|
*/
|
||||||
|
public function setExistOpenCorpId($existOpenCorpId)
|
||||||
|
{
|
||||||
|
$this->existOpenCorpId = $existOpenCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getAuthResult()
|
||||||
|
{
|
||||||
|
return $this->authResult;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $authResult
|
||||||
|
*/
|
||||||
|
public function setAuthResult($authResult)
|
||||||
|
{
|
||||||
|
$this->authResult = $authResult;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getAuthFailedReason()
|
||||||
|
{
|
||||||
|
return $this->authFailedReason;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $authFailedReason
|
||||||
|
*/
|
||||||
|
public function setAuthFailedReason($authFailedReason)
|
||||||
|
{
|
||||||
|
$this->authFailedReason = $authFailedReason;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getAuthScope()
|
||||||
|
{
|
||||||
|
return $this->authScope;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $authScope
|
||||||
|
*/
|
||||||
|
public function setAuthScope($authScope)
|
||||||
|
{
|
||||||
|
$this->authScope = $authScope;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getCorpIdentProcessStatus()
|
||||||
|
{
|
||||||
|
return $this->corpIdentProcessStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $corpIdentProcessStatus
|
||||||
|
*/
|
||||||
|
public function setCorpIdentProcessStatus($corpIdentProcessStatus)
|
||||||
|
{
|
||||||
|
$this->corpIdentProcessStatus = $corpIdentProcessStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getCorpIdentFailedReason()
|
||||||
|
{
|
||||||
|
return $this->corpIdentFailedReason;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $corpIdentFailedReason
|
||||||
|
*/
|
||||||
|
public function setCorpIdentFailedReason($corpIdentFailedReason)
|
||||||
|
{
|
||||||
|
$this->corpIdentFailedReason = $corpIdentFailedReason;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getCorpIdentMethod()
|
||||||
|
{
|
||||||
|
return $this->corpIdentMethod;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $corpIdentMethod
|
||||||
|
*/
|
||||||
|
public function setCorpIdentMethod($corpIdentMethod)
|
||||||
|
{
|
||||||
|
$this->corpIdentMethod = $corpIdentMethod;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,50 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\authorize;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 企业用户解除授权事件
|
||||||
|
* 用户取消授权后,通过该事件回调给应用系统,事件ID corp-cancel-authorization
|
||||||
|
*/
|
||||||
|
class CorpCancelAuthorizationMessage extends MessageBase
|
||||||
|
{
|
||||||
|
|
||||||
|
public $clientUserId;
|
||||||
|
|
||||||
|
public $openCorpId;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientUserId()
|
||||||
|
{
|
||||||
|
return $this->clientUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientUserId
|
||||||
|
*/
|
||||||
|
public function setClientUserId($clientUserId)
|
||||||
|
{
|
||||||
|
$this->clientUserId = $clientUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpId
|
||||||
|
*/
|
||||||
|
public function setOpenCorpId($openCorpId)
|
||||||
|
{
|
||||||
|
$this->openCorpId = $openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
149
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/authorize/UserAuthorizeMessage.php
vendored
Normal file
149
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/authorize/UserAuthorizeMessage.php
vendored
Normal file
|
|
@ -0,0 +1,149 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\authorize;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 个人用户授权事件
|
||||||
|
* 用户授权操作的反馈事件,用户授权允许、不允许或身份信息匹配失败后,通过该事件回调给应用系统,事件ID user-authorize
|
||||||
|
*/
|
||||||
|
class UserAuthorizeMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $clientUserId;
|
||||||
|
public $openUserId;
|
||||||
|
public $authResult;
|
||||||
|
public $authFailedReason;
|
||||||
|
public $authScope;
|
||||||
|
public $identProcessStatus;
|
||||||
|
public $identFailedReason;
|
||||||
|
public $identMethod;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientUserId()
|
||||||
|
{
|
||||||
|
return $this->clientUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientUserId
|
||||||
|
*/
|
||||||
|
public function setClientUserId($clientUserId)
|
||||||
|
{
|
||||||
|
$this->clientUserId = $clientUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenUserId()
|
||||||
|
{
|
||||||
|
return $this->openUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openUserId
|
||||||
|
*/
|
||||||
|
public function setOpenUserId($openUserId)
|
||||||
|
{
|
||||||
|
$this->openUserId = $openUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getAuthResult()
|
||||||
|
{
|
||||||
|
return $this->authResult;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $authResult
|
||||||
|
*/
|
||||||
|
public function setAuthResult($authResult)
|
||||||
|
{
|
||||||
|
$this->authResult = $authResult;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getAuthFailedReason()
|
||||||
|
{
|
||||||
|
return $this->authFailedReason;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $authFailedReason
|
||||||
|
*/
|
||||||
|
public function setAuthFailedReason($authFailedReason)
|
||||||
|
{
|
||||||
|
$this->authFailedReason = $authFailedReason;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getAuthScope()
|
||||||
|
{
|
||||||
|
return $this->authScope;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $authScope
|
||||||
|
*/
|
||||||
|
public function setAuthScope($authScope)
|
||||||
|
{
|
||||||
|
$this->authScope = $authScope;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getIdentProcessStatus()
|
||||||
|
{
|
||||||
|
return $this->identProcessStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $identProcessStatus
|
||||||
|
*/
|
||||||
|
public function setIdentProcessStatus($identProcessStatus)
|
||||||
|
{
|
||||||
|
$this->identProcessStatus = $identProcessStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getIdentFailedReason()
|
||||||
|
{
|
||||||
|
return $this->identFailedReason;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $identFailedReason
|
||||||
|
*/
|
||||||
|
public function setIdentFailedReason($identFailedReason)
|
||||||
|
{
|
||||||
|
$this->identFailedReason = $identFailedReason;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getIdentMethod()
|
||||||
|
{
|
||||||
|
return $this->identMethod;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $identMethod
|
||||||
|
*/
|
||||||
|
public function setIdentMethod($identMethod)
|
||||||
|
{
|
||||||
|
$this->identMethod = $identMethod;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,50 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\authorize;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 个人用户解除授权事件
|
||||||
|
* 用户取消授权后,通过该事件回调给应用系统,事件ID user-cancel-authorization
|
||||||
|
*/
|
||||||
|
class UserCancelAuthorizationMessage extends MessageBase
|
||||||
|
{
|
||||||
|
|
||||||
|
public $clientUserId;
|
||||||
|
|
||||||
|
public $openUserId;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientUserId()
|
||||||
|
{
|
||||||
|
return $this->clientUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientUserId
|
||||||
|
*/
|
||||||
|
public function setClientUserId($clientUserId)
|
||||||
|
{
|
||||||
|
$this->clientUserId = $clientUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenUserId()
|
||||||
|
{
|
||||||
|
return $this->openUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openUserId
|
||||||
|
*/
|
||||||
|
public function setOpenUserId($openUserId)
|
||||||
|
{
|
||||||
|
$this->openUserId = $openUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,141 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\authorize;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 个人四要素校验事件
|
||||||
|
* 用户进行四要素校验后,通过该事件回调给应用系统,事件ID user-four-element-verify
|
||||||
|
*/
|
||||||
|
class UserFourElementVerifyMessage extends MessageBase
|
||||||
|
{
|
||||||
|
|
||||||
|
public $clientUserId;
|
||||||
|
|
||||||
|
public $verifyResult;
|
||||||
|
|
||||||
|
public $userName;
|
||||||
|
|
||||||
|
public $userIdentNo;
|
||||||
|
|
||||||
|
public $bankAccountNo;
|
||||||
|
|
||||||
|
public $mobile;
|
||||||
|
|
||||||
|
public $verifyId;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientUserId()
|
||||||
|
{
|
||||||
|
return $this->clientUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientUserId
|
||||||
|
*/
|
||||||
|
public function setClientUserId($clientUserId)
|
||||||
|
{
|
||||||
|
$this->clientUserId = $clientUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getVerifyResult()
|
||||||
|
{
|
||||||
|
return $this->verifyResult;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $verifyResult
|
||||||
|
*/
|
||||||
|
public function setVerifyResult($verifyResult)
|
||||||
|
{
|
||||||
|
$this->verifyResult = $verifyResult;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getUserName()
|
||||||
|
{
|
||||||
|
return $this->userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $userName
|
||||||
|
*/
|
||||||
|
public function setUserName($userName)
|
||||||
|
{
|
||||||
|
$this->userName = $userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getUserIdentNo()
|
||||||
|
{
|
||||||
|
return $this->userIdentNo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $userIdentNo
|
||||||
|
*/
|
||||||
|
public function setUserIdentNo($userIdentNo)
|
||||||
|
{
|
||||||
|
$this->userIdentNo = $userIdentNo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getBankAccountNo()
|
||||||
|
{
|
||||||
|
return $this->bankAccountNo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $bankAccountNo
|
||||||
|
*/
|
||||||
|
public function setBankAccountNo($bankAccountNo)
|
||||||
|
{
|
||||||
|
$this->bankAccountNo = $bankAccountNo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getMobile()
|
||||||
|
{
|
||||||
|
return $this->mobile;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $mobile
|
||||||
|
*/
|
||||||
|
public function setMobile($mobile)
|
||||||
|
{
|
||||||
|
$this->mobile = $mobile;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getVerifyId()
|
||||||
|
{
|
||||||
|
return $this->verifyId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $verifyId
|
||||||
|
*/
|
||||||
|
public function setVerifyId($verifyId)
|
||||||
|
{
|
||||||
|
$this->verifyId = $verifyId;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,122 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\authorize;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 个人三要素校验事件
|
||||||
|
* 用户进行三要素校验后,通过该事件回调给应用系统,事件ID user-three-element-verify
|
||||||
|
*/
|
||||||
|
class UserThreeElementVerifyMessage extends MessageBase
|
||||||
|
{
|
||||||
|
|
||||||
|
public $clientUserId;
|
||||||
|
|
||||||
|
public $verifyResult;
|
||||||
|
|
||||||
|
public $userName;
|
||||||
|
|
||||||
|
public $userIdentNo;
|
||||||
|
|
||||||
|
public $mobile;
|
||||||
|
|
||||||
|
public $verifyId;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientUserId()
|
||||||
|
{
|
||||||
|
return $this->clientUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientUserId
|
||||||
|
*/
|
||||||
|
public function setClientUserId($clientUserId)
|
||||||
|
{
|
||||||
|
$this->clientUserId = $clientUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getVerifyResult()
|
||||||
|
{
|
||||||
|
return $this->verifyResult;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $verifyResult
|
||||||
|
*/
|
||||||
|
public function setVerifyResult($verifyResult)
|
||||||
|
{
|
||||||
|
$this->verifyResult = $verifyResult;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getUserName()
|
||||||
|
{
|
||||||
|
return $this->userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $userName
|
||||||
|
*/
|
||||||
|
public function setUserName($userName)
|
||||||
|
{
|
||||||
|
$this->userName = $userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getUserIdentNo()
|
||||||
|
{
|
||||||
|
return $this->userIdentNo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $userIdentNo
|
||||||
|
*/
|
||||||
|
public function setUserIdentNo($userIdentNo)
|
||||||
|
{
|
||||||
|
$this->userIdentNo = $userIdentNo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getMobile()
|
||||||
|
{
|
||||||
|
return $this->mobile;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $mobile
|
||||||
|
*/
|
||||||
|
public function setMobile($mobile)
|
||||||
|
{
|
||||||
|
$this->mobile = $mobile;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getVerifyId()
|
||||||
|
{
|
||||||
|
return $this->verifyId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $verifyId
|
||||||
|
*/
|
||||||
|
public function setVerifyId($verifyId)
|
||||||
|
{
|
||||||
|
$this->verifyId = $verifyId;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
118
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/bill/BillMessage.php
vendored
Normal file
118
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/bill/BillMessage.php
vendored
Normal file
|
|
@ -0,0 +1,118 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\bill;
|
||||||
|
|
||||||
|
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 订单支付完成回调事件
|
||||||
|
* 用户在订购页下单并完成支付时,通过该事件回调给应用系统,事件ID billing-order-payed
|
||||||
|
*/
|
||||||
|
class BillMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openCorpId;
|
||||||
|
public $orderNumber;
|
||||||
|
public $idType;
|
||||||
|
public $openId;
|
||||||
|
public $clientId;
|
||||||
|
public $userName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpId
|
||||||
|
*/
|
||||||
|
public function setOpenCorpId($openCorpId)
|
||||||
|
{
|
||||||
|
$this->openCorpId = $openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOrderNumber()
|
||||||
|
{
|
||||||
|
return $this->orderNumber;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $orderNumber
|
||||||
|
*/
|
||||||
|
public function setOrderNumber($orderNumber)
|
||||||
|
{
|
||||||
|
$this->orderNumber = $orderNumber;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getIdType()
|
||||||
|
{
|
||||||
|
return $this->idType;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $idType
|
||||||
|
*/
|
||||||
|
public function setIdType($idType)
|
||||||
|
{
|
||||||
|
$this->idType = $idType;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenId()
|
||||||
|
{
|
||||||
|
return $this->openId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openId
|
||||||
|
*/
|
||||||
|
public function setOpenId($openId)
|
||||||
|
{
|
||||||
|
$this->openId = $openId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientId()
|
||||||
|
{
|
||||||
|
return $this->clientId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientId
|
||||||
|
*/
|
||||||
|
public function setClientId($clientId)
|
||||||
|
{
|
||||||
|
$this->clientId = $clientId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getUserName()
|
||||||
|
{
|
||||||
|
return $this->userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $userName
|
||||||
|
*/
|
||||||
|
public function setUserName($userName)
|
||||||
|
{
|
||||||
|
$this->userName = $userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,66 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\department;
|
||||||
|
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 部门创建事件
|
||||||
|
* 企业用户在组织管理创建部门,通过该事件回调给应用,事件ID: organization-dept-create
|
||||||
|
*
|
||||||
|
* 接收到事件后可以通过【查询部门详情】接口获取具体的部门详情
|
||||||
|
*/
|
||||||
|
class OrganizationDeptCreateMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openCorpId;
|
||||||
|
public $deptId;
|
||||||
|
public $clientCorpId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpId
|
||||||
|
*/
|
||||||
|
public function setOpenCorpId($openCorpId)
|
||||||
|
{
|
||||||
|
$this->openCorpId = $openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getDeptId()
|
||||||
|
{
|
||||||
|
return $this->deptId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $deptId
|
||||||
|
*/
|
||||||
|
public function setDeptId($deptId)
|
||||||
|
{
|
||||||
|
$this->deptId = $deptId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientCorpId()
|
||||||
|
{
|
||||||
|
return $this->clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientCorpId
|
||||||
|
*/
|
||||||
|
public function setClientCorpId($clientCorpId)
|
||||||
|
{
|
||||||
|
$this->clientCorpId = $clientCorpId;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,63 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\department;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 部门删除事件
|
||||||
|
* 企业用户在组织管理删除部门,通过该事件回调给应用,事件ID: organization-dept-delete
|
||||||
|
*/
|
||||||
|
class OrganizationDeptDeleteMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openCorpId;
|
||||||
|
public $deptId;
|
||||||
|
public $clientCorpId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpId
|
||||||
|
*/
|
||||||
|
public function setOpenCorpId($openCorpId)
|
||||||
|
{
|
||||||
|
$this->openCorpId = $openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getDeptId()
|
||||||
|
{
|
||||||
|
return $this->deptId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $deptId
|
||||||
|
*/
|
||||||
|
public function setDeptId($deptId)
|
||||||
|
{
|
||||||
|
$this->deptId = $deptId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientCorpId()
|
||||||
|
{
|
||||||
|
return $this->clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientCorpId
|
||||||
|
*/
|
||||||
|
public function setClientCorpId($clientCorpId)
|
||||||
|
{
|
||||||
|
$this->clientCorpId = $clientCorpId;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,66 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\department;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 部门信息修改事件
|
||||||
|
* 企业用户在组织管理修改部门基本信息,通过该事件回调给应用,事件ID: organization-dept-modify
|
||||||
|
*
|
||||||
|
* 接收到事件后可以通过 【查询部门详情】 接口获取具体的部门详情
|
||||||
|
*/
|
||||||
|
class OrganizationDeptModifyMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openCorpId;
|
||||||
|
public $deptId;
|
||||||
|
public $clientCorpId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpId
|
||||||
|
*/
|
||||||
|
public function setOpenCorpId($openCorpId)
|
||||||
|
{
|
||||||
|
$this->openCorpId = $openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getDeptId()
|
||||||
|
{
|
||||||
|
return $this->deptId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $deptId
|
||||||
|
*/
|
||||||
|
public function setDeptId($deptId)
|
||||||
|
{
|
||||||
|
$this->deptId = $deptId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientCorpId()
|
||||||
|
{
|
||||||
|
return $this->clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientCorpId
|
||||||
|
*/
|
||||||
|
public function setClientCorpId($clientCorpId)
|
||||||
|
{
|
||||||
|
$this->clientCorpId = $clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
110
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/draft/DraftContractConsultedMessage.php
vendored
Normal file
110
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/draft/DraftContractConsultedMessage.php
vendored
Normal file
|
|
@ -0,0 +1,110 @@
|
||||||
|
<?php
|
||||||
|
namespace FddCloud\bean\message\draft;
|
||||||
|
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
class DraftContractConsultedMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $contractConsultId;
|
||||||
|
public $contractStatus;
|
||||||
|
public $userName;
|
||||||
|
public $memberId;
|
||||||
|
public $corpName;
|
||||||
|
public $openCorpid;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getContractConsultId()
|
||||||
|
{
|
||||||
|
return $this->contractConsultId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $contractConsultId
|
||||||
|
*/
|
||||||
|
public function setContractConsultId($contractConsultId)
|
||||||
|
{
|
||||||
|
$this->contractConsultId = $contractConsultId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getContractStatus()
|
||||||
|
{
|
||||||
|
return $this->contractStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $contractStatus
|
||||||
|
*/
|
||||||
|
public function setContractStatus($contractStatus)
|
||||||
|
{
|
||||||
|
$this->contractStatus = $contractStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getUserName()
|
||||||
|
{
|
||||||
|
return $this->userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $userName
|
||||||
|
*/
|
||||||
|
public function setUserName($userName)
|
||||||
|
{
|
||||||
|
$this->userName = $userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getMemberId()
|
||||||
|
{
|
||||||
|
return $this->memberId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $memberId
|
||||||
|
*/
|
||||||
|
public function setMemberId($memberId)
|
||||||
|
{
|
||||||
|
$this->memberId = $memberId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getCorpName()
|
||||||
|
{
|
||||||
|
return $this->corpName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $corpName
|
||||||
|
*/
|
||||||
|
public function setCorpName($corpName)
|
||||||
|
{
|
||||||
|
$this->corpName = $corpName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpid()
|
||||||
|
{
|
||||||
|
return $this->openCorpid;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpid
|
||||||
|
*/
|
||||||
|
public function setOpenCorpid($openCorpid)
|
||||||
|
{
|
||||||
|
$this->openCorpid = $openCorpid;
|
||||||
|
}
|
||||||
|
}
|
||||||
110
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/draft/DraftContractFinalizeMessage.php
vendored
Normal file
110
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/draft/DraftContractFinalizeMessage.php
vendored
Normal file
|
|
@ -0,0 +1,110 @@
|
||||||
|
<?php
|
||||||
|
namespace FddCloud\bean\message\draft;
|
||||||
|
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
class DraftContractFinalizeMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $contractConsultId;
|
||||||
|
public $contractStatus;
|
||||||
|
public $userName;
|
||||||
|
public $menberId;
|
||||||
|
public $corpName;
|
||||||
|
public $openCorpid;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getContractConsultId()
|
||||||
|
{
|
||||||
|
return $this->contractConsultId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $contractConsultId
|
||||||
|
*/
|
||||||
|
public function setContractConsultId($contractConsultId)
|
||||||
|
{
|
||||||
|
$this->contractConsultId = $contractConsultId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getContractStatus()
|
||||||
|
{
|
||||||
|
return $this->contractStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $contractStatus
|
||||||
|
*/
|
||||||
|
public function setContractStatus($contractStatus)
|
||||||
|
{
|
||||||
|
$this->contractStatus = $contractStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getUserName()
|
||||||
|
{
|
||||||
|
return $this->userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $userName
|
||||||
|
*/
|
||||||
|
public function setUserName($userName)
|
||||||
|
{
|
||||||
|
$this->userName = $userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getMenberId()
|
||||||
|
{
|
||||||
|
return $this->menberId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $menberId
|
||||||
|
*/
|
||||||
|
public function setMenberId($menberId)
|
||||||
|
{
|
||||||
|
$this->menberId = $menberId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getCorpName()
|
||||||
|
{
|
||||||
|
return $this->corpName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $corpName
|
||||||
|
*/
|
||||||
|
public function setCorpName($corpName)
|
||||||
|
{
|
||||||
|
$this->corpName = $corpName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpid()
|
||||||
|
{
|
||||||
|
return $this->openCorpid;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpid
|
||||||
|
*/
|
||||||
|
public function setOpenCorpid($openCorpid)
|
||||||
|
{
|
||||||
|
$this->openCorpid = $openCorpid;
|
||||||
|
}
|
||||||
|
}
|
||||||
111
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/draft/DraftContractJoinedMessage.php
vendored
Normal file
111
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/draft/DraftContractJoinedMessage.php
vendored
Normal file
|
|
@ -0,0 +1,111 @@
|
||||||
|
<?php
|
||||||
|
namespace FddCloud\bean\message\draft;
|
||||||
|
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
class DraftContractJoinedMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $contractConsultId;
|
||||||
|
public $contractStatus;
|
||||||
|
public $userName;
|
||||||
|
public $memberId;
|
||||||
|
public $corpName;
|
||||||
|
public $openCorpid;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getContractConsultId()
|
||||||
|
{
|
||||||
|
return $this->contractConsultId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $contractConsultId
|
||||||
|
*/
|
||||||
|
public function setContractConsultId($contractConsultId)
|
||||||
|
{
|
||||||
|
$this->contractConsultId = $contractConsultId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getContractStatus()
|
||||||
|
{
|
||||||
|
return $this->contractStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $contractStatus
|
||||||
|
*/
|
||||||
|
public function setContractStatus($contractStatus)
|
||||||
|
{
|
||||||
|
$this->contractStatus = $contractStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getUserName()
|
||||||
|
{
|
||||||
|
return $this->userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $userName
|
||||||
|
*/
|
||||||
|
public function setUserName($userName)
|
||||||
|
{
|
||||||
|
$this->userName = $userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getMemberId()
|
||||||
|
{
|
||||||
|
return $this->memberId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $memberId
|
||||||
|
*/
|
||||||
|
public function setMemberId($memberId)
|
||||||
|
{
|
||||||
|
$this->memberId = $memberId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getCorpName()
|
||||||
|
{
|
||||||
|
return $this->corpName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $corpName
|
||||||
|
*/
|
||||||
|
public function setCorpName($corpName)
|
||||||
|
{
|
||||||
|
$this->corpName = $corpName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpid()
|
||||||
|
{
|
||||||
|
return $this->openCorpid;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpid
|
||||||
|
*/
|
||||||
|
public function setOpenCorpid($openCorpid)
|
||||||
|
{
|
||||||
|
$this->openCorpid = $openCorpid;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,85 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\entityManage;
|
||||||
|
|
||||||
|
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 成员企业管理事件
|
||||||
|
* 企业用户添加/删除了成员企业,或成员企业完成了授权,通过该事件回调给应用,事件ID: entity-manage
|
||||||
|
*/
|
||||||
|
class EntityManageMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openCorpId;
|
||||||
|
public $entityId;
|
||||||
|
public $clientCorpId;
|
||||||
|
public $manageType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpId
|
||||||
|
*/
|
||||||
|
public function setOpenCorpId($openCorpId)
|
||||||
|
{
|
||||||
|
$this->openCorpId = $openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getEntityId()
|
||||||
|
{
|
||||||
|
return $this->entityId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $entityId
|
||||||
|
*/
|
||||||
|
public function setEntityId($entityId)
|
||||||
|
{
|
||||||
|
$this->entityId = $entityId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientCorpId()
|
||||||
|
{
|
||||||
|
return $this->clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientCorpId
|
||||||
|
*/
|
||||||
|
public function setClientCorpId($clientCorpId)
|
||||||
|
{
|
||||||
|
$this->clientCorpId = $clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getManageType()
|
||||||
|
{
|
||||||
|
return $this->manageType;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $manageType
|
||||||
|
*/
|
||||||
|
public function setManageType($manageType)
|
||||||
|
{
|
||||||
|
$this->manageType = $manageType;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,153 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\faceRecognition;
|
||||||
|
|
||||||
|
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* (人脸核身)个人身份核验
|
||||||
|
* 当用户完成刷脸操作时,通过该事件回调给业务系统,事件ID:face-recognition
|
||||||
|
*/
|
||||||
|
class FaceRecognitionMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $userName;
|
||||||
|
public $userIdentNo;
|
||||||
|
public $faceauthMode;
|
||||||
|
public $resultStatus;
|
||||||
|
public $resultTime;
|
||||||
|
public $failedReason;
|
||||||
|
public $urlStatus;
|
||||||
|
public $createSerialNo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getUserName()
|
||||||
|
{
|
||||||
|
return $this->userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $userName
|
||||||
|
*/
|
||||||
|
public function setUserName($userName)
|
||||||
|
{
|
||||||
|
$this->userName = $userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getUserIdentNo()
|
||||||
|
{
|
||||||
|
return $this->userIdentNo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $userIdentNo
|
||||||
|
*/
|
||||||
|
public function setUserIdentNo($userIdentNo)
|
||||||
|
{
|
||||||
|
$this->userIdentNo = $userIdentNo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getFaceauthMode()
|
||||||
|
{
|
||||||
|
return $this->faceauthMode;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $faceauthMode
|
||||||
|
*/
|
||||||
|
public function setFaceauthMode($faceauthMode)
|
||||||
|
{
|
||||||
|
$this->faceauthMode = $faceauthMode;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getResultStatus()
|
||||||
|
{
|
||||||
|
return $this->resultStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $resultStatus
|
||||||
|
*/
|
||||||
|
public function setResultStatus($resultStatus)
|
||||||
|
{
|
||||||
|
$this->resultStatus = $resultStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getResultTime()
|
||||||
|
{
|
||||||
|
return $this->resultTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $resultTime
|
||||||
|
*/
|
||||||
|
public function setResultTime($resultTime)
|
||||||
|
{
|
||||||
|
$this->resultTime = $resultTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getFailedReason()
|
||||||
|
{
|
||||||
|
return $this->failedReason;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $failedReason
|
||||||
|
*/
|
||||||
|
public function setFailedReason($failedReason)
|
||||||
|
{
|
||||||
|
$this->failedReason = $failedReason;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getUrlStatus()
|
||||||
|
{
|
||||||
|
return $this->urlStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $urlStatus
|
||||||
|
*/
|
||||||
|
public function setUrlStatus($urlStatus)
|
||||||
|
{
|
||||||
|
$this->urlStatus = $urlStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getCreateSerialNo()
|
||||||
|
{
|
||||||
|
return $this->createSerialNo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $createSerialNo
|
||||||
|
*/
|
||||||
|
public function setCreateSerialNo($createSerialNo)
|
||||||
|
{
|
||||||
|
$this->createSerialNo = $createSerialNo;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,136 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\identity;
|
||||||
|
|
||||||
|
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 个人四要素校验事件
|
||||||
|
* 用户进行四要素校验后,通过该事件回调给应用系统,事件ID user-four-element-verify
|
||||||
|
*/
|
||||||
|
class UserFourElementVerifyMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $clientUserId;
|
||||||
|
public $verifyResult;
|
||||||
|
public $userName;
|
||||||
|
public $userIdentNo;
|
||||||
|
public $bankAccountNo;
|
||||||
|
public $mobile;
|
||||||
|
public $verifyId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientUserId()
|
||||||
|
{
|
||||||
|
return $this->clientUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientUserId
|
||||||
|
*/
|
||||||
|
public function setClientUserId($clientUserId)
|
||||||
|
{
|
||||||
|
$this->clientUserId = $clientUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getVerifyResult()
|
||||||
|
{
|
||||||
|
return $this->verifyResult;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $verifyResult
|
||||||
|
*/
|
||||||
|
public function setVerifyResult($verifyResult)
|
||||||
|
{
|
||||||
|
$this->verifyResult = $verifyResult;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getUserName()
|
||||||
|
{
|
||||||
|
return $this->userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $userName
|
||||||
|
*/
|
||||||
|
public function setUserName($userName)
|
||||||
|
{
|
||||||
|
$this->userName = $userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getUserIdentNo()
|
||||||
|
{
|
||||||
|
return $this->userIdentNo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $userIdentNo
|
||||||
|
*/
|
||||||
|
public function setUserIdentNo($userIdentNo)
|
||||||
|
{
|
||||||
|
$this->userIdentNo = $userIdentNo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getBankAccountNo()
|
||||||
|
{
|
||||||
|
return $this->bankAccountNo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $bankAccountNo
|
||||||
|
*/
|
||||||
|
public function setBankAccountNo($bankAccountNo)
|
||||||
|
{
|
||||||
|
$this->bankAccountNo = $bankAccountNo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getMobile()
|
||||||
|
{
|
||||||
|
return $this->mobile;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $mobile
|
||||||
|
*/
|
||||||
|
public function setMobile($mobile)
|
||||||
|
{
|
||||||
|
$this->mobile = $mobile;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getVerifyId()
|
||||||
|
{
|
||||||
|
return $this->verifyId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $verifyId
|
||||||
|
*/
|
||||||
|
public function setVerifyId($verifyId)
|
||||||
|
{
|
||||||
|
$this->verifyId = $verifyId;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,119 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\identity;
|
||||||
|
|
||||||
|
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 个人三要素校验事件
|
||||||
|
* 用户进行三要素校验后,通过该事件回调给应用系统,事件ID user-three-element-verify
|
||||||
|
*/
|
||||||
|
class UserThreeElementVerifyMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $clientUserId;
|
||||||
|
public $verifyResult;
|
||||||
|
public $userName;
|
||||||
|
public $userIdentNo;
|
||||||
|
public $mobile;
|
||||||
|
public $verifyId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientUserId()
|
||||||
|
{
|
||||||
|
return $this->clientUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientUserId
|
||||||
|
*/
|
||||||
|
public function setClientUserId($clientUserId)
|
||||||
|
{
|
||||||
|
$this->clientUserId = $clientUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getVerifyResult()
|
||||||
|
{
|
||||||
|
return $this->verifyResult;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $verifyResult
|
||||||
|
*/
|
||||||
|
public function setVerifyResult($verifyResult)
|
||||||
|
{
|
||||||
|
$this->verifyResult = $verifyResult;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getUserName()
|
||||||
|
{
|
||||||
|
return $this->userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $userName
|
||||||
|
*/
|
||||||
|
public function setUserName($userName)
|
||||||
|
{
|
||||||
|
$this->userName = $userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getUserIdentNo()
|
||||||
|
{
|
||||||
|
return $this->userIdentNo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $userIdentNo
|
||||||
|
*/
|
||||||
|
public function setUserIdentNo($userIdentNo)
|
||||||
|
{
|
||||||
|
$this->userIdentNo = $userIdentNo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getMobile()
|
||||||
|
{
|
||||||
|
return $this->mobile;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $mobile
|
||||||
|
*/
|
||||||
|
public function setMobile($mobile)
|
||||||
|
{
|
||||||
|
$this->mobile = $mobile;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getVerifyId()
|
||||||
|
{
|
||||||
|
return $this->verifyId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $verifyId
|
||||||
|
*/
|
||||||
|
public function setVerifyId($verifyId)
|
||||||
|
{
|
||||||
|
$this->verifyId = $verifyId;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
63
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/member/OrgMemberActiveMessage.php
vendored
Normal file
63
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/member/OrgMemberActiveMessage.php
vendored
Normal file
|
|
@ -0,0 +1,63 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\member;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 成员激活事件
|
||||||
|
* 企业用户组织管理中的成员激活,通过该事件回调给应用,事件ID: organization-member-active
|
||||||
|
*/
|
||||||
|
class OrgMemberActiveMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openCorpId;
|
||||||
|
public $memberId;
|
||||||
|
public $clientCorpId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpId
|
||||||
|
*/
|
||||||
|
public function setOpenCorpId($openCorpId)
|
||||||
|
{
|
||||||
|
$this->openCorpId = $openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getMemberId()
|
||||||
|
{
|
||||||
|
return $this->memberId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $memberId
|
||||||
|
*/
|
||||||
|
public function setMemberId($memberId)
|
||||||
|
{
|
||||||
|
$this->memberId = $memberId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientCorpId()
|
||||||
|
{
|
||||||
|
return $this->clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientCorpId
|
||||||
|
*/
|
||||||
|
public function setClientCorpId($clientCorpId)
|
||||||
|
{
|
||||||
|
$this->clientCorpId = $clientCorpId;
|
||||||
|
}
|
||||||
|
}
|
||||||
65
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/member/OrgMemberCreateMessage.php
vendored
Normal file
65
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/member/OrgMemberCreateMessage.php
vendored
Normal file
|
|
@ -0,0 +1,65 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\member;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 成员创建事件
|
||||||
|
* 企业用户在组织管理创建成员,通过该事件回调给应用,事件ID: organization-member-create
|
||||||
|
*
|
||||||
|
* 接收到事件后可以通过【查询成员详情】接口获取具体的成员详情
|
||||||
|
*/
|
||||||
|
class OrgMemberCreateMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openCorpId;
|
||||||
|
public $memberId;
|
||||||
|
public $clientCorpId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpId
|
||||||
|
*/
|
||||||
|
public function setOpenCorpId($openCorpId)
|
||||||
|
{
|
||||||
|
$this->openCorpId = $openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getMemberId()
|
||||||
|
{
|
||||||
|
return $this->memberId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $memberId
|
||||||
|
*/
|
||||||
|
public function setMemberId($memberId)
|
||||||
|
{
|
||||||
|
$this->memberId = $memberId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientCorpId()
|
||||||
|
{
|
||||||
|
return $this->clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientCorpId
|
||||||
|
*/
|
||||||
|
public function setClientCorpId($clientCorpId)
|
||||||
|
{
|
||||||
|
$this->clientCorpId = $clientCorpId;
|
||||||
|
}
|
||||||
|
}
|
||||||
64
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/member/OrgMemberDeleteMessage.php
vendored
Normal file
64
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/member/OrgMemberDeleteMessage.php
vendored
Normal file
|
|
@ -0,0 +1,64 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\member;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 成员删除事件
|
||||||
|
* 企业用户在组织管理删除成员,通过该事件回调给应用,事件ID: organization-member-delete
|
||||||
|
*/
|
||||||
|
class OrgMemberDeleteMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openCorpId;
|
||||||
|
public $memberId;
|
||||||
|
public $clientCorpId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpId
|
||||||
|
*/
|
||||||
|
public function setOpenCorpId($openCorpId)
|
||||||
|
{
|
||||||
|
$this->openCorpId = $openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getMemberId()
|
||||||
|
{
|
||||||
|
return $this->memberId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $memberId
|
||||||
|
*/
|
||||||
|
public function setMemberId($memberId)
|
||||||
|
{
|
||||||
|
$this->memberId = $memberId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientCorpId()
|
||||||
|
{
|
||||||
|
return $this->clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientCorpId
|
||||||
|
*/
|
||||||
|
public function setClientCorpId($clientCorpId)
|
||||||
|
{
|
||||||
|
$this->clientCorpId = $clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
64
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/member/OrgMemberDisableMessage.php
vendored
Normal file
64
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/member/OrgMemberDisableMessage.php
vendored
Normal file
|
|
@ -0,0 +1,64 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\member;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 成员禁用事件
|
||||||
|
* 企业用户在组织管理禁用成员,通过该事件回调给应用,事件ID: organization-member-disable
|
||||||
|
*/
|
||||||
|
class OrgMemberDisableMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openCorpId;
|
||||||
|
public $memberId;
|
||||||
|
public $clientCorpId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpId
|
||||||
|
*/
|
||||||
|
public function setOpenCorpId($openCorpId)
|
||||||
|
{
|
||||||
|
$this->openCorpId = $openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getMemberId()
|
||||||
|
{
|
||||||
|
return $this->memberId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $memberId
|
||||||
|
*/
|
||||||
|
public function setMemberId($memberId)
|
||||||
|
{
|
||||||
|
$this->memberId = $memberId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientCorpId()
|
||||||
|
{
|
||||||
|
return $this->clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientCorpId
|
||||||
|
*/
|
||||||
|
public function setClientCorpId($clientCorpId)
|
||||||
|
{
|
||||||
|
$this->clientCorpId = $clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
64
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/member/OrgMemberEnableMessage.php
vendored
Normal file
64
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/member/OrgMemberEnableMessage.php
vendored
Normal file
|
|
@ -0,0 +1,64 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\member;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 成员启用事件
|
||||||
|
* 企业用户在组织管理启用成员,通过该事件回调给应用,事件ID: organization-member-enable
|
||||||
|
*/
|
||||||
|
class OrgMemberEnableMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openCorpId;
|
||||||
|
public $memberId;
|
||||||
|
public $clientCorpId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpId
|
||||||
|
*/
|
||||||
|
public function setOpenCorpId($openCorpId)
|
||||||
|
{
|
||||||
|
$this->openCorpId = $openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getMemberId()
|
||||||
|
{
|
||||||
|
return $this->memberId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $memberId
|
||||||
|
*/
|
||||||
|
public function setMemberId($memberId)
|
||||||
|
{
|
||||||
|
$this->memberId = $memberId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientCorpId()
|
||||||
|
{
|
||||||
|
return $this->clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientCorpId
|
||||||
|
*/
|
||||||
|
public function setClientCorpId($clientCorpId)
|
||||||
|
{
|
||||||
|
$this->clientCorpId = $clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,65 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\member;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 成员所属部门修改事件
|
||||||
|
* 企业用户在组织管理修改成员所属部门,通过该事件回调给应用,事件ID: organization-member-modify-dept
|
||||||
|
*
|
||||||
|
* 接收到事件后可以通过【查询成员详情】接口获取具体的成员详情
|
||||||
|
*/
|
||||||
|
class OrgMemberModifyDeptMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openCorpId;
|
||||||
|
public $memberId;
|
||||||
|
public $clientCorpId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpId
|
||||||
|
*/
|
||||||
|
public function setOpenCorpId($openCorpId)
|
||||||
|
{
|
||||||
|
$this->openCorpId = $openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getMemberId()
|
||||||
|
{
|
||||||
|
return $this->memberId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $memberId
|
||||||
|
*/
|
||||||
|
public function setMemberId($memberId)
|
||||||
|
{
|
||||||
|
$this->memberId = $memberId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientCorpId()
|
||||||
|
{
|
||||||
|
return $this->clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientCorpId
|
||||||
|
*/
|
||||||
|
public function setClientCorpId($clientCorpId)
|
||||||
|
{
|
||||||
|
$this->clientCorpId = $clientCorpId;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,65 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\member;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 成员基本信息修改事件
|
||||||
|
* 企业用户在组织管理修改成员基本信息,通过该事件回调给应用,事件ID: organization-member-modify-info
|
||||||
|
*
|
||||||
|
* 接收到事件后可以通过【查询成员详情】接口获取具体的成员详情
|
||||||
|
*/
|
||||||
|
class OrgMemberModifyInfoMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openCorpId;
|
||||||
|
public $memberId;
|
||||||
|
public $clientCorpId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpId
|
||||||
|
*/
|
||||||
|
public function setOpenCorpId($openCorpId)
|
||||||
|
{
|
||||||
|
$this->openCorpId = $openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getMemberId()
|
||||||
|
{
|
||||||
|
return $this->memberId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $memberId
|
||||||
|
*/
|
||||||
|
public function setMemberId($memberId)
|
||||||
|
{
|
||||||
|
$this->memberId = $memberId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientCorpId()
|
||||||
|
{
|
||||||
|
return $this->clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientCorpId
|
||||||
|
*/
|
||||||
|
public function setClientCorpId($clientCorpId)
|
||||||
|
{
|
||||||
|
$this->clientCorpId = $clientCorpId;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,83 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\personalSeal;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 个人签名解除免验证签授权事件
|
||||||
|
* 个人用户将签名解除授权免验证签,通过该事件回调给应用(授权到期时不会触发此回调),事件ID:personal-seal-authorize-free-sign-cancel
|
||||||
|
*/
|
||||||
|
class PersonalSealAuthorizeFreeSignCancelMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openUserId;
|
||||||
|
public $sealId;
|
||||||
|
public $businessId;
|
||||||
|
public $clientUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenUserId()
|
||||||
|
{
|
||||||
|
return $this->openUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openUserId
|
||||||
|
*/
|
||||||
|
public function setOpenUserId($openUserId)
|
||||||
|
{
|
||||||
|
$this->openUserId = $openUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSealId()
|
||||||
|
{
|
||||||
|
return $this->sealId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $sealId
|
||||||
|
*/
|
||||||
|
public function setSealId($sealId)
|
||||||
|
{
|
||||||
|
$this->sealId = $sealId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getBusinessId()
|
||||||
|
{
|
||||||
|
return $this->businessId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $businessId
|
||||||
|
*/
|
||||||
|
public function setBusinessId($businessId)
|
||||||
|
{
|
||||||
|
$this->businessId = $businessId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientUserId()
|
||||||
|
{
|
||||||
|
return $this->clientUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientUserId
|
||||||
|
*/
|
||||||
|
public function setClientUserId($clientUserId)
|
||||||
|
{
|
||||||
|
$this->clientUserId = $clientUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,99 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\personalSeal;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 签名免验证签即将到期事件
|
||||||
|
* 签名的免验证签授权即将到期时,会提前15/7/1天通过该事件回调给应用,事件ID:personal-seal-authorize-free-sign-due-cancel
|
||||||
|
*/
|
||||||
|
class PersonalSealAuthorizeFreeSignDueCancelMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openUserId;
|
||||||
|
public $sealId;
|
||||||
|
public $businessId;
|
||||||
|
public $clientUserId;
|
||||||
|
public $grantEndTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenUserId()
|
||||||
|
{
|
||||||
|
return $this->openUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openUserId
|
||||||
|
*/
|
||||||
|
public function setOpenUserId($openUserId)
|
||||||
|
{
|
||||||
|
$this->openUserId = $openUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSealId()
|
||||||
|
{
|
||||||
|
return $this->sealId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $sealId
|
||||||
|
*/
|
||||||
|
public function setSealId($sealId)
|
||||||
|
{
|
||||||
|
$this->sealId = $sealId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getBusinessId()
|
||||||
|
{
|
||||||
|
return $this->businessId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $businessId
|
||||||
|
*/
|
||||||
|
public function setBusinessId($businessId)
|
||||||
|
{
|
||||||
|
$this->businessId = $businessId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientUserId()
|
||||||
|
{
|
||||||
|
return $this->clientUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientUserId
|
||||||
|
*/
|
||||||
|
public function setClientUserId($clientUserId)
|
||||||
|
{
|
||||||
|
$this->clientUserId = $clientUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getGrantEndTime()
|
||||||
|
{
|
||||||
|
return $this->grantEndTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $grantEndTime
|
||||||
|
*/
|
||||||
|
public function setGrantEndTime($grantEndTime)
|
||||||
|
{
|
||||||
|
$this->grantEndTime = $grantEndTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@ -0,0 +1,98 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\personalSeal;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 个人签名授权免验证签事件
|
||||||
|
* 个人用户将签名授权免验证签,通过该事件回调给应用,事件ID:personal-seal-authorize-free-sign
|
||||||
|
*/
|
||||||
|
class PersonalSealAuthorizeFreeSignMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openUserId;
|
||||||
|
public $sealId;
|
||||||
|
public $businessId;
|
||||||
|
public $expiresTime;
|
||||||
|
public $clientUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenUserId()
|
||||||
|
{
|
||||||
|
return $this->openUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openUserId
|
||||||
|
*/
|
||||||
|
public function setOpenUserId($openUserId)
|
||||||
|
{
|
||||||
|
$this->openUserId = $openUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSealId()
|
||||||
|
{
|
||||||
|
return $this->sealId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $sealId
|
||||||
|
*/
|
||||||
|
public function setSealId($sealId)
|
||||||
|
{
|
||||||
|
$this->sealId = $sealId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getBusinessId()
|
||||||
|
{
|
||||||
|
return $this->businessId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $businessId
|
||||||
|
*/
|
||||||
|
public function setBusinessId($businessId)
|
||||||
|
{
|
||||||
|
$this->businessId = $businessId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getExpiresTime()
|
||||||
|
{
|
||||||
|
return $this->expiresTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $expiresTime
|
||||||
|
*/
|
||||||
|
public function setExpiresTime($expiresTime)
|
||||||
|
{
|
||||||
|
$this->expiresTime = $expiresTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientUserId()
|
||||||
|
{
|
||||||
|
return $this->clientUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientUserId
|
||||||
|
*/
|
||||||
|
public function setClientUserId($clientUserId)
|
||||||
|
{
|
||||||
|
$this->clientUserId = $clientUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,81 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\personalSeal;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 签名创建事件
|
||||||
|
* 个人创建签名后,通过该事件回调给应用,事件ID: personal-seal-create
|
||||||
|
*/
|
||||||
|
class PersonalSealCreateMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openUserId;
|
||||||
|
public $sealId;
|
||||||
|
public $createSerialNo;
|
||||||
|
public $clientUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenUserId()
|
||||||
|
{
|
||||||
|
return $this->openUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openUserId
|
||||||
|
*/
|
||||||
|
public function setOpenUserId($openUserId)
|
||||||
|
{
|
||||||
|
$this->openUserId = $openUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSealId()
|
||||||
|
{
|
||||||
|
return $this->sealId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $sealId
|
||||||
|
*/
|
||||||
|
public function setSealId($sealId)
|
||||||
|
{
|
||||||
|
$this->sealId = $sealId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getCreateSerialNo()
|
||||||
|
{
|
||||||
|
return $this->createSerialNo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $createSerialNo
|
||||||
|
*/
|
||||||
|
public function setCreateSerialNo($createSerialNo)
|
||||||
|
{
|
||||||
|
$this->createSerialNo = $createSerialNo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientUserId()
|
||||||
|
{
|
||||||
|
return $this->clientUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientUserId
|
||||||
|
*/
|
||||||
|
public function setClientUserId($clientUserId)
|
||||||
|
{
|
||||||
|
$this->clientUserId = $clientUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,64 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\personalSeal;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 签名删除事件
|
||||||
|
* 个人删除签名,通过该事件回调给应用,事件ID:personal-seal-delete
|
||||||
|
*/
|
||||||
|
class PersonalSealDeleteMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openUserId;
|
||||||
|
public $sealId;
|
||||||
|
public $clientUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenUserId()
|
||||||
|
{
|
||||||
|
return $this->openUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openUserId
|
||||||
|
*/
|
||||||
|
public function setOpenUserId($openUserId)
|
||||||
|
{
|
||||||
|
$this->openUserId = $openUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSealId()
|
||||||
|
{
|
||||||
|
return $this->sealId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $sealId
|
||||||
|
*/
|
||||||
|
public function setSealId($sealId)
|
||||||
|
{
|
||||||
|
$this->sealId = $sealId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientUserId()
|
||||||
|
{
|
||||||
|
return $this->clientUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientUserId
|
||||||
|
*/
|
||||||
|
public function setClientUserId($clientUserId)
|
||||||
|
{
|
||||||
|
$this->clientUserId = $clientUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,81 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\seal;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 印章免验证签解除事件
|
||||||
|
* 企业将印章解除免验证签授权,通过该事件回调给应用(授权到期不会触发此回调),事件ID:seal-authorize-free-sign-cancel
|
||||||
|
*/
|
||||||
|
class SealAuthorizeFreeSignCancelMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openCorpId;
|
||||||
|
public $sealId;
|
||||||
|
public $businessId;
|
||||||
|
public $clientCorpId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpId
|
||||||
|
*/
|
||||||
|
public function setOpenCorpId($openCorpId)
|
||||||
|
{
|
||||||
|
$this->openCorpId = $openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSealId()
|
||||||
|
{
|
||||||
|
return $this->sealId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $sealId
|
||||||
|
*/
|
||||||
|
public function setSealId($sealId)
|
||||||
|
{
|
||||||
|
$this->sealId = $sealId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getBusinessId()
|
||||||
|
{
|
||||||
|
return $this->businessId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $businessId
|
||||||
|
*/
|
||||||
|
public function setBusinessId($businessId)
|
||||||
|
{
|
||||||
|
$this->businessId = $businessId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientCorpId()
|
||||||
|
{
|
||||||
|
return $this->clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientCorpId
|
||||||
|
*/
|
||||||
|
public function setClientCorpId($clientCorpId)
|
||||||
|
{
|
||||||
|
$this->clientCorpId = $clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,98 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\seal;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 印章设置免验证签即将到期事件
|
||||||
|
* 印章的免验证签授权即将到期时,会提前15/7/1天通过该事件回调给应用,事件ID:seal-authorize-free-sign-due-cancel
|
||||||
|
*/
|
||||||
|
class SealAuthorizeFreeSignDueCancelMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openCorpId;
|
||||||
|
public $sealId;
|
||||||
|
public $businessId;
|
||||||
|
public $clientCorpId;
|
||||||
|
public $grantEndTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpId
|
||||||
|
*/
|
||||||
|
public function setOpenCorpId($openCorpId)
|
||||||
|
{
|
||||||
|
$this->openCorpId = $openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSealId()
|
||||||
|
{
|
||||||
|
return $this->sealId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $sealId
|
||||||
|
*/
|
||||||
|
public function setSealId($sealId)
|
||||||
|
{
|
||||||
|
$this->sealId = $sealId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getBusinessId()
|
||||||
|
{
|
||||||
|
return $this->businessId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $businessId
|
||||||
|
*/
|
||||||
|
public function setBusinessId($businessId)
|
||||||
|
{
|
||||||
|
$this->businessId = $businessId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientCorpId()
|
||||||
|
{
|
||||||
|
return $this->clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientCorpId
|
||||||
|
*/
|
||||||
|
public function setClientCorpId($clientCorpId)
|
||||||
|
{
|
||||||
|
$this->clientCorpId = $clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getGrantEndTime()
|
||||||
|
{
|
||||||
|
return $this->grantEndTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $grantEndTime
|
||||||
|
*/
|
||||||
|
public function setGrantEndTime($grantEndTime)
|
||||||
|
{
|
||||||
|
$this->grantEndTime = $grantEndTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,98 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\seal;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 印章授权免验证签事件
|
||||||
|
* 企业将印章授权免验证签,通过该事件回调给应用,事件ID:seal-authorize-free-sign
|
||||||
|
*/
|
||||||
|
class SealAuthorizeFreeSignMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openCorpId;
|
||||||
|
public $sealId;
|
||||||
|
public $businessId;
|
||||||
|
public $expiresTime;
|
||||||
|
public $clientCorpId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpId
|
||||||
|
*/
|
||||||
|
public function setOpenCorpId($openCorpId)
|
||||||
|
{
|
||||||
|
$this->openCorpId = $openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSealId()
|
||||||
|
{
|
||||||
|
return $this->sealId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $sealId
|
||||||
|
*/
|
||||||
|
public function setSealId($sealId)
|
||||||
|
{
|
||||||
|
$this->sealId = $sealId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getBusinessId()
|
||||||
|
{
|
||||||
|
return $this->businessId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $businessId
|
||||||
|
*/
|
||||||
|
public function setBusinessId($businessId)
|
||||||
|
{
|
||||||
|
$this->businessId = $businessId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getExpiresTime()
|
||||||
|
{
|
||||||
|
return $this->expiresTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $expiresTime
|
||||||
|
*/
|
||||||
|
public function setExpiresTime($expiresTime)
|
||||||
|
{
|
||||||
|
$this->expiresTime = $expiresTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientCorpId()
|
||||||
|
{
|
||||||
|
return $this->clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientCorpId
|
||||||
|
*/
|
||||||
|
public function setClientCorpId($clientCorpId)
|
||||||
|
{
|
||||||
|
$this->clientCorpId = $clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,81 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\seal;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 印章授权解除事件
|
||||||
|
* 企业将印章取消授权成员,通过该事件回调给应用,事件ID:seal-authorize-member-cancel
|
||||||
|
*/
|
||||||
|
class SealAuthorizeMemberCancelMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openCorpId;
|
||||||
|
public $sealId;
|
||||||
|
public $memberIds;
|
||||||
|
public $clientCorpId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpId
|
||||||
|
*/
|
||||||
|
public function setOpenCorpId($openCorpId)
|
||||||
|
{
|
||||||
|
$this->openCorpId = $openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSealId()
|
||||||
|
{
|
||||||
|
return $this->sealId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $sealId
|
||||||
|
*/
|
||||||
|
public function setSealId($sealId)
|
||||||
|
{
|
||||||
|
$this->sealId = $sealId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getMemberIds()
|
||||||
|
{
|
||||||
|
return $this->memberIds;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $memberIds
|
||||||
|
*/
|
||||||
|
public function setMemberIds($memberIds)
|
||||||
|
{
|
||||||
|
$this->memberIds = $memberIds;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientCorpId()
|
||||||
|
{
|
||||||
|
return $this->clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientCorpId
|
||||||
|
*/
|
||||||
|
public function setClientCorpId($clientCorpId)
|
||||||
|
{
|
||||||
|
$this->clientCorpId = $clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
81
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/seal/SealAuthorizeMemberMessage.php
vendored
Normal file
81
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/seal/SealAuthorizeMemberMessage.php
vendored
Normal file
|
|
@ -0,0 +1,81 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\seal;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 印章授权成员事件
|
||||||
|
* 企业将印章授权至成员,通过该事件回调给应用,事件ID:seal-authorize-member
|
||||||
|
*/
|
||||||
|
class SealAuthorizeMemberMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openCorpId;
|
||||||
|
public $sealIds;
|
||||||
|
public $memberIds;
|
||||||
|
public $clientCorpId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpId
|
||||||
|
*/
|
||||||
|
public function setOpenCorpId($openCorpId)
|
||||||
|
{
|
||||||
|
$this->openCorpId = $openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSealIds()
|
||||||
|
{
|
||||||
|
return $this->sealIds;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $sealIds
|
||||||
|
*/
|
||||||
|
public function setSealIds($sealIds)
|
||||||
|
{
|
||||||
|
$this->sealIds = $sealIds;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getMemberIds()
|
||||||
|
{
|
||||||
|
return $this->memberIds;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $memberIds
|
||||||
|
*/
|
||||||
|
public function setMemberIds($memberIds)
|
||||||
|
{
|
||||||
|
$this->memberIds = $memberIds;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientCorpId()
|
||||||
|
{
|
||||||
|
return $this->clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientCorpId
|
||||||
|
*/
|
||||||
|
public function setClientCorpId($clientCorpId)
|
||||||
|
{
|
||||||
|
$this->clientCorpId = $clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
64
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/seal/SealCancellationMessage.php
vendored
Normal file
64
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/seal/SealCancellationMessage.php
vendored
Normal file
|
|
@ -0,0 +1,64 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\seal;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 印章注销事件
|
||||||
|
* 企业注销印章,通过该事件回调给应用,事件ID:seal-cancellation
|
||||||
|
*/
|
||||||
|
class SealCancellationMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openCorpId;
|
||||||
|
public $sealId;
|
||||||
|
public $clientCorpId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpId
|
||||||
|
*/
|
||||||
|
public function setOpenCorpId($openCorpId)
|
||||||
|
{
|
||||||
|
$this->openCorpId = $openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSealId()
|
||||||
|
{
|
||||||
|
return $this->sealId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $sealId
|
||||||
|
*/
|
||||||
|
public function setSealId($sealId)
|
||||||
|
{
|
||||||
|
$this->sealId = $sealId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientCorpId()
|
||||||
|
{
|
||||||
|
return $this->clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientCorpId
|
||||||
|
*/
|
||||||
|
public function setClientCorpId($clientCorpId)
|
||||||
|
{
|
||||||
|
$this->clientCorpId = $clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
99
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/seal/SealCreateMessage.php
vendored
Normal file
99
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/seal/SealCreateMessage.php
vendored
Normal file
|
|
@ -0,0 +1,99 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\seal;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 印章创建事件
|
||||||
|
* 企业用户创建印章后,通过该事件回调给应用,事件ID: seal-create
|
||||||
|
* 接收事件后,对于使用法大大模板制作的印章,可使用sealId通过【查询印章详情】查询具体内容;对于使用本地图片上传制作的印章,可使用verifyId通过【查询审核中的印章列表】查询具体内容。
|
||||||
|
*/
|
||||||
|
class SealCreateMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openCorpId;
|
||||||
|
public $sealId;
|
||||||
|
public $verifyId;
|
||||||
|
public $createSerialNo;
|
||||||
|
public $clientCorpId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpId
|
||||||
|
*/
|
||||||
|
public function setOpenCorpId($openCorpId)
|
||||||
|
{
|
||||||
|
$this->openCorpId = $openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSealId()
|
||||||
|
{
|
||||||
|
return $this->sealId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $sealId
|
||||||
|
*/
|
||||||
|
public function setSealId($sealId)
|
||||||
|
{
|
||||||
|
$this->sealId = $sealId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getVerifyId()
|
||||||
|
{
|
||||||
|
return $this->verifyId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $verifyId
|
||||||
|
*/
|
||||||
|
public function setVerifyId($verifyId)
|
||||||
|
{
|
||||||
|
$this->verifyId = $verifyId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getCreateSerialNo()
|
||||||
|
{
|
||||||
|
return $this->createSerialNo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $createSerialNo
|
||||||
|
*/
|
||||||
|
public function setCreateSerialNo($createSerialNo)
|
||||||
|
{
|
||||||
|
$this->createSerialNo = $createSerialNo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientCorpId()
|
||||||
|
{
|
||||||
|
return $this->clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientCorpId
|
||||||
|
*/
|
||||||
|
public function setClientCorpId($clientCorpId)
|
||||||
|
{
|
||||||
|
$this->clientCorpId = $clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
66
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/seal/SealDeleteMessage.php
vendored
Normal file
66
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/seal/SealDeleteMessage.php
vendored
Normal file
|
|
@ -0,0 +1,66 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\seal;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 印章删除事件
|
||||||
|
* 企业删除印章,通过该事件回调给应用,事件ID:seal-delete
|
||||||
|
*/
|
||||||
|
class SealDeleteMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openCorpId;
|
||||||
|
public $sealId;
|
||||||
|
public $clientCorpId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpId
|
||||||
|
*/
|
||||||
|
public function setOpenCorpId($openCorpId)
|
||||||
|
{
|
||||||
|
$this->openCorpId = $openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSealId()
|
||||||
|
{
|
||||||
|
return $this->sealId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $sealId
|
||||||
|
*/
|
||||||
|
public function setSealId($sealId)
|
||||||
|
{
|
||||||
|
$this->sealId = $sealId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientCorpId()
|
||||||
|
{
|
||||||
|
return $this->clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientCorpId
|
||||||
|
*/
|
||||||
|
public function setClientCorpId($clientCorpId)
|
||||||
|
{
|
||||||
|
$this->clientCorpId = $clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
64
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/seal/SealDisableMessage.php
vendored
Normal file
64
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/seal/SealDisableMessage.php
vendored
Normal file
|
|
@ -0,0 +1,64 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\seal;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 印章停用事件
|
||||||
|
* 企业将印章停用,通过该事件回调给应用,事件ID:seal-disable
|
||||||
|
*/
|
||||||
|
class SealDisableMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openCorpId;
|
||||||
|
public $sealId;
|
||||||
|
public $clientCorpId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpId
|
||||||
|
*/
|
||||||
|
public function setOpenCorpId($openCorpId)
|
||||||
|
{
|
||||||
|
$this->openCorpId = $openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSealId()
|
||||||
|
{
|
||||||
|
return $this->sealId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $sealId
|
||||||
|
*/
|
||||||
|
public function setSealId($sealId)
|
||||||
|
{
|
||||||
|
$this->sealId = $sealId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientCorpId()
|
||||||
|
{
|
||||||
|
return $this->clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientCorpId
|
||||||
|
*/
|
||||||
|
public function setClientCorpId($clientCorpId)
|
||||||
|
{
|
||||||
|
$this->clientCorpId = $clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
64
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/seal/SealEnableMessage.php
vendored
Normal file
64
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/seal/SealEnableMessage.php
vendored
Normal file
|
|
@ -0,0 +1,64 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\seal;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 印章启用事件
|
||||||
|
* 企业将印章启用,通过该事件回调给应用,事件ID:seal-enable
|
||||||
|
*/
|
||||||
|
class SealEnableMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openCorpId;
|
||||||
|
public $sealId;
|
||||||
|
public $clientCorpId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpId
|
||||||
|
*/
|
||||||
|
public function setOpenCorpId($openCorpId)
|
||||||
|
{
|
||||||
|
$this->openCorpId = $openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSealId()
|
||||||
|
{
|
||||||
|
return $this->sealId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $sealId
|
||||||
|
*/
|
||||||
|
public function setSealId($sealId)
|
||||||
|
{
|
||||||
|
$this->sealId = $sealId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientCorpId()
|
||||||
|
{
|
||||||
|
return $this->clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientCorpId
|
||||||
|
*/
|
||||||
|
public function setClientCorpId($clientCorpId)
|
||||||
|
{
|
||||||
|
$this->clientCorpId = $clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
65
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/seal/SealModifyInfoMessage.php
vendored
Normal file
65
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/seal/SealModifyInfoMessage.php
vendored
Normal file
|
|
@ -0,0 +1,65 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\seal;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 印章基本信息修改事件
|
||||||
|
* 企业修改了印章的基本信息,通过该事件回调给应用,事件ID:seal-modify-info
|
||||||
|
* 接收事件后可使用sealId通过【查询印章详情】获取详细信息。
|
||||||
|
*/
|
||||||
|
class SealModifyInfoMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openCorpId;
|
||||||
|
public $sealId;
|
||||||
|
public $clientCorpId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpId
|
||||||
|
*/
|
||||||
|
public function setOpenCorpId($openCorpId)
|
||||||
|
{
|
||||||
|
$this->openCorpId = $openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSealId()
|
||||||
|
{
|
||||||
|
return $this->sealId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $sealId
|
||||||
|
*/
|
||||||
|
public function setSealId($sealId)
|
||||||
|
{
|
||||||
|
$this->sealId = $sealId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientCorpId()
|
||||||
|
{
|
||||||
|
return $this->clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientCorpId
|
||||||
|
*/
|
||||||
|
public function setClientCorpId($clientCorpId)
|
||||||
|
{
|
||||||
|
$this->clientCorpId = $clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
64
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/seal/SealVerifyCancelMessage.php
vendored
Normal file
64
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/seal/SealVerifyCancelMessage.php
vendored
Normal file
|
|
@ -0,0 +1,64 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\seal;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 印章审核撤销事件
|
||||||
|
* 企业撤销了审核中的印章,通过该事件回调给应用,事件ID:seal-verify-cancel
|
||||||
|
*/
|
||||||
|
class SealVerifyCancelMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openCorpId;
|
||||||
|
public $verifyId;
|
||||||
|
public $clientCorpId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpId
|
||||||
|
*/
|
||||||
|
public function setOpenCorpId($openCorpId)
|
||||||
|
{
|
||||||
|
$this->openCorpId = $openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getVerifyId()
|
||||||
|
{
|
||||||
|
return $this->verifyId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $verifyId
|
||||||
|
*/
|
||||||
|
public function setVerifyId($verifyId)
|
||||||
|
{
|
||||||
|
$this->verifyId = $verifyId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientCorpId()
|
||||||
|
{
|
||||||
|
return $this->clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientCorpId
|
||||||
|
*/
|
||||||
|
public function setClientCorpId($clientCorpId)
|
||||||
|
{
|
||||||
|
$this->clientCorpId = $clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
81
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/seal/SealVerifyFailedMessage.php
vendored
Normal file
81
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/seal/SealVerifyFailedMessage.php
vendored
Normal file
|
|
@ -0,0 +1,81 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\seal;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 印章审核不通过事件
|
||||||
|
* 企业创建的印章审核不通过后,通过该事件回调给应用,事件ID:seal-verify-failed
|
||||||
|
*/
|
||||||
|
class SealVerifyFailedMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openCorpId;
|
||||||
|
public $verifyId;
|
||||||
|
public $clientCorpId;
|
||||||
|
public $reason;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpId
|
||||||
|
*/
|
||||||
|
public function setOpenCorpId($openCorpId)
|
||||||
|
{
|
||||||
|
$this->openCorpId = $openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getVerifyId()
|
||||||
|
{
|
||||||
|
return $this->verifyId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $verifyId
|
||||||
|
*/
|
||||||
|
public function setVerifyId($verifyId)
|
||||||
|
{
|
||||||
|
$this->verifyId = $verifyId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientCorpId()
|
||||||
|
{
|
||||||
|
return $this->clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientCorpId
|
||||||
|
*/
|
||||||
|
public function setClientCorpId($clientCorpId)
|
||||||
|
{
|
||||||
|
$this->clientCorpId = $clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getReason()
|
||||||
|
{
|
||||||
|
return $this->reason;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $reason
|
||||||
|
*/
|
||||||
|
public function setReason($reason)
|
||||||
|
{
|
||||||
|
$this->reason = $reason;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
82
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/seal/SealVerifySuccessedMessage.php
vendored
Normal file
82
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/seal/SealVerifySuccessedMessage.php
vendored
Normal file
|
|
@ -0,0 +1,82 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\seal;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 印章审核通过事件
|
||||||
|
* 企业创建的印章审核通过后,通过该事件回调给应用,事件ID:seal-verify-successed
|
||||||
|
* 接收事件后可使用sealId通过【查询印章详情】接口获取具体信息。
|
||||||
|
*/
|
||||||
|
class SealVerifySuccessedMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openCorpId;
|
||||||
|
public $sealId;
|
||||||
|
public $verifyId;
|
||||||
|
public $clientCorpId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpId
|
||||||
|
*/
|
||||||
|
public function setOpenCorpId($openCorpId)
|
||||||
|
{
|
||||||
|
$this->openCorpId = $openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSealId()
|
||||||
|
{
|
||||||
|
return $this->sealId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $sealId
|
||||||
|
*/
|
||||||
|
public function setSealId($sealId)
|
||||||
|
{
|
||||||
|
$this->sealId = $sealId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getVerifyId()
|
||||||
|
{
|
||||||
|
return $this->verifyId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $verifyId
|
||||||
|
*/
|
||||||
|
public function setVerifyId($verifyId)
|
||||||
|
{
|
||||||
|
$this->verifyId = $verifyId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientCorpId()
|
||||||
|
{
|
||||||
|
return $this->clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientCorpId
|
||||||
|
*/
|
||||||
|
public function setClientCorpId($clientCorpId)
|
||||||
|
{
|
||||||
|
$this->clientCorpId = $clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
81
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/signTask/SignTaskAbolishMessage.php
vendored
Normal file
81
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/signTask/SignTaskAbolishMessage.php
vendored
Normal file
|
|
@ -0,0 +1,81 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\signTask;
|
||||||
|
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 签署任务作废事件
|
||||||
|
* 作废任务已完成时,原任务状态变为【已作废】,签署任务通过该事件回调给应用,事件ID: sign-task-abolish
|
||||||
|
*/
|
||||||
|
class SignTaskAbolishMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $signTaskId;
|
||||||
|
public $signTaskStatus;
|
||||||
|
public $abolishedSignTaskId;
|
||||||
|
public $transReferenceId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignTaskId()
|
||||||
|
{
|
||||||
|
return $this->signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signTaskId
|
||||||
|
*/
|
||||||
|
public function setSignTaskId($signTaskId)
|
||||||
|
{
|
||||||
|
$this->signTaskId = $signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignTaskStatus()
|
||||||
|
{
|
||||||
|
return $this->signTaskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signTaskStatus
|
||||||
|
*/
|
||||||
|
public function setSignTaskStatus($signTaskStatus)
|
||||||
|
{
|
||||||
|
$this->signTaskStatus = $signTaskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getAbolishedSignTaskId()
|
||||||
|
{
|
||||||
|
return $this->abolishedSignTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $abolishedSignTaskId
|
||||||
|
*/
|
||||||
|
public function setAbolishedSignTaskId($abolishedSignTaskId)
|
||||||
|
{
|
||||||
|
$this->abolishedSignTaskId = $abolishedSignTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getTransReferenceId()
|
||||||
|
{
|
||||||
|
return $this->transReferenceId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $transReferenceId
|
||||||
|
*/
|
||||||
|
public function setTransReferenceId($transReferenceId)
|
||||||
|
{
|
||||||
|
$this->transReferenceId = $transReferenceId;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,98 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\signTask;
|
||||||
|
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 签署任务撤销事件
|
||||||
|
* 签署任务撤销之后,通过该事件回调给应用,事件ID: sign-task-canceled
|
||||||
|
*/
|
||||||
|
class SignTaskCanceledMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $signTaskId;
|
||||||
|
public $signTaskStatus;
|
||||||
|
public $transReferenceId;
|
||||||
|
public $userName;
|
||||||
|
public $terminationNote;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignTaskId()
|
||||||
|
{
|
||||||
|
return $this->signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signTaskId
|
||||||
|
*/
|
||||||
|
public function setSignTaskId($signTaskId)
|
||||||
|
{
|
||||||
|
$this->signTaskId = $signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignTaskStatus()
|
||||||
|
{
|
||||||
|
return $this->signTaskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signTaskStatus
|
||||||
|
*/
|
||||||
|
public function setSignTaskStatus($signTaskStatus)
|
||||||
|
{
|
||||||
|
$this->signTaskStatus = $signTaskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getTransReferenceId()
|
||||||
|
{
|
||||||
|
return $this->transReferenceId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $transReferenceId
|
||||||
|
*/
|
||||||
|
public function setTransReferenceId($transReferenceId)
|
||||||
|
{
|
||||||
|
$this->transReferenceId = $transReferenceId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getUserName()
|
||||||
|
{
|
||||||
|
return $this->userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $userName
|
||||||
|
*/
|
||||||
|
public function setUserName($userName)
|
||||||
|
{
|
||||||
|
$this->userName = $userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getTerminationNote()
|
||||||
|
{
|
||||||
|
return $this->terminationNote;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $terminationNote
|
||||||
|
*/
|
||||||
|
public function setTerminationNote($terminationNote)
|
||||||
|
{
|
||||||
|
$this->terminationNote = $terminationNote;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,63 @@
|
||||||
|
<?php
|
||||||
|
namespace FddCloud\bean\message\signTask;
|
||||||
|
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 签署文档批量下载事件
|
||||||
|
* 集成方批量下载签署文档,当系统生成文档压缩包后,通过该事件回调给应用,事件ID: sign-task-download
|
||||||
|
*/
|
||||||
|
class SignTaskDownloadMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $downloadId;
|
||||||
|
public $downloadUrl;
|
||||||
|
public $status;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getDownloadId()
|
||||||
|
{
|
||||||
|
return $this->downloadId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $downloadId
|
||||||
|
*/
|
||||||
|
public function setDownloadId($downloadId)
|
||||||
|
{
|
||||||
|
$this->downloadId = $downloadId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getDownloadUrl()
|
||||||
|
{
|
||||||
|
return $this->downloadUrl;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $downloadUrl
|
||||||
|
*/
|
||||||
|
public function setDownloadUrl($downloadUrl)
|
||||||
|
{
|
||||||
|
$this->downloadUrl = $downloadUrl;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getStatus()
|
||||||
|
{
|
||||||
|
return $this->status;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $status
|
||||||
|
*/
|
||||||
|
public function setStatus($status)
|
||||||
|
{
|
||||||
|
$this->status = $status;
|
||||||
|
}
|
||||||
|
}
|
||||||
64
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/signTask/SignTaskExpireMessage.php
vendored
Normal file
64
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/signTask/SignTaskExpireMessage.php
vendored
Normal file
|
|
@ -0,0 +1,64 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\signTask;
|
||||||
|
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 签署任务过期事件
|
||||||
|
* 签署任务提交之后,在有效期内未完成签署任务,通过该事件回调给应用,事件ID: sign-task-expire
|
||||||
|
*/
|
||||||
|
class SignTaskExpireMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $signTaskId;
|
||||||
|
public $signTaskStatus;
|
||||||
|
public $transReferenceId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignTaskId()
|
||||||
|
{
|
||||||
|
return $this->signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signTaskId
|
||||||
|
*/
|
||||||
|
public function setSignTaskId($signTaskId)
|
||||||
|
{
|
||||||
|
$this->signTaskId = $signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignTaskStatus()
|
||||||
|
{
|
||||||
|
return $this->signTaskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signTaskStatus
|
||||||
|
*/
|
||||||
|
public function setSignTaskStatus($signTaskStatus)
|
||||||
|
{
|
||||||
|
$this->signTaskStatus = $signTaskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getTransReferenceId()
|
||||||
|
{
|
||||||
|
return $this->transReferenceId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $transReferenceId
|
||||||
|
*/
|
||||||
|
public function setTransReferenceId($transReferenceId)
|
||||||
|
{
|
||||||
|
$this->transReferenceId = $transReferenceId;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,98 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\signTask;
|
||||||
|
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 签署任务延期事件
|
||||||
|
* 签署任务延期时,通过该事件回调给应用,事件ID: sign-task-extension
|
||||||
|
*/
|
||||||
|
class SignTaskExtensionMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $signTaskId;
|
||||||
|
public $signTaskStatus;
|
||||||
|
public $expiresTime;
|
||||||
|
public $userName;
|
||||||
|
public $transReferenceId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignTaskId()
|
||||||
|
{
|
||||||
|
return $this->signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signTaskId
|
||||||
|
*/
|
||||||
|
public function setSignTaskId($signTaskId)
|
||||||
|
{
|
||||||
|
$this->signTaskId = $signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignTaskStatus()
|
||||||
|
{
|
||||||
|
return $this->signTaskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signTaskStatus
|
||||||
|
*/
|
||||||
|
public function setSignTaskStatus($signTaskStatus)
|
||||||
|
{
|
||||||
|
$this->signTaskStatus = $signTaskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getExpiresTime()
|
||||||
|
{
|
||||||
|
return $this->expiresTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $expiresTime
|
||||||
|
*/
|
||||||
|
public function setExpiresTime($expiresTime)
|
||||||
|
{
|
||||||
|
$this->expiresTime = $expiresTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getUserName()
|
||||||
|
{
|
||||||
|
return $this->userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $userName
|
||||||
|
*/
|
||||||
|
public function setUserName($userName)
|
||||||
|
{
|
||||||
|
$this->userName = $userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getTransReferenceId()
|
||||||
|
{
|
||||||
|
return $this->transReferenceId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $transReferenceId
|
||||||
|
*/
|
||||||
|
public function setTransReferenceId($transReferenceId)
|
||||||
|
{
|
||||||
|
$this->transReferenceId = $transReferenceId;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,115 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\signTask;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 签署任务参与方拒填事件
|
||||||
|
* 签署任务中的参与方拒填之后,通过该事件回调给应用,事件ID: sign-task-fill-rejected
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
class SignTaskFillRejectedMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $signTaskId;
|
||||||
|
public $signTaskStatus;
|
||||||
|
public $actorId;
|
||||||
|
public $fillRejectReason;
|
||||||
|
public $userName;
|
||||||
|
public $transReferenceId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignTaskId()
|
||||||
|
{
|
||||||
|
return $this->signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signTaskId
|
||||||
|
*/
|
||||||
|
public function setSignTaskId($signTaskId)
|
||||||
|
{
|
||||||
|
$this->signTaskId = $signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignTaskStatus()
|
||||||
|
{
|
||||||
|
return $this->signTaskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signTaskStatus
|
||||||
|
*/
|
||||||
|
public function setSignTaskStatus($signTaskStatus)
|
||||||
|
{
|
||||||
|
$this->signTaskStatus = $signTaskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getActorId()
|
||||||
|
{
|
||||||
|
return $this->actorId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $actorId
|
||||||
|
*/
|
||||||
|
public function setActorId($actorId)
|
||||||
|
{
|
||||||
|
$this->actorId = $actorId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getFillRejectReason()
|
||||||
|
{
|
||||||
|
return $this->fillRejectReason;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $fillRejectReason
|
||||||
|
*/
|
||||||
|
public function setFillRejectReason($fillRejectReason)
|
||||||
|
{
|
||||||
|
$this->fillRejectReason = $fillRejectReason;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getUserName()
|
||||||
|
{
|
||||||
|
return $this->userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $userName
|
||||||
|
*/
|
||||||
|
public function setUserName($userName)
|
||||||
|
{
|
||||||
|
$this->userName = $userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getTransReferenceId()
|
||||||
|
{
|
||||||
|
return $this->transReferenceId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $transReferenceId
|
||||||
|
*/
|
||||||
|
public function setTransReferenceId($transReferenceId)
|
||||||
|
{
|
||||||
|
$this->transReferenceId = $transReferenceId;
|
||||||
|
}
|
||||||
|
}
|
||||||
97
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/signTask/SignTaskFilledMessage.php
vendored
Normal file
97
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/signTask/SignTaskFilledMessage.php
vendored
Normal file
|
|
@ -0,0 +1,97 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\signTask;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 签署任务参与方填写事件
|
||||||
|
* 签署任务中需要填写的参与方进行填写后,通过该事件回调给应用,事件ID: sign-task-filled
|
||||||
|
*/
|
||||||
|
class SignTaskFilledMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $signTaskId;
|
||||||
|
public $signTaskStatus;
|
||||||
|
public $actorId;
|
||||||
|
public $userName;
|
||||||
|
public $transReferenceId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignTaskId()
|
||||||
|
{
|
||||||
|
return $this->signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signTaskId
|
||||||
|
*/
|
||||||
|
public function setSignTaskId($signTaskId)
|
||||||
|
{
|
||||||
|
$this->signTaskId = $signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignTaskStatus()
|
||||||
|
{
|
||||||
|
return $this->signTaskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signTaskStatus
|
||||||
|
*/
|
||||||
|
public function setSignTaskStatus($signTaskStatus)
|
||||||
|
{
|
||||||
|
$this->signTaskStatus = $signTaskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getActorId()
|
||||||
|
{
|
||||||
|
return $this->actorId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $actorId
|
||||||
|
*/
|
||||||
|
public function setActorId($actorId)
|
||||||
|
{
|
||||||
|
$this->actorId = $actorId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getUserName()
|
||||||
|
{
|
||||||
|
return $this->userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $userName
|
||||||
|
*/
|
||||||
|
public function setUserName($userName)
|
||||||
|
{
|
||||||
|
$this->userName = $userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getTransReferenceId()
|
||||||
|
{
|
||||||
|
return $this->transReferenceId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $transReferenceId
|
||||||
|
*/
|
||||||
|
public function setTransReferenceId($transReferenceId)
|
||||||
|
{
|
||||||
|
$this->transReferenceId = $transReferenceId;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,66 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\signTask;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 签署任务定稿事件
|
||||||
|
* 签署任务定稿之后,通过该事件回调给应用,通过该事件回调给应用,事件ID: sign-task-finalize
|
||||||
|
*
|
||||||
|
* 自动定稿情况下不会触发定稿事件。
|
||||||
|
*/
|
||||||
|
class SignTaskFinalizeMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $signTaskId;
|
||||||
|
public $signTaskStatus;
|
||||||
|
public $transReferenceId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignTaskId()
|
||||||
|
{
|
||||||
|
return $this->signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signTaskId
|
||||||
|
*/
|
||||||
|
public function setSignTaskId($signTaskId)
|
||||||
|
{
|
||||||
|
$this->signTaskId = $signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignTaskStatus()
|
||||||
|
{
|
||||||
|
return $this->signTaskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signTaskStatus
|
||||||
|
*/
|
||||||
|
public function setSignTaskStatus($signTaskStatus)
|
||||||
|
{
|
||||||
|
$this->signTaskStatus = $signTaskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getTransReferenceId()
|
||||||
|
{
|
||||||
|
return $this->transReferenceId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $transReferenceId
|
||||||
|
*/
|
||||||
|
public function setTransReferenceId($transReferenceId)
|
||||||
|
{
|
||||||
|
$this->transReferenceId = $transReferenceId;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,64 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\signTask;
|
||||||
|
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 签署任务完成事件
|
||||||
|
* 签署任务完成之后,通过该事件回调给应用,事件ID: sign-task-finished
|
||||||
|
*/
|
||||||
|
class SignTaskFinishedMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $signTaskId;
|
||||||
|
public $signTaskStatus;
|
||||||
|
public $transReferenceId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignTaskId()
|
||||||
|
{
|
||||||
|
return $this->signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signTaskId
|
||||||
|
*/
|
||||||
|
public function setSignTaskId($signTaskId)
|
||||||
|
{
|
||||||
|
$this->signTaskId = $signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignTaskStatus()
|
||||||
|
{
|
||||||
|
return $this->signTaskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signTaskStatus
|
||||||
|
*/
|
||||||
|
public function setSignTaskStatus($signTaskStatus)
|
||||||
|
{
|
||||||
|
$this->signTaskStatus = $signTaskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getTransReferenceId()
|
||||||
|
{
|
||||||
|
return $this->transReferenceId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $transReferenceId
|
||||||
|
*/
|
||||||
|
public function setTransReferenceId($transReferenceId)
|
||||||
|
{
|
||||||
|
$this->transReferenceId = $transReferenceId;
|
||||||
|
}
|
||||||
|
}
|
||||||
80
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/signTask/SignTaskIgnoreMessage.php
vendored
Normal file
80
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/signTask/SignTaskIgnoreMessage.php
vendored
Normal file
|
|
@ -0,0 +1,80 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\signTask;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 签署任务驳回填写事件
|
||||||
|
* 需要手动定稿的签署任务,在被驳回填写之后,通过该事件回调给应用,事件ID: sign-task-ignore
|
||||||
|
*/
|
||||||
|
class SignTaskIgnoreMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $signTaskId;
|
||||||
|
public $signTaskStatus;
|
||||||
|
public $userName;
|
||||||
|
public $transReferenceId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignTaskId()
|
||||||
|
{
|
||||||
|
return $this->signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signTaskId
|
||||||
|
*/
|
||||||
|
public function setSignTaskId($signTaskId)
|
||||||
|
{
|
||||||
|
$this->signTaskId = $signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignTaskStatus()
|
||||||
|
{
|
||||||
|
return $this->signTaskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signTaskStatus
|
||||||
|
*/
|
||||||
|
public function setSignTaskStatus($signTaskStatus)
|
||||||
|
{
|
||||||
|
$this->signTaskStatus = $signTaskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getUserName()
|
||||||
|
{
|
||||||
|
return $this->userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $userName
|
||||||
|
*/
|
||||||
|
public function setUserName($userName)
|
||||||
|
{
|
||||||
|
$this->userName = $userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getTransReferenceId()
|
||||||
|
{
|
||||||
|
return $this->transReferenceId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $transReferenceId
|
||||||
|
*/
|
||||||
|
public function setTransReferenceId($transReferenceId)
|
||||||
|
{
|
||||||
|
$this->transReferenceId = $transReferenceId;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,97 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\signTask;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 签署任务参与方加入失败事件
|
||||||
|
* 签署任务参与方加入失败,通过该事件回调给应用,事件ID: sign-task-join-failed
|
||||||
|
*/
|
||||||
|
class SignTaskJoinFailedMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $signTaskId;
|
||||||
|
public $signTaskStatus;
|
||||||
|
public $actorId;
|
||||||
|
public $reason;
|
||||||
|
public $transReferenceId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignTaskId()
|
||||||
|
{
|
||||||
|
return $this->signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signTaskId
|
||||||
|
*/
|
||||||
|
public function setSignTaskId($signTaskId)
|
||||||
|
{
|
||||||
|
$this->signTaskId = $signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignTaskStatus()
|
||||||
|
{
|
||||||
|
return $this->signTaskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signTaskStatus
|
||||||
|
*/
|
||||||
|
public function setSignTaskStatus($signTaskStatus)
|
||||||
|
{
|
||||||
|
$this->signTaskStatus = $signTaskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getActorId()
|
||||||
|
{
|
||||||
|
return $this->actorId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $actorId
|
||||||
|
*/
|
||||||
|
public function setActorId($actorId)
|
||||||
|
{
|
||||||
|
$this->actorId = $actorId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getReason()
|
||||||
|
{
|
||||||
|
return $this->reason;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $reason
|
||||||
|
*/
|
||||||
|
public function setReason($reason)
|
||||||
|
{
|
||||||
|
$this->reason = $reason;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getTransReferenceId()
|
||||||
|
{
|
||||||
|
return $this->transReferenceId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $transReferenceId
|
||||||
|
*/
|
||||||
|
public function setTransReferenceId($transReferenceId)
|
||||||
|
{
|
||||||
|
$this->transReferenceId = $transReferenceId;
|
||||||
|
}
|
||||||
|
}
|
||||||
100
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/signTask/SignTaskJoinedMessage.php
vendored
Normal file
100
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/signTask/SignTaskJoinedMessage.php
vendored
Normal file
|
|
@ -0,0 +1,100 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\signTask;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 签署任务参与方加入事件
|
||||||
|
* 签署任务参与方加入,通过该事件回调给应用,事件ID: sign-task-joined
|
||||||
|
*
|
||||||
|
* 自动加入参与方不触发该事件通知。
|
||||||
|
*/
|
||||||
|
class SignTaskJoinedMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $signTaskId;
|
||||||
|
public $signTaskStatus;
|
||||||
|
public $actorId;
|
||||||
|
public $userName;
|
||||||
|
public $transReferenceId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignTaskId()
|
||||||
|
{
|
||||||
|
return $this->signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signTaskId
|
||||||
|
*/
|
||||||
|
public function setSignTaskId($signTaskId)
|
||||||
|
{
|
||||||
|
$this->signTaskId = $signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignTaskStatus()
|
||||||
|
{
|
||||||
|
return $this->signTaskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signTaskStatus
|
||||||
|
*/
|
||||||
|
public function setSignTaskStatus($signTaskStatus)
|
||||||
|
{
|
||||||
|
$this->signTaskStatus = $signTaskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getActorId()
|
||||||
|
{
|
||||||
|
return $this->actorId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $actorId
|
||||||
|
*/
|
||||||
|
public function setActorId($actorId)
|
||||||
|
{
|
||||||
|
$this->actorId = $actorId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getUserName()
|
||||||
|
{
|
||||||
|
return $this->userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $userName
|
||||||
|
*/
|
||||||
|
public function setUserName($userName)
|
||||||
|
{
|
||||||
|
$this->userName = $userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getTransReferenceId()
|
||||||
|
{
|
||||||
|
return $this->transReferenceId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $transReferenceId
|
||||||
|
*/
|
||||||
|
public function setTransReferenceId($transReferenceId)
|
||||||
|
{
|
||||||
|
$this->transReferenceId = $transReferenceId;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
30
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/signTask/SignTaskPendingMessage.php
vendored
Normal file
30
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/signTask/SignTaskPendingMessage.php
vendored
Normal file
|
|
@ -0,0 +1,30 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\signTask;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 签署任务待处理事件(API3.0任务专属)
|
||||||
|
* 其他的企业在法大大3.0发起一个任务后,企业A作为任务的参与方之一,可以通过FASC集成应用中的回调地址接收3.0任务的待处理事件,从而可以在自己业务系统中完成任务签署,事件ID:sign-task-pending
|
||||||
|
*/
|
||||||
|
class SignTaskPendingMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $signTaskId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignTaskId()
|
||||||
|
{
|
||||||
|
return $this->signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signTaskId
|
||||||
|
*/
|
||||||
|
public function setSignTaskId($signTaskId)
|
||||||
|
{
|
||||||
|
$this->signTaskId = $signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
84
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/signTask/SignTaskReadMessage.php
vendored
Normal file
84
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/signTask/SignTaskReadMessage.php
vendored
Normal file
|
|
@ -0,0 +1,84 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\signTask;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 签署任务参与方/抄送方阅读事件
|
||||||
|
* 签署任务参与方或抄送方打开链接阅读了签署任务,通过该事件回调给应用,事件ID: sign-task-read
|
||||||
|
*/
|
||||||
|
class SignTaskReadMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $signTaskId;
|
||||||
|
public $signTaskStatus;
|
||||||
|
public $actorId;
|
||||||
|
public $transReferenceId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignTaskId()
|
||||||
|
{
|
||||||
|
return $this->signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signTaskId
|
||||||
|
*/
|
||||||
|
public function setSignTaskId($signTaskId)
|
||||||
|
{
|
||||||
|
$this->signTaskId = $signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignTaskStatus()
|
||||||
|
{
|
||||||
|
return $this->signTaskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signTaskStatus
|
||||||
|
*/
|
||||||
|
public function setSignTaskStatus($signTaskStatus)
|
||||||
|
{
|
||||||
|
$this->signTaskStatus = $signTaskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getActorId()
|
||||||
|
{
|
||||||
|
return $this->actorId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $actorId
|
||||||
|
*/
|
||||||
|
public function setActorId($actorId)
|
||||||
|
{
|
||||||
|
$this->actorId = $actorId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getTransReferenceId()
|
||||||
|
{
|
||||||
|
return $this->transReferenceId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $transReferenceId
|
||||||
|
*/
|
||||||
|
public function setTransReferenceId($transReferenceId)
|
||||||
|
{
|
||||||
|
$this->transReferenceId = $transReferenceId;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
114
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/signTask/SignTaskSignFailedMessage.php
vendored
Normal file
114
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/signTask/SignTaskSignFailedMessage.php
vendored
Normal file
|
|
@ -0,0 +1,114 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\signTask;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 签署任务签署失败事件
|
||||||
|
* 目前只有参与方免验证签署失败,通过该事件回调给应用,事件ID: sign-task-sign-failed
|
||||||
|
*/
|
||||||
|
class SignTaskSignFailedMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $signTaskId;
|
||||||
|
public $signTaskStatus;
|
||||||
|
public $actorId;
|
||||||
|
public $verifyFreeSign;
|
||||||
|
public $signFailedReason;
|
||||||
|
public $transReferenceId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignTaskId()
|
||||||
|
{
|
||||||
|
return $this->signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signTaskId
|
||||||
|
*/
|
||||||
|
public function setSignTaskId($signTaskId)
|
||||||
|
{
|
||||||
|
$this->signTaskId = $signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignTaskStatus()
|
||||||
|
{
|
||||||
|
return $this->signTaskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signTaskStatus
|
||||||
|
*/
|
||||||
|
public function setSignTaskStatus($signTaskStatus)
|
||||||
|
{
|
||||||
|
$this->signTaskStatus = $signTaskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getActorId()
|
||||||
|
{
|
||||||
|
return $this->actorId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $actorId
|
||||||
|
*/
|
||||||
|
public function setActorId($actorId)
|
||||||
|
{
|
||||||
|
$this->actorId = $actorId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getVerifyFreeSign()
|
||||||
|
{
|
||||||
|
return $this->verifyFreeSign;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $verifyFreeSign
|
||||||
|
*/
|
||||||
|
public function setVerifyFreeSign($verifyFreeSign)
|
||||||
|
{
|
||||||
|
$this->verifyFreeSign = $verifyFreeSign;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignFailedReason()
|
||||||
|
{
|
||||||
|
return $this->signFailedReason;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signFailedReason
|
||||||
|
*/
|
||||||
|
public function setSignFailedReason($signFailedReason)
|
||||||
|
{
|
||||||
|
$this->signFailedReason = $signFailedReason;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getTransReferenceId()
|
||||||
|
{
|
||||||
|
return $this->transReferenceId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $transReferenceId
|
||||||
|
*/
|
||||||
|
public function setTransReferenceId($transReferenceId)
|
||||||
|
{
|
||||||
|
$this->transReferenceId = $transReferenceId;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,114 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\signTask;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 签署任务参与方拒签事件
|
||||||
|
* 签署任务签署参与方拒签之后,通过该事件回调给应用,事件ID: sign-task-sign-rejected
|
||||||
|
*/
|
||||||
|
class SignTaskSignRejectedMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $signTaskId;
|
||||||
|
public $signTaskStatus;
|
||||||
|
public $actorId;
|
||||||
|
public $signRejectReason;
|
||||||
|
public $userName;
|
||||||
|
public $transReferenceId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignTaskId()
|
||||||
|
{
|
||||||
|
return $this->signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signTaskId
|
||||||
|
*/
|
||||||
|
public function setSignTaskId($signTaskId)
|
||||||
|
{
|
||||||
|
$this->signTaskId = $signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignTaskStatus()
|
||||||
|
{
|
||||||
|
return $this->signTaskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signTaskStatus
|
||||||
|
*/
|
||||||
|
public function setSignTaskStatus($signTaskStatus)
|
||||||
|
{
|
||||||
|
$this->signTaskStatus = $signTaskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getActorId()
|
||||||
|
{
|
||||||
|
return $this->actorId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $actorId
|
||||||
|
*/
|
||||||
|
public function setActorId($actorId)
|
||||||
|
{
|
||||||
|
$this->actorId = $actorId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignRejectReason()
|
||||||
|
{
|
||||||
|
return $this->signRejectReason;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signRejectReason
|
||||||
|
*/
|
||||||
|
public function setSignRejectReason($signRejectReason)
|
||||||
|
{
|
||||||
|
$this->signRejectReason = $signRejectReason;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getUserName()
|
||||||
|
{
|
||||||
|
return $this->userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $userName
|
||||||
|
*/
|
||||||
|
public function setUserName($userName)
|
||||||
|
{
|
||||||
|
$this->userName = $userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getTransReferenceId()
|
||||||
|
{
|
||||||
|
return $this->transReferenceId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $transReferenceId
|
||||||
|
*/
|
||||||
|
public function setTransReferenceId($transReferenceId)
|
||||||
|
{
|
||||||
|
$this->transReferenceId = $transReferenceId;
|
||||||
|
}
|
||||||
|
}
|
||||||
114
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/signTask/SignTaskSignedMessage.php
vendored
Normal file
114
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/signTask/SignTaskSignedMessage.php
vendored
Normal file
|
|
@ -0,0 +1,114 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\signTask;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 签署任务参与方签署成功事件
|
||||||
|
* 签署任务中每个签署参与方进行签署,签署成功后通过该事件回调给应用,事件ID: sign-task-signed
|
||||||
|
*/
|
||||||
|
class SignTaskSignedMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $signTaskId;
|
||||||
|
public $signTaskStatus;
|
||||||
|
public $actorId;
|
||||||
|
public $verifyFreeSign;
|
||||||
|
public $userName;
|
||||||
|
public $transReferenceId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignTaskId()
|
||||||
|
{
|
||||||
|
return $this->signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signTaskId
|
||||||
|
*/
|
||||||
|
public function setSignTaskId($signTaskId)
|
||||||
|
{
|
||||||
|
$this->signTaskId = $signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignTaskStatus()
|
||||||
|
{
|
||||||
|
return $this->signTaskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signTaskStatus
|
||||||
|
*/
|
||||||
|
public function setSignTaskStatus($signTaskStatus)
|
||||||
|
{
|
||||||
|
$this->signTaskStatus = $signTaskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getActorId()
|
||||||
|
{
|
||||||
|
return $this->actorId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $actorId
|
||||||
|
*/
|
||||||
|
public function setActorId($actorId)
|
||||||
|
{
|
||||||
|
$this->actorId = $actorId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getVerifyFreeSign()
|
||||||
|
{
|
||||||
|
return $this->verifyFreeSign;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $verifyFreeSign
|
||||||
|
*/
|
||||||
|
public function setVerifyFreeSign($verifyFreeSign)
|
||||||
|
{
|
||||||
|
$this->verifyFreeSign = $verifyFreeSign;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getUserName()
|
||||||
|
{
|
||||||
|
return $this->userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $userName
|
||||||
|
*/
|
||||||
|
public function setUserName($userName)
|
||||||
|
{
|
||||||
|
$this->userName = $userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getTransReferenceId()
|
||||||
|
{
|
||||||
|
return $this->transReferenceId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $transReferenceId
|
||||||
|
*/
|
||||||
|
public function setTransReferenceId($transReferenceId)
|
||||||
|
{
|
||||||
|
$this->transReferenceId = $transReferenceId;
|
||||||
|
}
|
||||||
|
}
|
||||||
66
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/signTask/SignTaskStartMessage.php
vendored
Normal file
66
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/signTask/SignTaskStartMessage.php
vendored
Normal file
|
|
@ -0,0 +1,66 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\signTask;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 签署任务提交事件
|
||||||
|
* 签署任务提交之后,通过该事件回调给应用,事件ID: sign-task-start
|
||||||
|
*/
|
||||||
|
|
||||||
|
class SignTaskStartMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $signTaskId;
|
||||||
|
public $signTaskStatus;
|
||||||
|
public $transReferenceId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignTaskId()
|
||||||
|
{
|
||||||
|
return $this->signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signTaskId
|
||||||
|
*/
|
||||||
|
public function setSignTaskId($signTaskId)
|
||||||
|
{
|
||||||
|
$this->signTaskId = $signTaskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSignTaskStatus()
|
||||||
|
{
|
||||||
|
return $this->signTaskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $signTaskStatus
|
||||||
|
*/
|
||||||
|
public function setSignTaskStatus($signTaskStatus)
|
||||||
|
{
|
||||||
|
$this->signTaskStatus = $signTaskStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getTransReferenceId()
|
||||||
|
{
|
||||||
|
return $this->transReferenceId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $transReferenceId
|
||||||
|
*/
|
||||||
|
public function setTransReferenceId($transReferenceId)
|
||||||
|
{
|
||||||
|
$this->transReferenceId = $transReferenceId;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
99
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/template/TemplateCreateMessage.php
vendored
Normal file
99
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/template/TemplateCreateMessage.php
vendored
Normal file
|
|
@ -0,0 +1,99 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\template;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 模板创建事件
|
||||||
|
* 集成方通过EUI页面创建模板后后,通过该事件回调给应用,事件ID: template-create
|
||||||
|
* 接收事件后,对于主体的模板调用【查询文档模板/签署模板详情】的接口获取具体内容;对于应用的模板调用【查询应用文档模板/应用签署模板详情】的接口获取具体内容。
|
||||||
|
*/
|
||||||
|
class TemplateCreateMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openCorpId;
|
||||||
|
public $templateId;
|
||||||
|
public $type;
|
||||||
|
public $createSerialNo;
|
||||||
|
public $clientCorpId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpId
|
||||||
|
*/
|
||||||
|
public function setOpenCorpId($openCorpId)
|
||||||
|
{
|
||||||
|
$this->openCorpId = $openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getTemplateId()
|
||||||
|
{
|
||||||
|
return $this->templateId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $templateId
|
||||||
|
*/
|
||||||
|
public function setTemplateId($templateId)
|
||||||
|
{
|
||||||
|
$this->templateId = $templateId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getType()
|
||||||
|
{
|
||||||
|
return $this->type;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $type
|
||||||
|
*/
|
||||||
|
public function setType($type)
|
||||||
|
{
|
||||||
|
$this->type = $type;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getCreateSerialNo()
|
||||||
|
{
|
||||||
|
return $this->createSerialNo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $createSerialNo
|
||||||
|
*/
|
||||||
|
public function setCreateSerialNo($createSerialNo)
|
||||||
|
{
|
||||||
|
$this->createSerialNo = $createSerialNo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientCorpId()
|
||||||
|
{
|
||||||
|
return $this->clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientCorpId
|
||||||
|
*/
|
||||||
|
public function setClientCorpId($clientCorpId)
|
||||||
|
{
|
||||||
|
$this->clientCorpId = $clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
81
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/template/TemplateDeleteMessage.php
vendored
Normal file
81
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/template/TemplateDeleteMessage.php
vendored
Normal file
|
|
@ -0,0 +1,81 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\template;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 模板删除事件
|
||||||
|
* 集成方删除模板后,通过该事件回调给应用,事件ID: template-delete
|
||||||
|
*/
|
||||||
|
class TemplateDeleteMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openCorpId;
|
||||||
|
public $templateId;
|
||||||
|
public $type;
|
||||||
|
public $clientCorpId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpId
|
||||||
|
*/
|
||||||
|
public function setOpenCorpId($openCorpId)
|
||||||
|
{
|
||||||
|
$this->openCorpId = $openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getTemplateId()
|
||||||
|
{
|
||||||
|
return $this->templateId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $templateId
|
||||||
|
*/
|
||||||
|
public function setTemplateId($templateId)
|
||||||
|
{
|
||||||
|
$this->templateId = $templateId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getType()
|
||||||
|
{
|
||||||
|
return $this->type;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $type
|
||||||
|
*/
|
||||||
|
public function setType($type)
|
||||||
|
{
|
||||||
|
$this->type = $type;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientCorpId()
|
||||||
|
{
|
||||||
|
return $this->clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientCorpId
|
||||||
|
*/
|
||||||
|
public function setClientCorpId($clientCorpId)
|
||||||
|
{
|
||||||
|
$this->clientCorpId = $clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
80
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/template/TemplateDisableMessage.php
vendored
Normal file
80
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/template/TemplateDisableMessage.php
vendored
Normal file
|
|
@ -0,0 +1,80 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\template;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 模板停用事件
|
||||||
|
* 停用模板后,通过该事件回调给应用,事件ID: template-disable
|
||||||
|
*/
|
||||||
|
class TemplateDisableMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openCorpId;
|
||||||
|
public $templateId;
|
||||||
|
public $type;
|
||||||
|
public $clientCorpId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpId
|
||||||
|
*/
|
||||||
|
public function setOpenCorpId($openCorpId)
|
||||||
|
{
|
||||||
|
$this->openCorpId = $openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getTemplateId()
|
||||||
|
{
|
||||||
|
return $this->templateId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $templateId
|
||||||
|
*/
|
||||||
|
public function setTemplateId($templateId)
|
||||||
|
{
|
||||||
|
$this->templateId = $templateId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getType()
|
||||||
|
{
|
||||||
|
return $this->type;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $type
|
||||||
|
*/
|
||||||
|
public function setType($type)
|
||||||
|
{
|
||||||
|
$this->type = $type;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientCorpId()
|
||||||
|
{
|
||||||
|
return $this->clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientCorpId
|
||||||
|
*/
|
||||||
|
public function setClientCorpId($clientCorpId)
|
||||||
|
{
|
||||||
|
$this->clientCorpId = $clientCorpId;
|
||||||
|
}
|
||||||
|
}
|
||||||
81
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/template/TemplateEnableMessage.php
vendored
Normal file
81
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/message/template/TemplateEnableMessage.php
vendored
Normal file
|
|
@ -0,0 +1,81 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\message\template;
|
||||||
|
use FddCloud\bean\message\MessageBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 模板启用事件
|
||||||
|
* 企业启用模板后,通过该事件回调给应用,事件ID: template-enable
|
||||||
|
* 企业在修改模板状态为启用、编辑模板并提交后均会触发该事件,故集成方可通过该事件监听模板是否发生了编辑操作。
|
||||||
|
*/
|
||||||
|
class TemplateEnableMessage extends MessageBase
|
||||||
|
{
|
||||||
|
public $openCorpId;
|
||||||
|
public $templateId;
|
||||||
|
public $type;
|
||||||
|
public $clientCorpId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOpenCorpId()
|
||||||
|
{
|
||||||
|
return $this->openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $openCorpId
|
||||||
|
*/
|
||||||
|
public function setOpenCorpId($openCorpId)
|
||||||
|
{
|
||||||
|
$this->openCorpId = $openCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getTemplateId()
|
||||||
|
{
|
||||||
|
return $this->templateId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $templateId
|
||||||
|
*/
|
||||||
|
public function setTemplateId($templateId)
|
||||||
|
{
|
||||||
|
$this->templateId = $templateId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getType()
|
||||||
|
{
|
||||||
|
return $this->type;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $type
|
||||||
|
*/
|
||||||
|
public function setType($type)
|
||||||
|
{
|
||||||
|
$this->type = $type;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientCorpId()
|
||||||
|
{
|
||||||
|
return $this->clientCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientCorpId
|
||||||
|
*/
|
||||||
|
public function setClientCorpId($clientCorpId)
|
||||||
|
{
|
||||||
|
$this->clientCorpId = $clientCorpId;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,338 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\req;
|
||||||
|
|
||||||
|
class Actor
|
||||||
|
{
|
||||||
|
|
||||||
|
public $actorId;
|
||||||
|
|
||||||
|
public $actorType;
|
||||||
|
|
||||||
|
public $actorName;
|
||||||
|
|
||||||
|
public $permissions;
|
||||||
|
|
||||||
|
public $actorOpenId;
|
||||||
|
|
||||||
|
public $actorFDDId;
|
||||||
|
|
||||||
|
public $actorEntityId;
|
||||||
|
|
||||||
|
public $actorCorpMembers;
|
||||||
|
|
||||||
|
public $identNameForMatch;
|
||||||
|
|
||||||
|
public $certType;
|
||||||
|
|
||||||
|
public $certNoForMatch;
|
||||||
|
|
||||||
|
public $accountName;
|
||||||
|
|
||||||
|
public $clientUserId;
|
||||||
|
|
||||||
|
public $authScopes;
|
||||||
|
|
||||||
|
public $sendNotification;
|
||||||
|
|
||||||
|
public $notifyType;
|
||||||
|
|
||||||
|
public $notifyAddress;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated 过时字段
|
||||||
|
*/
|
||||||
|
public $notification;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getActorId()
|
||||||
|
{
|
||||||
|
return $this->actorId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $actorId
|
||||||
|
*/
|
||||||
|
public function setActorId($actorId)
|
||||||
|
{
|
||||||
|
$this->actorId = $actorId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getActorType()
|
||||||
|
{
|
||||||
|
return $this->actorType;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $actorType
|
||||||
|
*/
|
||||||
|
public function setActorType($actorType)
|
||||||
|
{
|
||||||
|
$this->actorType = $actorType;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getActorName()
|
||||||
|
{
|
||||||
|
return $this->actorName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $actorName
|
||||||
|
*/
|
||||||
|
public function setActorName($actorName)
|
||||||
|
{
|
||||||
|
$this->actorName = $actorName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getPermissions()
|
||||||
|
{
|
||||||
|
return $this->permissions;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $permissions
|
||||||
|
*/
|
||||||
|
public function setPermissions($permissions)
|
||||||
|
{
|
||||||
|
$this->permissions = $permissions;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getActorOpenId()
|
||||||
|
{
|
||||||
|
return $this->actorOpenId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $actorOpenId
|
||||||
|
*/
|
||||||
|
public function setActorOpenId($actorOpenId)
|
||||||
|
{
|
||||||
|
$this->actorOpenId = $actorOpenId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getActorFDDId()
|
||||||
|
{
|
||||||
|
return $this->actorFDDId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $actorFDDId
|
||||||
|
*/
|
||||||
|
public function setActorFDDId($actorFDDId)
|
||||||
|
{
|
||||||
|
$this->actorFDDId = $actorFDDId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getActorEntityId()
|
||||||
|
{
|
||||||
|
return $this->actorEntityId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $actorEntityId
|
||||||
|
*/
|
||||||
|
public function setActorEntityId($actorEntityId)
|
||||||
|
{
|
||||||
|
$this->actorEntityId = $actorEntityId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getActorCorpMembers()
|
||||||
|
{
|
||||||
|
return $this->actorCorpMembers;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $actorCorpMembers
|
||||||
|
*/
|
||||||
|
public function setActorCorpMembers($actorCorpMembers)
|
||||||
|
{
|
||||||
|
$this->actorCorpMembers = $actorCorpMembers;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getIdentNameForMatch()
|
||||||
|
{
|
||||||
|
return $this->identNameForMatch;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $identNameForMatch
|
||||||
|
*/
|
||||||
|
public function setIdentNameForMatch($identNameForMatch)
|
||||||
|
{
|
||||||
|
$this->identNameForMatch = $identNameForMatch;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getCertType()
|
||||||
|
{
|
||||||
|
return $this->certType;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $certType
|
||||||
|
*/
|
||||||
|
public function setCertType($certType)
|
||||||
|
{
|
||||||
|
$this->certType = $certType;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getCertNoForMatch()
|
||||||
|
{
|
||||||
|
return $this->certNoForMatch;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $certNoForMatch
|
||||||
|
*/
|
||||||
|
public function setCertNoForMatch($certNoForMatch)
|
||||||
|
{
|
||||||
|
$this->certNoForMatch = $certNoForMatch;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getAccountName()
|
||||||
|
{
|
||||||
|
return $this->accountName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $accountName
|
||||||
|
*/
|
||||||
|
public function setAccountName($accountName)
|
||||||
|
{
|
||||||
|
$this->accountName = $accountName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getClientUserId()
|
||||||
|
{
|
||||||
|
return $this->clientUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $clientUserId
|
||||||
|
*/
|
||||||
|
public function setClientUserId($clientUserId)
|
||||||
|
{
|
||||||
|
$this->clientUserId = $clientUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getAuthScopes()
|
||||||
|
{
|
||||||
|
return $this->authScopes;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $authScopes
|
||||||
|
*/
|
||||||
|
public function setAuthScopes($authScopes)
|
||||||
|
{
|
||||||
|
$this->authScopes = $authScopes;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getSendNotification()
|
||||||
|
{
|
||||||
|
return $this->sendNotification;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $sendNotification
|
||||||
|
*/
|
||||||
|
public function setSendNotification($sendNotification)
|
||||||
|
{
|
||||||
|
$this->sendNotification = $sendNotification;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getNotifyType()
|
||||||
|
{
|
||||||
|
return $this->notifyType;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $notifyType
|
||||||
|
*/
|
||||||
|
public function setNotifyType($notifyType)
|
||||||
|
{
|
||||||
|
$this->notifyType = $notifyType;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getNotifyAddress()
|
||||||
|
{
|
||||||
|
return $this->notifyAddress;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $notifyAddress
|
||||||
|
*/
|
||||||
|
public function setNotifyAddress($notifyAddress)
|
||||||
|
{
|
||||||
|
$this->notifyAddress = $notifyAddress;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getNotification()
|
||||||
|
{
|
||||||
|
return $this->notification;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $notification
|
||||||
|
*/
|
||||||
|
public function setNotification($notification)
|
||||||
|
{
|
||||||
|
$this->notification = $notification;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,116 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\req;
|
||||||
|
|
||||||
|
class ActorCorp
|
||||||
|
{
|
||||||
|
public $actorCorpId;
|
||||||
|
|
||||||
|
public $corpIdentInfo;
|
||||||
|
|
||||||
|
public $corpInfoExtend;
|
||||||
|
|
||||||
|
public $operatorId;
|
||||||
|
|
||||||
|
public $operatorIdentInfo;
|
||||||
|
|
||||||
|
public $operatorInfoExtend;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getActorCorpId()
|
||||||
|
{
|
||||||
|
return $this->actorCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $actorCorpId
|
||||||
|
*/
|
||||||
|
public function setActorCorpId($actorCorpId)
|
||||||
|
{
|
||||||
|
$this->actorCorpId = $actorCorpId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getCorpIdentInfo()
|
||||||
|
{
|
||||||
|
return $this->corpIdentInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $corpIdentInfo
|
||||||
|
*/
|
||||||
|
public function setCorpIdentInfo($corpIdentInfo)
|
||||||
|
{
|
||||||
|
$this->corpIdentInfo = $corpIdentInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getCorpInfoExtend()
|
||||||
|
{
|
||||||
|
return $this->corpInfoExtend;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $corpInfoExtend
|
||||||
|
*/
|
||||||
|
public function setCorpInfoExtend($corpInfoExtend)
|
||||||
|
{
|
||||||
|
$this->corpInfoExtend = $corpInfoExtend;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOperatorId()
|
||||||
|
{
|
||||||
|
return $this->operatorId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $operatorId
|
||||||
|
*/
|
||||||
|
public function setOperatorId($operatorId)
|
||||||
|
{
|
||||||
|
$this->operatorId = $operatorId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOperatorIdentInfo()
|
||||||
|
{
|
||||||
|
return $this->operatorIdentInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $operatorIdentInfo
|
||||||
|
*/
|
||||||
|
public function setOperatorIdentInfo($operatorIdentInfo)
|
||||||
|
{
|
||||||
|
$this->operatorIdentInfo = $operatorIdentInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOperatorInfoExtend()
|
||||||
|
{
|
||||||
|
return $this->operatorInfoExtend;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $operatorInfoExtend
|
||||||
|
*/
|
||||||
|
public function setOperatorInfoExtend($operatorInfoExtend)
|
||||||
|
{
|
||||||
|
$this->operatorInfoExtend = $operatorInfoExtend;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\req;
|
||||||
|
|
||||||
|
class ActorUser
|
||||||
|
{
|
||||||
|
public $actorUserId;
|
||||||
|
|
||||||
|
public $userIdentInfo;
|
||||||
|
|
||||||
|
public $userInfoExtend;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getActorUserId()
|
||||||
|
{
|
||||||
|
return $this->actorUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $actorUserId
|
||||||
|
*/
|
||||||
|
public function setActorUserId($actorUserId)
|
||||||
|
{
|
||||||
|
$this->actorUserId = $actorUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getUserIdentInfo()
|
||||||
|
{
|
||||||
|
return $this->userIdentInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $userIdentInfo
|
||||||
|
*/
|
||||||
|
public function setUserIdentInfo($userIdentInfo)
|
||||||
|
{
|
||||||
|
$this->userIdentInfo = $userIdentInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getUserInfoExtend()
|
||||||
|
{
|
||||||
|
return $this->userInfoExtend;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $userInfoExtend
|
||||||
|
*/
|
||||||
|
public function setUserInfoExtend($userInfoExtend)
|
||||||
|
{
|
||||||
|
$this->userInfoExtend = $userInfoExtend;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\req;
|
||||||
|
|
||||||
|
class FddApiReq
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,366 @@
|
||||||
|
<?php
|
||||||
|
namespace FddCloud\bean\req;
|
||||||
|
|
||||||
|
class Field
|
||||||
|
{
|
||||||
|
public $fieldId;
|
||||||
|
|
||||||
|
public $fieldName;
|
||||||
|
|
||||||
|
public $fieldKey;
|
||||||
|
|
||||||
|
public $position;
|
||||||
|
|
||||||
|
public $moveable;
|
||||||
|
|
||||||
|
public $fieldType;
|
||||||
|
|
||||||
|
public $fieldPersonSign;
|
||||||
|
|
||||||
|
public $fieldCorpSeal;
|
||||||
|
|
||||||
|
public $fieldDateSeal;
|
||||||
|
|
||||||
|
public $fieldRemarkSign;
|
||||||
|
|
||||||
|
public $fieldTextSingleLine;
|
||||||
|
|
||||||
|
public $fieldTextMultiLine;
|
||||||
|
|
||||||
|
public $fieldNumber;
|
||||||
|
|
||||||
|
public $fieldIdCard;
|
||||||
|
|
||||||
|
public $fieldFillDate;
|
||||||
|
|
||||||
|
public $fieldMultiRadio;
|
||||||
|
|
||||||
|
public $fieldMultiCheckbox;
|
||||||
|
|
||||||
|
public $fieldPicture;
|
||||||
|
|
||||||
|
public $fieldSelectBox;
|
||||||
|
|
||||||
|
public $fieldTable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getFieldId()
|
||||||
|
{
|
||||||
|
return $this->fieldId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $fieldId
|
||||||
|
*/
|
||||||
|
public function setFieldId($fieldId)
|
||||||
|
{
|
||||||
|
$this->fieldId = $fieldId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getFieldName()
|
||||||
|
{
|
||||||
|
return $this->fieldName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $fieldName
|
||||||
|
*/
|
||||||
|
public function setFieldName($fieldName)
|
||||||
|
{
|
||||||
|
$this->fieldName = $fieldName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getFieldKey()
|
||||||
|
{
|
||||||
|
return $this->fieldKey;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $fieldKey
|
||||||
|
*/
|
||||||
|
public function setFieldKey($fieldKey)
|
||||||
|
{
|
||||||
|
$this->fieldKey = $fieldKey;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getPosition()
|
||||||
|
{
|
||||||
|
return $this->position;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $position
|
||||||
|
*/
|
||||||
|
public function setPosition($position)
|
||||||
|
{
|
||||||
|
$this->position = $position;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getFieldType()
|
||||||
|
{
|
||||||
|
return $this->fieldType;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $fieldType
|
||||||
|
*/
|
||||||
|
public function setFieldType($fieldType)
|
||||||
|
{
|
||||||
|
$this->fieldType = $fieldType;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getFieldTextSingleLine()
|
||||||
|
{
|
||||||
|
return $this->fieldTextSingleLine;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $fieldTextSingleLine
|
||||||
|
*/
|
||||||
|
public function setFieldTextSingleLine($fieldTextSingleLine)
|
||||||
|
{
|
||||||
|
$this->fieldTextSingleLine = $fieldTextSingleLine;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getFieldTextMultiLine()
|
||||||
|
{
|
||||||
|
return $this->fieldTextMultiLine;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $fieldTextMultiLine
|
||||||
|
*/
|
||||||
|
public function setFieldTextMultiLine($fieldTextMultiLine)
|
||||||
|
{
|
||||||
|
$this->fieldTextMultiLine = $fieldTextMultiLine;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getFieldNumber()
|
||||||
|
{
|
||||||
|
return $this->fieldNumber;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $fieldNumber
|
||||||
|
*/
|
||||||
|
public function setFieldNumber($fieldNumber)
|
||||||
|
{
|
||||||
|
$this->fieldNumber = $fieldNumber;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getFieldIdCard()
|
||||||
|
{
|
||||||
|
return $this->fieldIdCard;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $fieldIdCard
|
||||||
|
*/
|
||||||
|
public function setFieldIdCard($fieldIdCard)
|
||||||
|
{
|
||||||
|
$this->fieldIdCard = $fieldIdCard;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getFieldFillDate()
|
||||||
|
{
|
||||||
|
return $this->fieldFillDate;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $fieldFillDate
|
||||||
|
*/
|
||||||
|
public function setFieldFillDate($fieldFillDate)
|
||||||
|
{
|
||||||
|
$this->fieldFillDate = $fieldFillDate;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getFieldMultiRadio()
|
||||||
|
{
|
||||||
|
return $this->fieldMultiRadio;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $fieldMultiRadio
|
||||||
|
*/
|
||||||
|
public function setFieldMultiRadio($fieldMultiRadio)
|
||||||
|
{
|
||||||
|
$this->fieldMultiRadio = $fieldMultiRadio;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getFieldMultiCheckbox()
|
||||||
|
{
|
||||||
|
return $this->fieldMultiCheckbox;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $fieldMultiCheckbox
|
||||||
|
*/
|
||||||
|
public function setFieldMultiCheckbox($fieldMultiCheckbox)
|
||||||
|
{
|
||||||
|
$this->fieldMultiCheckbox = $fieldMultiCheckbox;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getFieldSelectBox()
|
||||||
|
{
|
||||||
|
return $this->fieldSelectBox;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $fieldSelectBox
|
||||||
|
*/
|
||||||
|
public function setFieldSelectBox($fieldSelectBox)
|
||||||
|
{
|
||||||
|
$this->fieldSelectBox = $fieldSelectBox;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getMoveable()
|
||||||
|
{
|
||||||
|
return $this->moveable;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $moveable
|
||||||
|
*/
|
||||||
|
public function setMoveable($moveable)
|
||||||
|
{
|
||||||
|
$this->moveable = $moveable;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getFieldPersonSign()
|
||||||
|
{
|
||||||
|
return $this->fieldPersonSign;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $fieldPersonSign
|
||||||
|
*/
|
||||||
|
public function setFieldPersonSign($fieldPersonSign)
|
||||||
|
{
|
||||||
|
$this->fieldPersonSign = $fieldPersonSign;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getFieldCorpSeal()
|
||||||
|
{
|
||||||
|
return $this->fieldCorpSeal;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $fieldCorpSeal
|
||||||
|
*/
|
||||||
|
public function setFieldCorpSeal($fieldCorpSeal)
|
||||||
|
{
|
||||||
|
$this->fieldCorpSeal = $fieldCorpSeal;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getFieldDateSeal()
|
||||||
|
{
|
||||||
|
return $this->fieldDateSeal;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $fieldDateSeal
|
||||||
|
*/
|
||||||
|
public function setFieldDateSeal($fieldDateSeal)
|
||||||
|
{
|
||||||
|
$this->fieldDateSeal = $fieldDateSeal;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getFieldRemarkSign()
|
||||||
|
{
|
||||||
|
return $this->fieldRemarkSign;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $fieldRemarkSign
|
||||||
|
*/
|
||||||
|
public function setFieldRemarkSign($fieldRemarkSign)
|
||||||
|
{
|
||||||
|
$this->fieldRemarkSign = $fieldRemarkSign;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getFieldPicture()
|
||||||
|
{
|
||||||
|
return $this->fieldPicture;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $fieldPicture
|
||||||
|
*/
|
||||||
|
public function setFieldPicture($fieldPicture)
|
||||||
|
{
|
||||||
|
$this->fieldPicture = $fieldPicture;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getFieldTable()
|
||||||
|
{
|
||||||
|
return $this->fieldTable;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $fieldTable
|
||||||
|
*/
|
||||||
|
public function setFieldTable($fieldTable)
|
||||||
|
{
|
||||||
|
$this->fieldTable = $fieldTable;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,59 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\req;
|
||||||
|
|
||||||
|
class FieldCorpSeal
|
||||||
|
{
|
||||||
|
public $width;
|
||||||
|
public $height;
|
||||||
|
public $categoryType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getWidth()
|
||||||
|
{
|
||||||
|
return $this->width;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $width
|
||||||
|
*/
|
||||||
|
public function setWidth($width)
|
||||||
|
{
|
||||||
|
$this->width = $width;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getHeight()
|
||||||
|
{
|
||||||
|
return $this->height;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $height
|
||||||
|
*/
|
||||||
|
public function setHeight($height)
|
||||||
|
{
|
||||||
|
$this->height = $height;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getCategoryType()
|
||||||
|
{
|
||||||
|
return $this->categoryType;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $categoryType
|
||||||
|
*/
|
||||||
|
public function setCategoryType($categoryType)
|
||||||
|
{
|
||||||
|
$this->categoryType = $categoryType;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,42 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\req;
|
||||||
|
|
||||||
|
class FieldDateSign
|
||||||
|
{
|
||||||
|
public $dateFormat;
|
||||||
|
public $fontSize;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getDateFormat()
|
||||||
|
{
|
||||||
|
return $this->dateFormat;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $dateFormat
|
||||||
|
*/
|
||||||
|
public function setDateFormat($dateFormat)
|
||||||
|
{
|
||||||
|
$this->dateFormat = $dateFormat;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getFontSize()
|
||||||
|
{
|
||||||
|
return $this->fontSize;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $fontSize
|
||||||
|
*/
|
||||||
|
public function setFontSize($fontSize)
|
||||||
|
{
|
||||||
|
$this->fontSize = $fontSize;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,144 @@
|
||||||
|
<?php
|
||||||
|
namespace FddCloud\bean\req;
|
||||||
|
|
||||||
|
class FieldFillDate
|
||||||
|
{
|
||||||
|
public $required;
|
||||||
|
public $defaultValue;
|
||||||
|
public $dateFormat;
|
||||||
|
public $width;
|
||||||
|
public $height;
|
||||||
|
public $fontType;
|
||||||
|
public $fontSize;
|
||||||
|
public $alignment;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getRequired()
|
||||||
|
{
|
||||||
|
return $this->required;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $required
|
||||||
|
*/
|
||||||
|
public function setRequired($required)
|
||||||
|
{
|
||||||
|
$this->required = $required;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getDefaultValue()
|
||||||
|
{
|
||||||
|
return $this->defaultValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $defaultValue
|
||||||
|
*/
|
||||||
|
public function setDefaultValue($defaultValue)
|
||||||
|
{
|
||||||
|
$this->defaultValue = $defaultValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getDateFormat()
|
||||||
|
{
|
||||||
|
return $this->dateFormat;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $dateFormat
|
||||||
|
*/
|
||||||
|
public function setDateFormat($dateFormat)
|
||||||
|
{
|
||||||
|
$this->dateFormat = $dateFormat;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getWidth()
|
||||||
|
{
|
||||||
|
return $this->width;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $width
|
||||||
|
*/
|
||||||
|
public function setWidth($width)
|
||||||
|
{
|
||||||
|
$this->width = $width;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getHeight()
|
||||||
|
{
|
||||||
|
return $this->height;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $height
|
||||||
|
*/
|
||||||
|
public function setHeight($height)
|
||||||
|
{
|
||||||
|
$this->height = $height;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getFontType()
|
||||||
|
{
|
||||||
|
return $this->fontType;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $fontType
|
||||||
|
*/
|
||||||
|
public function setFontType($fontType)
|
||||||
|
{
|
||||||
|
$this->fontType = $fontType;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getFontSize()
|
||||||
|
{
|
||||||
|
return $this->fontSize;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $fontSize
|
||||||
|
*/
|
||||||
|
public function setFontSize($fontSize)
|
||||||
|
{
|
||||||
|
$this->fontSize = $fontSize;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getAlignment()
|
||||||
|
{
|
||||||
|
return $this->alignment;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $alignment
|
||||||
|
*/
|
||||||
|
public function setAlignment($alignment)
|
||||||
|
{
|
||||||
|
$this->alignment = $alignment;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@ -0,0 +1,161 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\req;
|
||||||
|
|
||||||
|
class FieldIdCard
|
||||||
|
{
|
||||||
|
public $required;
|
||||||
|
public $defaultValue;
|
||||||
|
public $autofill;
|
||||||
|
public $tips;
|
||||||
|
public $width;
|
||||||
|
public $height;
|
||||||
|
public $fontType;
|
||||||
|
public $fontSize;
|
||||||
|
public $alignment;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getRequired()
|
||||||
|
{
|
||||||
|
return $this->required;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $required
|
||||||
|
*/
|
||||||
|
public function setRequired($required)
|
||||||
|
{
|
||||||
|
$this->required = $required;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getDefaultValue()
|
||||||
|
{
|
||||||
|
return $this->defaultValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $defaultValue
|
||||||
|
*/
|
||||||
|
public function setDefaultValue($defaultValue)
|
||||||
|
{
|
||||||
|
$this->defaultValue = $defaultValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getAutofill()
|
||||||
|
{
|
||||||
|
return $this->autofill;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $autofill
|
||||||
|
*/
|
||||||
|
public function setAutofill($autofill)
|
||||||
|
{
|
||||||
|
$this->autofill = $autofill;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getTips()
|
||||||
|
{
|
||||||
|
return $this->tips;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $tips
|
||||||
|
*/
|
||||||
|
public function setTips($tips)
|
||||||
|
{
|
||||||
|
$this->tips = $tips;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getWidth()
|
||||||
|
{
|
||||||
|
return $this->width;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $width
|
||||||
|
*/
|
||||||
|
public function setWidth($width)
|
||||||
|
{
|
||||||
|
$this->width = $width;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getHeight()
|
||||||
|
{
|
||||||
|
return $this->height;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $height
|
||||||
|
*/
|
||||||
|
public function setHeight($height)
|
||||||
|
{
|
||||||
|
$this->height = $height;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getFontType()
|
||||||
|
{
|
||||||
|
return $this->fontType;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $fontType
|
||||||
|
*/
|
||||||
|
public function setFontType($fontType)
|
||||||
|
{
|
||||||
|
$this->fontType = $fontType;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getFontSize()
|
||||||
|
{
|
||||||
|
return $this->fontSize;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $fontSize
|
||||||
|
*/
|
||||||
|
public function setFontSize($fontSize)
|
||||||
|
{
|
||||||
|
$this->fontSize = $fontSize;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getAlignment()
|
||||||
|
{
|
||||||
|
return $this->alignment;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $alignment
|
||||||
|
*/
|
||||||
|
public function setAlignment($alignment)
|
||||||
|
{
|
||||||
|
$this->alignment = $alignment;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
61
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/req/FieldMultiCheckbox.php
vendored
Normal file
61
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/req/FieldMultiCheckbox.php
vendored
Normal file
|
|
@ -0,0 +1,61 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\req;
|
||||||
|
|
||||||
|
class FieldMultiCheckbox
|
||||||
|
{
|
||||||
|
public $required;
|
||||||
|
|
||||||
|
public $option;
|
||||||
|
|
||||||
|
public $defaultValue;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getRequired()
|
||||||
|
{
|
||||||
|
return $this->required;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $required
|
||||||
|
*/
|
||||||
|
public function setRequired($required)
|
||||||
|
{
|
||||||
|
$this->required = $required;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOption()
|
||||||
|
{
|
||||||
|
return $this->option;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $option
|
||||||
|
*/
|
||||||
|
public function setOption($option)
|
||||||
|
{
|
||||||
|
$this->option = $option;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getDefaultValue()
|
||||||
|
{
|
||||||
|
return $this->defaultValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $defaultValue
|
||||||
|
*/
|
||||||
|
public function setDefaultValue($defaultValue)
|
||||||
|
{
|
||||||
|
$this->defaultValue = $defaultValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
59
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/req/FieldMultiRadio.php
vendored
Normal file
59
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/req/FieldMultiRadio.php
vendored
Normal file
|
|
@ -0,0 +1,59 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\req;
|
||||||
|
|
||||||
|
class FieldMultiRadio
|
||||||
|
{
|
||||||
|
public $required;
|
||||||
|
public $option;
|
||||||
|
public $defaultValue;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getRequired()
|
||||||
|
{
|
||||||
|
return $this->required;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $required
|
||||||
|
*/
|
||||||
|
public function setRequired($required)
|
||||||
|
{
|
||||||
|
$this->required = $required;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOption()
|
||||||
|
{
|
||||||
|
return $this->option;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $option
|
||||||
|
*/
|
||||||
|
public function setOption($option)
|
||||||
|
{
|
||||||
|
$this->option = $option;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getDefaultValue()
|
||||||
|
{
|
||||||
|
return $this->defaultValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $defaultValue
|
||||||
|
*/
|
||||||
|
public function setDefaultValue($defaultValue)
|
||||||
|
{
|
||||||
|
$this->defaultValue = $defaultValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,144 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\req;
|
||||||
|
|
||||||
|
class FieldNumber
|
||||||
|
{
|
||||||
|
public $required;
|
||||||
|
public $defaultValue;
|
||||||
|
public $tips;
|
||||||
|
public $width;
|
||||||
|
public $height;
|
||||||
|
public $fontType;
|
||||||
|
public $fontSize;
|
||||||
|
public $alignment;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getRequired()
|
||||||
|
{
|
||||||
|
return $this->required;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $required
|
||||||
|
*/
|
||||||
|
public function setRequired($required)
|
||||||
|
{
|
||||||
|
$this->required = $required;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getDefaultValue()
|
||||||
|
{
|
||||||
|
return $this->defaultValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $defaultValue
|
||||||
|
*/
|
||||||
|
public function setDefaultValue($defaultValue)
|
||||||
|
{
|
||||||
|
$this->defaultValue = $defaultValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getTips()
|
||||||
|
{
|
||||||
|
return $this->tips;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $tips
|
||||||
|
*/
|
||||||
|
public function setTips($tips)
|
||||||
|
{
|
||||||
|
$this->tips = $tips;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getWidth()
|
||||||
|
{
|
||||||
|
return $this->width;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $width
|
||||||
|
*/
|
||||||
|
public function setWidth($width)
|
||||||
|
{
|
||||||
|
$this->width = $width;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getHeight()
|
||||||
|
{
|
||||||
|
return $this->height;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $height
|
||||||
|
*/
|
||||||
|
public function setHeight($height)
|
||||||
|
{
|
||||||
|
$this->height = $height;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getFontType()
|
||||||
|
{
|
||||||
|
return $this->fontType;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $fontType
|
||||||
|
*/
|
||||||
|
public function setFontType($fontType)
|
||||||
|
{
|
||||||
|
$this->fontType = $fontType;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getFontSize()
|
||||||
|
{
|
||||||
|
return $this->fontSize;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $fontSize
|
||||||
|
*/
|
||||||
|
public function setFontSize($fontSize)
|
||||||
|
{
|
||||||
|
$this->fontSize = $fontSize;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getAlignment()
|
||||||
|
{
|
||||||
|
return $this->alignment;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $alignment
|
||||||
|
*/
|
||||||
|
public function setAlignment($alignment)
|
||||||
|
{
|
||||||
|
$this->alignment = $alignment;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
41
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/req/FieldPersonSign.php
vendored
Normal file
41
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/req/FieldPersonSign.php
vendored
Normal file
|
|
@ -0,0 +1,41 @@
|
||||||
|
<?php
|
||||||
|
namespace FddCloud\bean\req;
|
||||||
|
|
||||||
|
class FieldPersonSign
|
||||||
|
{
|
||||||
|
public $width;
|
||||||
|
public $height;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getWidth()
|
||||||
|
{
|
||||||
|
return $this->width;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $width
|
||||||
|
*/
|
||||||
|
public function setWidth($width)
|
||||||
|
{
|
||||||
|
$this->width = $width;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getHeight()
|
||||||
|
{
|
||||||
|
return $this->height;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $height
|
||||||
|
*/
|
||||||
|
public function setHeight($height)
|
||||||
|
{
|
||||||
|
$this->height = $height;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,76 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\req;
|
||||||
|
|
||||||
|
class FieldPicture
|
||||||
|
{
|
||||||
|
public $required;
|
||||||
|
public $defaultValue;
|
||||||
|
public $width;
|
||||||
|
public $height;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getRequired()
|
||||||
|
{
|
||||||
|
return $this->required;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $required
|
||||||
|
*/
|
||||||
|
public function setRequired($required)
|
||||||
|
{
|
||||||
|
$this->required = $required;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getDefaultValue()
|
||||||
|
{
|
||||||
|
return $this->defaultValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $defaultValue
|
||||||
|
*/
|
||||||
|
public function setDefaultValue($defaultValue)
|
||||||
|
{
|
||||||
|
$this->defaultValue = $defaultValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getWidth()
|
||||||
|
{
|
||||||
|
return $this->width;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $width
|
||||||
|
*/
|
||||||
|
public function setWidth($width)
|
||||||
|
{
|
||||||
|
$this->width = $width;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getHeight()
|
||||||
|
{
|
||||||
|
return $this->height;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $height
|
||||||
|
*/
|
||||||
|
public function setHeight($height)
|
||||||
|
{
|
||||||
|
$this->height = $height;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,132 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\req;
|
||||||
|
class FieldPosition
|
||||||
|
{
|
||||||
|
public $positionMode;
|
||||||
|
|
||||||
|
public $positionPageNo;
|
||||||
|
|
||||||
|
public $positionX;
|
||||||
|
|
||||||
|
public $positionY;
|
||||||
|
|
||||||
|
public $positionKeyword;
|
||||||
|
|
||||||
|
public $keywordOffsetX;
|
||||||
|
|
||||||
|
public $keywordOffsetY;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getPositionMode()
|
||||||
|
{
|
||||||
|
return $this->positionMode;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $positionMode
|
||||||
|
*/
|
||||||
|
public function setPositionMode($positionMode)
|
||||||
|
{
|
||||||
|
$this->positionMode = $positionMode;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getPositionPageNo()
|
||||||
|
{
|
||||||
|
return $this->positionPageNo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $positionPageNo
|
||||||
|
*/
|
||||||
|
public function setPositionPageNo($positionPageNo)
|
||||||
|
{
|
||||||
|
$this->positionPageNo = $positionPageNo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getPositionX()
|
||||||
|
{
|
||||||
|
return $this->positionX;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $positionX
|
||||||
|
*/
|
||||||
|
public function setPositionX($positionX)
|
||||||
|
{
|
||||||
|
$this->positionX = $positionX;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getPositionY()
|
||||||
|
{
|
||||||
|
return $this->positionY;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $positionY
|
||||||
|
*/
|
||||||
|
public function setPositionY($positionY)
|
||||||
|
{
|
||||||
|
$this->positionY = $positionY;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getPositionKeyword()
|
||||||
|
{
|
||||||
|
return $this->positionKeyword;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $positionKeyword
|
||||||
|
*/
|
||||||
|
public function setPositionKeyword($positionKeyword)
|
||||||
|
{
|
||||||
|
$this->positionKeyword = $positionKeyword;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getKeywordOffsetX()
|
||||||
|
{
|
||||||
|
return $this->keywordOffsetX;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $keywordOffsetX
|
||||||
|
*/
|
||||||
|
public function setKeywordOffsetX($keywordOffsetX)
|
||||||
|
{
|
||||||
|
$this->keywordOffsetX = $keywordOffsetX;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getKeywordOffsetY()
|
||||||
|
{
|
||||||
|
return $this->keywordOffsetY;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $keywordOffsetY
|
||||||
|
*/
|
||||||
|
public function setKeywordOffsetY($keywordOffsetY)
|
||||||
|
{
|
||||||
|
$this->keywordOffsetY = $keywordOffsetY;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
126
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/req/FieldRemarkSign.php
vendored
Normal file
126
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/req/FieldRemarkSign.php
vendored
Normal file
|
|
@ -0,0 +1,126 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\req;
|
||||||
|
class FieldRemarkSign
|
||||||
|
{
|
||||||
|
public $defaultValue;
|
||||||
|
public $tips;
|
||||||
|
public $editable;
|
||||||
|
public $width;
|
||||||
|
public $height;
|
||||||
|
public $fontType;
|
||||||
|
public $fontSize;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getDefaultValue()
|
||||||
|
{
|
||||||
|
return $this->defaultValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $defaultValue
|
||||||
|
*/
|
||||||
|
public function setDefaultValue($defaultValue)
|
||||||
|
{
|
||||||
|
$this->defaultValue = $defaultValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getTips()
|
||||||
|
{
|
||||||
|
return $this->tips;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $tips
|
||||||
|
*/
|
||||||
|
public function setTips($tips)
|
||||||
|
{
|
||||||
|
$this->tips = $tips;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getEditable()
|
||||||
|
{
|
||||||
|
return $this->editable;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $editable
|
||||||
|
*/
|
||||||
|
public function setEditable($editable)
|
||||||
|
{
|
||||||
|
$this->editable = $editable;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getWidth()
|
||||||
|
{
|
||||||
|
return $this->width;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $width
|
||||||
|
*/
|
||||||
|
public function setWidth($width)
|
||||||
|
{
|
||||||
|
$this->width = $width;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getHeight()
|
||||||
|
{
|
||||||
|
return $this->height;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $height
|
||||||
|
*/
|
||||||
|
public function setHeight($height)
|
||||||
|
{
|
||||||
|
$this->height = $height;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getFontType()
|
||||||
|
{
|
||||||
|
return $this->fontType;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $fontType
|
||||||
|
*/
|
||||||
|
public function setFontType($fontType)
|
||||||
|
{
|
||||||
|
$this->fontType = $fontType;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getFontSize()
|
||||||
|
{
|
||||||
|
return $this->fontSize;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $fontSize
|
||||||
|
*/
|
||||||
|
public function setFontSize($fontSize)
|
||||||
|
{
|
||||||
|
$this->fontSize = $fontSize;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
161
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/req/FieldSelectBox.php
vendored
Normal file
161
vendor/fadada/fasc-openapi-php-sdk/src/FddCloud/bean/req/FieldSelectBox.php
vendored
Normal file
|
|
@ -0,0 +1,161 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace FddCloud\bean\req;
|
||||||
|
|
||||||
|
class FieldSelectBox
|
||||||
|
{
|
||||||
|
public $required;
|
||||||
|
public $option;
|
||||||
|
public $defaultValue;
|
||||||
|
public $tips;
|
||||||
|
public $width;
|
||||||
|
public $height;
|
||||||
|
public $fontType;
|
||||||
|
public $fontSize;
|
||||||
|
public $alignment;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getRequired()
|
||||||
|
{
|
||||||
|
return $this->required;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $required
|
||||||
|
*/
|
||||||
|
public function setRequired($required)
|
||||||
|
{
|
||||||
|
$this->required = $required;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getOption()
|
||||||
|
{
|
||||||
|
return $this->option;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $option
|
||||||
|
*/
|
||||||
|
public function setOption($option)
|
||||||
|
{
|
||||||
|
$this->option = $option;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getDefaultValue()
|
||||||
|
{
|
||||||
|
return $this->defaultValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $defaultValue
|
||||||
|
*/
|
||||||
|
public function setDefaultValue($defaultValue)
|
||||||
|
{
|
||||||
|
$this->defaultValue = $defaultValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getTips()
|
||||||
|
{
|
||||||
|
return $this->tips;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $tips
|
||||||
|
*/
|
||||||
|
public function setTips($tips)
|
||||||
|
{
|
||||||
|
$this->tips = $tips;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getWidth()
|
||||||
|
{
|
||||||
|
return $this->width;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $width
|
||||||
|
*/
|
||||||
|
public function setWidth($width)
|
||||||
|
{
|
||||||
|
$this->width = $width;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getHeight()
|
||||||
|
{
|
||||||
|
return $this->height;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $height
|
||||||
|
*/
|
||||||
|
public function setHeight($height)
|
||||||
|
{
|
||||||
|
$this->height = $height;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getFontType()
|
||||||
|
{
|
||||||
|
return $this->fontType;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $fontType
|
||||||
|
*/
|
||||||
|
public function setFontType($fontType)
|
||||||
|
{
|
||||||
|
$this->fontType = $fontType;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getFontSize()
|
||||||
|
{
|
||||||
|
return $this->fontSize;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $fontSize
|
||||||
|
*/
|
||||||
|
public function setFontSize($fontSize)
|
||||||
|
{
|
||||||
|
$this->fontSize = $fontSize;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getAlignment()
|
||||||
|
{
|
||||||
|
return $this->alignment;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param mixed $alignment
|
||||||
|
*/
|
||||||
|
public function setAlignment($alignment)
|
||||||
|
{
|
||||||
|
$this->alignment = $alignment;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue