Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用企业号的时候 接入失败啊,在验证url的时候 #104

Closed
chenzipeng1990 opened this issue Sep 16, 2015 · 1 comment
Closed

Comments

@chenzipeng1990
Copy link

我看到有EncodingAESKey,
而且在企业号是必须要求填写这个 key的
然而 我看到 在Server->Serve() 中却没用使用到 这个EncodingAESKey?

@tinpont
Copy link

tinpont commented Sep 18, 2015

Server第三个参数就是EncodingAESKey

   /**
     * constructor
     *
     * @param string $appId
     * @param string $token
     * @param string $encodingAESKey
     */
    public function __construct($appId, $token, $encodingAESKey = null)
    {
        $this->listeners      = new Bag();
        $this->appId          = $appId;
        $this->token          = $token;
        $this->encodingAESKey = $encodingAESKey;
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants