src/Card/Card.php
public function createSubMerchant(array $info = [])
    {
        $params = [
            'info' => Arr::only($info, [
                'brand_name',
                'logo_url',
                'protocol',
                'end_time',
                'primary_category_id',
                'secondary_category_id',
                'agreement_media_id',
                'operator_media_id',
                'app_id',
            ]),
        ];

        return $this->parseJSON('json', [self::API_CREATE_SUB_MERCHANT, $params]);
    }
public function createSubMerchant(array $info = [])
    {
        $params = [
            'info' => Arr::only($info, [
                'brand_name',
                'logo_url',
                'protocol',
                'end_time',
                'primary_category_id',
                'secondary_category_id',
                'agreement_media_id',
                'operator_media_id',
                'app_id',
            ]),
        ];

        return $this->parseJSON('json', [self::API_CREATE_SUB_MERCHANT, $params]);
    }
public function createSubMerchant ( array $ info = [ ] ) { $ params = [ 'info' => Arr :: only ( $ info , [ 'brand_name' , 'logo_url' , 'protocol' , 'end_time' , 'primary_category_id' , 'secondary_category_id' , 'agreement_media_id' , 'operator_media_id' , 'app_id' , ] ) , ] ; return $ this -> parseJSON ( 'json' , [ self :: API_CREATE_SUB_MERCHANT , $ params ] ) ; }
添加子商户.

@param array $info

@return \EasyWeChat\Support\Collection
添加子商户 .