// +---------------------------------------------------------------------- declare (strict_types=1); namespace app\api\validate\store; use think\Validate; /** * 验证类:订单提交 * Class Checkout * @package app\api\validate\order */ class Store extends Validate { /** * 验证规则 * @var array */ protected $rule = [ 'store_name' => ['require'], 'store_cat' => ['require'], 'store_address' => ['require',], 'store_brand' => ['require',], 'user_name' => ['require',], 'user_position' => ['require',], 'user_mobile' => ['require', 'number'], 'user_wx' => ['require',], 'user_email' => ['require',], 'store_model' => ['require',], 'store_type' => ['require',], ]; }