cmbYouku_Api/app/validate/IdRequireValidate.php

17 lines
240 B
PHP

<?php
declare (strict_types=1);
namespace app\validate;
use think\Validate;
/**
* @author canny
* @date 2023/11/29 14:03
**/
class IdRequireValidate extends Validate
{
protected $rule = [
'id' => 'require|integer'
];
}