w7corp / easywechat

📦 一个 PHP 微信 SDK

Home Page:https://easywechat.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

在小程序api调用中,遇到query相关关键字的建议

mwz747512353 opened this issue · comments

在小程序api调用中,如果参数中有query相关关键字,程序会unset该参数,建议按照如下方式调用:
$wechat->getClient()->post('/wxa/generate_urllink', ['json' => ['path' => 'i-m-a-path-string', 'query' =>'wechat-api-specific-query']])