仓库初始化
This commit is contained in:
42
extend/Yzh/Model/H5usersign/H5UserSignRequest.php
Normal file
42
extend/Yzh/Model/H5usersign/H5UserSignRequest.php
Normal file
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\H5usersign;
|
||||
|
||||
use Yzh\Model\BaseRequest;
|
||||
|
||||
/**
|
||||
* 申请签约请求
|
||||
* Class H5UserSignRequest
|
||||
*/
|
||||
class H5UserSignRequest extends BaseRequest
|
||||
{
|
||||
/**
|
||||
* H5 签约 token
|
||||
* @var string
|
||||
*/
|
||||
public $token;
|
||||
/**
|
||||
* H5 页面主题颜色
|
||||
* @var string
|
||||
*/
|
||||
public $color;
|
||||
/**
|
||||
* 回调 URL 地址
|
||||
* @var string
|
||||
*/
|
||||
public $url;
|
||||
/**
|
||||
* 跳转 URL
|
||||
* @var string
|
||||
*/
|
||||
public $redirect_url;
|
||||
|
||||
public function __construct($params = array())
|
||||
{
|
||||
foreach (array_keys(get_object_vars($this)) as $property) {
|
||||
if (isset($params[$property])) {
|
||||
$this->{$property} = $params[$property];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user