src/Card/Card.php
public function activate($info = [], $cardType = 'member_card')
    {
        if ($cardType === 'general_card') {
            return $this->parseJSON('json', [self::API_ACTIVATE_GENERAL_CARD, $info]);
        }

        return $this->parseJSON('json', [self::API_ACTIVATE_MEMBER_CARD, $info]);
    }
public function activate($info = [], $cardType = 'member_card')
    {
        if ($cardType === 'general_card') {
            return $this->parseJSON('json', [self::API_ACTIVATE_GENERAL_CARD, $info]);
        }

        return $this->parseJSON('json', [self::API_ACTIVATE_MEMBER_CARD, $info]);
    }
public function activate ( $ info = [ ] , $ cardType = 'member_card' ) { if ( $ cardType === 'general_card' ) { return $ this -> parseJSON ( 'json' , [ self :: API_ACTIVATE_GENERAL_CARD , $ info ] ) ; } return $ this -> parseJSON ( 'json' , [ self :: API_ACTIVATE_MEMBER_CARD , $ info ] ) ; }
会员卡接口激活.

@param array $info

@return \EasyWeChat\Support\Collection
会员卡接口激活 .