nk-lihaink-cn/app/admin/validate/StoreProductValidate.php
2023-02-21 17:03:11 +08:00

20 lines
396 B
PHP

<?php
/**
* @copyright Copyright (c) 2021 勾股工作室
* @license https://opensource.org/licenses/Apache-2.0
* @link https://www.gougucms.com
*/
namespace app\admin\validate;
use think\Validate;
class StoreProductValidate extends Validate
{
protected $rule = [
'store_name' => 'require',
];
protected $message = [
'store_name.require' => '商品名称不能为空',
];
}