<?php
/**
 * @package merchant
 * @Author: Qinii
 * @Date: 2020/5/8
 */
namespace app\validate\merchant;

use think\Validate;

class GongProductValidate extends Validate
{
    protected $failException = true;

    protected $rule = [
        "title|商品名称" => 'require',
        "spu_id" => 'require',
        "skuId_info|规格详情" => 'require',
        "sys_id|系统ID" => 'require',
        "goods_id|商品ID" => 'require',
        "spuId_info|商品详情" => 'require',
        "sku_id" => "require",
    ];
}
