Files
midi-php/extend/Yzh/Model/Custom/CustomRequest.php
2025-08-13 10:43:56 +08:00

20 lines
390 B
PHP

<?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];
}
}
}
}