Files
fanyin-php/extend/Yzh/Model/Custom/CustomRequest.php

20 lines
390 B
PHP
Raw Normal View History

2025-08-11 16:56:05 +08:00
<?php
namespace Yzh\Model\Custom;
use Yzh\Model\BaseRequest;
/*
* 自定义请求
*/
class CustomRequest extends BaseRequest
{
public function __construct($params = array())
{
foreach (array_keys(get_object_vars($this)) as $property) {
if (isset($params[$property])) {
$this->{$property} = $params[$property];
}
}
}
}