仓库初始化
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Authentication;
|
||||
|
||||
use Yzh\Model\BaseRequest;
|
||||
|
||||
/**
|
||||
* 银行卡四要素确认请求(上传短信验证码)请求
|
||||
* Class BankCardFourAuthConfirmRequest
|
||||
*/
|
||||
class BankCardFourAuthConfirmRequest extends BaseRequest
|
||||
{
|
||||
/**
|
||||
* 银行卡号
|
||||
* @var string
|
||||
*/
|
||||
public $card_no;
|
||||
/**
|
||||
* 身份证号码
|
||||
* @var string
|
||||
*/
|
||||
public $id_card;
|
||||
/**
|
||||
* 姓名
|
||||
* @var string
|
||||
*/
|
||||
public $real_name;
|
||||
/**
|
||||
* 银行预留手机号
|
||||
* @var string
|
||||
*/
|
||||
public $mobile;
|
||||
/**
|
||||
* 短信验证码
|
||||
* @var string
|
||||
*/
|
||||
public $captcha;
|
||||
/**
|
||||
* 交易凭证
|
||||
* @var string
|
||||
*/
|
||||
public $ref;
|
||||
|
||||
public function __construct($params = array())
|
||||
{
|
||||
foreach (array_keys(get_object_vars($this)) as $property) {
|
||||
if (isset($params[$property])) {
|
||||
$this->{$property} = $params[$property];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Authentication;
|
||||
|
||||
use Yzh\Model\BaseResponse;
|
||||
use Yzh\Model\ResponseInterface;
|
||||
|
||||
/**
|
||||
* 银行卡四要素确认请求(上传短信验证码)返回
|
||||
* Class BankCardFourAuthConfirmResponse
|
||||
*/
|
||||
class BankCardFourAuthConfirmResponse extends BaseResponse implements ResponseInterface
|
||||
{
|
||||
/**
|
||||
* 获取数据对象
|
||||
* @return BankCardFourAuthConfirmResponseData
|
||||
*/
|
||||
public function getData()
|
||||
{
|
||||
return $this->data;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置数据对象
|
||||
* @param array $data
|
||||
* @return self
|
||||
*/
|
||||
public function setData($data)
|
||||
{
|
||||
$this->data = new BankCardFourAuthConfirmResponseData($data);
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Authentication;
|
||||
|
||||
use Yzh\Model\BaseModel;
|
||||
use Yzh\Model\ResponseDataInterface;
|
||||
|
||||
/**
|
||||
* 银行卡四要素确认请求(上传短信验证码)返回
|
||||
* Class BankCardFourAuthConfirmResponseData
|
||||
*/
|
||||
class BankCardFourAuthConfirmResponseData extends BaseModel implements ResponseDataInterface
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Authentication;
|
||||
|
||||
use Yzh\Model\BaseRequest;
|
||||
|
||||
/**
|
||||
* 银行卡四要素鉴权请求(下发短信验证码)请求
|
||||
* Class BankCardFourAuthVerifyRequest
|
||||
*/
|
||||
class BankCardFourAuthVerifyRequest extends BaseRequest
|
||||
{
|
||||
/**
|
||||
* 银行卡号
|
||||
* @var string
|
||||
*/
|
||||
public $card_no;
|
||||
/**
|
||||
* 身份证号码
|
||||
* @var string
|
||||
*/
|
||||
public $id_card;
|
||||
/**
|
||||
* 姓名
|
||||
* @var string
|
||||
*/
|
||||
public $real_name;
|
||||
/**
|
||||
* 银行预留手机号
|
||||
* @var string
|
||||
*/
|
||||
public $mobile;
|
||||
|
||||
public function __construct($params = array())
|
||||
{
|
||||
foreach (array_keys(get_object_vars($this)) as $property) {
|
||||
if (isset($params[$property])) {
|
||||
$this->{$property} = $params[$property];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Authentication;
|
||||
|
||||
use Yzh\Model\BaseResponse;
|
||||
use Yzh\Model\ResponseInterface;
|
||||
|
||||
/**
|
||||
* 银行卡四要素鉴权请求(下发短信验证码)返回
|
||||
* Class BankCardFourAuthVerifyResponse
|
||||
*/
|
||||
class BankCardFourAuthVerifyResponse extends BaseResponse implements ResponseInterface
|
||||
{
|
||||
/**
|
||||
* 获取数据对象
|
||||
* @return BankCardFourAuthVerifyResponseData
|
||||
*/
|
||||
public function getData()
|
||||
{
|
||||
return $this->data;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置数据对象
|
||||
* @param array $data
|
||||
* @return self
|
||||
*/
|
||||
public function setData($data)
|
||||
{
|
||||
$this->data = new BankCardFourAuthVerifyResponseData($data);
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Authentication;
|
||||
|
||||
use Yzh\Model\BaseModel;
|
||||
use Yzh\Model\ResponseDataInterface;
|
||||
|
||||
/**
|
||||
* 银行卡四要素鉴权请求(下发短信验证码)返回
|
||||
* Class BankCardFourAuthVerifyResponseData
|
||||
*/
|
||||
class BankCardFourAuthVerifyResponseData extends BaseModel implements ResponseDataInterface
|
||||
{
|
||||
/**
|
||||
* 交易凭证
|
||||
* @var string
|
||||
*/
|
||||
protected $ref;
|
||||
|
||||
/**
|
||||
* 交易凭证
|
||||
* @var string $ref
|
||||
*/
|
||||
public function setRef($ref)
|
||||
{
|
||||
$this->ref = $ref;
|
||||
}
|
||||
|
||||
/**
|
||||
* 交易凭证
|
||||
* @return string
|
||||
*/
|
||||
public function getRef()
|
||||
{
|
||||
return $this->ref;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Authentication;
|
||||
|
||||
use Yzh\Model\BaseRequest;
|
||||
|
||||
/**
|
||||
* 银行卡四要素验证请求
|
||||
* Class BankCardFourVerifyRequest
|
||||
*/
|
||||
class BankCardFourVerifyRequest extends BaseRequest
|
||||
{
|
||||
/**
|
||||
* 银行卡号
|
||||
* @var string
|
||||
*/
|
||||
public $card_no;
|
||||
/**
|
||||
* 身份证号码
|
||||
* @var string
|
||||
*/
|
||||
public $id_card;
|
||||
/**
|
||||
* 姓名
|
||||
* @var string
|
||||
*/
|
||||
public $real_name;
|
||||
/**
|
||||
* 银行预留手机号
|
||||
* @var string
|
||||
*/
|
||||
public $mobile;
|
||||
|
||||
public function __construct($params = array())
|
||||
{
|
||||
foreach (array_keys(get_object_vars($this)) as $property) {
|
||||
if (isset($params[$property])) {
|
||||
$this->{$property} = $params[$property];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Authentication;
|
||||
|
||||
use Yzh\Model\BaseResponse;
|
||||
use Yzh\Model\ResponseInterface;
|
||||
|
||||
/**
|
||||
* 银行卡四要素验证返回
|
||||
* Class BankCardFourVerifyResponse
|
||||
*/
|
||||
class BankCardFourVerifyResponse extends BaseResponse implements ResponseInterface
|
||||
{
|
||||
/**
|
||||
* 获取数据对象
|
||||
* @return BankCardFourVerifyResponseData
|
||||
*/
|
||||
public function getData()
|
||||
{
|
||||
return $this->data;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置数据对象
|
||||
* @param array $data
|
||||
* @return self
|
||||
*/
|
||||
public function setData($data)
|
||||
{
|
||||
$this->data = new BankCardFourVerifyResponseData($data);
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Authentication;
|
||||
|
||||
use Yzh\Model\BaseModel;
|
||||
use Yzh\Model\ResponseDataInterface;
|
||||
|
||||
/**
|
||||
* 银行卡四要素验证返回
|
||||
* Class BankCardFourVerifyResponseData
|
||||
*/
|
||||
class BankCardFourVerifyResponseData extends BaseModel implements ResponseDataInterface
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Authentication;
|
||||
|
||||
use Yzh\Model\BaseRequest;
|
||||
|
||||
/**
|
||||
* 银行卡三要素验证请求
|
||||
* Class BankCardThreeVerifyRequest
|
||||
*/
|
||||
class BankCardThreeVerifyRequest extends BaseRequest
|
||||
{
|
||||
/**
|
||||
* 银行卡号
|
||||
* @var string
|
||||
*/
|
||||
public $card_no;
|
||||
/**
|
||||
* 身份证号码
|
||||
* @var string
|
||||
*/
|
||||
public $id_card;
|
||||
/**
|
||||
* 姓名
|
||||
* @var string
|
||||
*/
|
||||
public $real_name;
|
||||
|
||||
public function __construct($params = array())
|
||||
{
|
||||
foreach (array_keys(get_object_vars($this)) as $property) {
|
||||
if (isset($params[$property])) {
|
||||
$this->{$property} = $params[$property];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Authentication;
|
||||
|
||||
use Yzh\Model\BaseResponse;
|
||||
use Yzh\Model\ResponseInterface;
|
||||
|
||||
/**
|
||||
* 银行卡三要素验证返回
|
||||
* Class BankCardThreeVerifyResponse
|
||||
*/
|
||||
class BankCardThreeVerifyResponse extends BaseResponse implements ResponseInterface
|
||||
{
|
||||
/**
|
||||
* 获取数据对象
|
||||
* @return BankCardThreeVerifyResponseData
|
||||
*/
|
||||
public function getData()
|
||||
{
|
||||
return $this->data;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置数据对象
|
||||
* @param array $data
|
||||
* @return self
|
||||
*/
|
||||
public function setData($data)
|
||||
{
|
||||
$this->data = new BankCardThreeVerifyResponseData($data);
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Authentication;
|
||||
|
||||
use Yzh\Model\BaseModel;
|
||||
use Yzh\Model\ResponseDataInterface;
|
||||
|
||||
/**
|
||||
* 银行卡三要素验证返回
|
||||
* Class BankCardThreeVerifyResponseData
|
||||
*/
|
||||
class BankCardThreeVerifyResponseData extends BaseModel implements ResponseDataInterface
|
||||
{
|
||||
}
|
||||
32
extend/Yzh/Model/Authentication/GetBankCardInfoRequest.php
Normal file
32
extend/Yzh/Model/Authentication/GetBankCardInfoRequest.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Authentication;
|
||||
|
||||
use Yzh\Model\BaseRequest;
|
||||
|
||||
/**
|
||||
* 银行卡信息查询请求
|
||||
* Class GetBankCardInfoRequest
|
||||
*/
|
||||
class GetBankCardInfoRequest extends BaseRequest
|
||||
{
|
||||
/**
|
||||
* 银行卡号
|
||||
* @var string
|
||||
*/
|
||||
public $card_no;
|
||||
/**
|
||||
* 银行名称
|
||||
* @var string
|
||||
*/
|
||||
public $bank_name;
|
||||
|
||||
public function __construct($params = array())
|
||||
{
|
||||
foreach (array_keys(get_object_vars($this)) as $property) {
|
||||
if (isset($params[$property])) {
|
||||
$this->{$property} = $params[$property];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
33
extend/Yzh/Model/Authentication/GetBankCardInfoResponse.php
Normal file
33
extend/Yzh/Model/Authentication/GetBankCardInfoResponse.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Authentication;
|
||||
|
||||
use Yzh\Model\BaseResponse;
|
||||
use Yzh\Model\ResponseInterface;
|
||||
|
||||
/**
|
||||
* 银行卡信息查询返回
|
||||
* Class GetBankCardInfoResponse
|
||||
*/
|
||||
class GetBankCardInfoResponse extends BaseResponse implements ResponseInterface
|
||||
{
|
||||
/**
|
||||
* 获取数据对象
|
||||
* @return GetBankCardInfoResponseData
|
||||
*/
|
||||
public function getData()
|
||||
{
|
||||
return $this->data;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置数据对象
|
||||
* @param array $data
|
||||
* @return self
|
||||
*/
|
||||
public function setData($data)
|
||||
{
|
||||
$this->data = new GetBankCardInfoResponseData($data);
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
106
extend/Yzh/Model/Authentication/GetBankCardInfoResponseData.php
Normal file
106
extend/Yzh/Model/Authentication/GetBankCardInfoResponseData.php
Normal file
@@ -0,0 +1,106 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Authentication;
|
||||
|
||||
use Yzh\Model\BaseModel;
|
||||
use Yzh\Model\ResponseDataInterface;
|
||||
|
||||
/**
|
||||
* 银行卡信息查询返回
|
||||
* Class GetBankCardInfoResponseData
|
||||
*/
|
||||
class GetBankCardInfoResponseData extends BaseModel implements ResponseDataInterface
|
||||
{
|
||||
/**
|
||||
* 银行代码
|
||||
* @var string
|
||||
*/
|
||||
protected $bank_code;
|
||||
/**
|
||||
* 银行名称
|
||||
* @var string
|
||||
*/
|
||||
protected $bank_name;
|
||||
/**
|
||||
* 卡类型
|
||||
* @var string
|
||||
*/
|
||||
protected $card_type;
|
||||
/**
|
||||
* 云账户是否支持向该银行支付
|
||||
* @var bool
|
||||
*/
|
||||
protected $is_support;
|
||||
|
||||
/**
|
||||
* 银行代码
|
||||
* @var string $bank_code
|
||||
*/
|
||||
public function setBankCode($bank_code)
|
||||
{
|
||||
$this->bank_code = $bank_code;
|
||||
}
|
||||
|
||||
/**
|
||||
* 银行代码
|
||||
* @return string
|
||||
*/
|
||||
public function getBankCode()
|
||||
{
|
||||
return $this->bank_code;
|
||||
}
|
||||
|
||||
/**
|
||||
* 银行名称
|
||||
* @var string $bank_name
|
||||
*/
|
||||
public function setBankName($bank_name)
|
||||
{
|
||||
$this->bank_name = $bank_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* 银行名称
|
||||
* @return string
|
||||
*/
|
||||
public function getBankName()
|
||||
{
|
||||
return $this->bank_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* 卡类型
|
||||
* @var string $card_type
|
||||
*/
|
||||
public function setCardType($card_type)
|
||||
{
|
||||
$this->card_type = $card_type;
|
||||
}
|
||||
|
||||
/**
|
||||
* 卡类型
|
||||
* @return string
|
||||
*/
|
||||
public function getCardType()
|
||||
{
|
||||
return $this->card_type;
|
||||
}
|
||||
|
||||
/**
|
||||
* 云账户是否支持向该银行支付
|
||||
* @var bool $is_support
|
||||
*/
|
||||
public function setIsSupport($is_support)
|
||||
{
|
||||
$this->is_support = $is_support;
|
||||
}
|
||||
|
||||
/**
|
||||
* 云账户是否支持向该银行支付
|
||||
* @return bool
|
||||
*/
|
||||
public function getIsSupport()
|
||||
{
|
||||
return $this->is_support;
|
||||
}
|
||||
}
|
||||
32
extend/Yzh/Model/Authentication/IDCardVerifyRequest.php
Normal file
32
extend/Yzh/Model/Authentication/IDCardVerifyRequest.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Authentication;
|
||||
|
||||
use Yzh\Model\BaseRequest;
|
||||
|
||||
/**
|
||||
* 身份证实名验证请求
|
||||
* Class IDCardVerifyRequest
|
||||
*/
|
||||
class IDCardVerifyRequest extends BaseRequest
|
||||
{
|
||||
/**
|
||||
* 身份证号码
|
||||
* @var string
|
||||
*/
|
||||
public $id_card;
|
||||
/**
|
||||
* 姓名
|
||||
* @var string
|
||||
*/
|
||||
public $real_name;
|
||||
|
||||
public function __construct($params = array())
|
||||
{
|
||||
foreach (array_keys(get_object_vars($this)) as $property) {
|
||||
if (isset($params[$property])) {
|
||||
$this->{$property} = $params[$property];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
33
extend/Yzh/Model/Authentication/IDCardVerifyResponse.php
Normal file
33
extend/Yzh/Model/Authentication/IDCardVerifyResponse.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Authentication;
|
||||
|
||||
use Yzh\Model\BaseResponse;
|
||||
use Yzh\Model\ResponseInterface;
|
||||
|
||||
/**
|
||||
* 身份证实名验证返回
|
||||
* Class IDCardVerifyResponse
|
||||
*/
|
||||
class IDCardVerifyResponse extends BaseResponse implements ResponseInterface
|
||||
{
|
||||
/**
|
||||
* 获取数据对象
|
||||
* @return IDCardVerifyResponseData
|
||||
*/
|
||||
public function getData()
|
||||
{
|
||||
return $this->data;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置数据对象
|
||||
* @param array $data
|
||||
* @return self
|
||||
*/
|
||||
public function setData($data)
|
||||
{
|
||||
$this->data = new IDCardVerifyResponseData($data);
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
14
extend/Yzh/Model/Authentication/IDCardVerifyResponseData.php
Normal file
14
extend/Yzh/Model/Authentication/IDCardVerifyResponseData.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Authentication;
|
||||
|
||||
use Yzh\Model\BaseModel;
|
||||
use Yzh\Model\ResponseDataInterface;
|
||||
|
||||
/**
|
||||
* 身份证实名验证返回
|
||||
* Class IDCardVerifyResponseData
|
||||
*/
|
||||
class IDCardVerifyResponseData extends BaseModel implements ResponseDataInterface
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Authentication;
|
||||
|
||||
use Yzh\Model\BaseRequest;
|
||||
|
||||
/**
|
||||
* 非居民身份证验证名单审核结果回调通知
|
||||
* Class NotifyUserExemptedInfoRequest
|
||||
*/
|
||||
class NotifyUserExemptedInfoRequest extends BaseRequest
|
||||
{
|
||||
/**
|
||||
* 综合服务主体 ID
|
||||
* @var string
|
||||
*/
|
||||
public $broker_id;
|
||||
/**
|
||||
* 平台企业 ID
|
||||
* @var string
|
||||
*/
|
||||
public $dealer_id;
|
||||
/**
|
||||
* 姓名
|
||||
* @var string
|
||||
*/
|
||||
public $real_name;
|
||||
/**
|
||||
* 证件号
|
||||
* @var string
|
||||
*/
|
||||
public $id_card;
|
||||
/**
|
||||
* 审核状态
|
||||
* @var string
|
||||
*/
|
||||
public $status;
|
||||
/**
|
||||
* 流水号
|
||||
* @var string
|
||||
*/
|
||||
public $ref;
|
||||
/**
|
||||
* 审核信息
|
||||
* @var string
|
||||
*/
|
||||
public $comment;
|
||||
|
||||
public function __construct($params = array())
|
||||
{
|
||||
foreach (array_keys(get_object_vars($this)) as $property) {
|
||||
if (isset($params[$property])) {
|
||||
$this->{$property} = $params[$property];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
82
extend/Yzh/Model/Authentication/UserExemptedInfoRequest.php
Normal file
82
extend/Yzh/Model/Authentication/UserExemptedInfoRequest.php
Normal file
@@ -0,0 +1,82 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Authentication;
|
||||
|
||||
use Yzh\Model\BaseRequest;
|
||||
|
||||
/**
|
||||
* 上传非居民身份证验证名单信息请求
|
||||
* Class UserExemptedInfoRequest
|
||||
*/
|
||||
class UserExemptedInfoRequest extends BaseRequest
|
||||
{
|
||||
/**
|
||||
* 证件类型码
|
||||
* @var string
|
||||
*/
|
||||
public $card_type;
|
||||
/**
|
||||
* 证件号码
|
||||
* @var string
|
||||
*/
|
||||
public $id_card;
|
||||
/**
|
||||
* 姓名
|
||||
* @var string
|
||||
*/
|
||||
public $real_name;
|
||||
/**
|
||||
* 申请备注
|
||||
* @var string
|
||||
*/
|
||||
public $comment_apply;
|
||||
/**
|
||||
* 综合服务主体 ID
|
||||
* @var string
|
||||
*/
|
||||
public $broker_id;
|
||||
/**
|
||||
* 平台企业 ID
|
||||
* @var string
|
||||
*/
|
||||
public $dealer_id;
|
||||
/**
|
||||
* 人员信息图片
|
||||
* @var string[]
|
||||
*/
|
||||
public $user_images;
|
||||
/**
|
||||
* 国别(地区)代码
|
||||
* @var string
|
||||
*/
|
||||
public $country;
|
||||
/**
|
||||
* 出生日期
|
||||
* @var string
|
||||
*/
|
||||
public $birthday;
|
||||
/**
|
||||
* 性别
|
||||
* @var string
|
||||
*/
|
||||
public $gender;
|
||||
/**
|
||||
* 回调地址
|
||||
* @var string
|
||||
*/
|
||||
public $notify_url;
|
||||
/**
|
||||
* 请求流水号
|
||||
* @var string
|
||||
*/
|
||||
public $ref;
|
||||
|
||||
public function __construct($params = array())
|
||||
{
|
||||
foreach (array_keys(get_object_vars($this)) as $property) {
|
||||
if (isset($params[$property])) {
|
||||
$this->{$property} = $params[$property];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
33
extend/Yzh/Model/Authentication/UserExemptedInfoResponse.php
Normal file
33
extend/Yzh/Model/Authentication/UserExemptedInfoResponse.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Authentication;
|
||||
|
||||
use Yzh\Model\BaseResponse;
|
||||
use Yzh\Model\ResponseInterface;
|
||||
|
||||
/**
|
||||
* 上传非居民身份证验证名单信息返回
|
||||
* Class UserExemptedInfoResponse
|
||||
*/
|
||||
class UserExemptedInfoResponse extends BaseResponse implements ResponseInterface
|
||||
{
|
||||
/**
|
||||
* 获取数据对象
|
||||
* @return UserExemptedInfoResponseData
|
||||
*/
|
||||
public function getData()
|
||||
{
|
||||
return $this->data;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置数据对象
|
||||
* @param array $data
|
||||
* @return self
|
||||
*/
|
||||
public function setData($data)
|
||||
{
|
||||
$this->data = new UserExemptedInfoResponseData($data);
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Authentication;
|
||||
|
||||
use Yzh\Model\BaseModel;
|
||||
use Yzh\Model\ResponseDataInterface;
|
||||
|
||||
/**
|
||||
* 上传非居民身份证验证名单信息返回
|
||||
* Class UserExemptedInfoResponseData
|
||||
*/
|
||||
class UserExemptedInfoResponseData extends BaseModel implements ResponseDataInterface
|
||||
{
|
||||
/**
|
||||
* 是否上传成功
|
||||
* @var string
|
||||
*/
|
||||
protected $ok;
|
||||
|
||||
/**
|
||||
* 是否上传成功
|
||||
* @var string $ok
|
||||
*/
|
||||
public function setOk($ok)
|
||||
{
|
||||
$this->ok = $ok;
|
||||
}
|
||||
|
||||
/**
|
||||
* 是否上传成功
|
||||
* @return string
|
||||
*/
|
||||
public function getOk()
|
||||
{
|
||||
return $this->ok;
|
||||
}
|
||||
}
|
||||
32
extend/Yzh/Model/Authentication/UserWhiteCheckRequest.php
Normal file
32
extend/Yzh/Model/Authentication/UserWhiteCheckRequest.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Authentication;
|
||||
|
||||
use Yzh\Model\BaseRequest;
|
||||
|
||||
/**
|
||||
* 查看用户是否在非居民身份证验证名单中请求
|
||||
* Class UserWhiteCheckRequest
|
||||
*/
|
||||
class UserWhiteCheckRequest extends BaseRequest
|
||||
{
|
||||
/**
|
||||
* 证件号码
|
||||
* @var string
|
||||
*/
|
||||
public $id_card;
|
||||
/**
|
||||
* 姓名
|
||||
* @var string
|
||||
*/
|
||||
public $real_name;
|
||||
|
||||
public function __construct($params = array())
|
||||
{
|
||||
foreach (array_keys(get_object_vars($this)) as $property) {
|
||||
if (isset($params[$property])) {
|
||||
$this->{$property} = $params[$property];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
33
extend/Yzh/Model/Authentication/UserWhiteCheckResponse.php
Normal file
33
extend/Yzh/Model/Authentication/UserWhiteCheckResponse.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Authentication;
|
||||
|
||||
use Yzh\Model\BaseResponse;
|
||||
use Yzh\Model\ResponseInterface;
|
||||
|
||||
/**
|
||||
* 查看用户是否在非居民身份证验证名单中返回
|
||||
* Class UserWhiteCheckResponse
|
||||
*/
|
||||
class UserWhiteCheckResponse extends BaseResponse implements ResponseInterface
|
||||
{
|
||||
/**
|
||||
* 获取数据对象
|
||||
* @return UserWhiteCheckResponseData
|
||||
*/
|
||||
public function getData()
|
||||
{
|
||||
return $this->data;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置数据对象
|
||||
* @param array $data
|
||||
* @return self
|
||||
*/
|
||||
public function setData($data)
|
||||
{
|
||||
$this->data = new UserWhiteCheckResponseData($data);
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Authentication;
|
||||
|
||||
use Yzh\Model\BaseModel;
|
||||
use Yzh\Model\ResponseDataInterface;
|
||||
|
||||
/**
|
||||
* 查看用户是否在非居民身份证验证名单中返回
|
||||
* Class UserWhiteCheckResponseData
|
||||
*/
|
||||
class UserWhiteCheckResponseData extends BaseModel implements ResponseDataInterface
|
||||
{
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
protected $ok;
|
||||
|
||||
/**
|
||||
* @var bool $ok
|
||||
*/
|
||||
public function setOk($ok)
|
||||
{
|
||||
$this->ok = $ok;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function getOk()
|
||||
{
|
||||
return $this->ok;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user