Skip to content

EasyWeChat 6.x 请求怎么添加自定义参数? #2749

Answered by qianshi-tech
qianshi-tech asked this question in Q&A
Discussion options

You must be logged in to vote
$this->app->getClient()->post($url,[
            "json"  =>  $param,
            "query" =>  ["pay_sig"=>self::vPaySig($url,$param)]
        ])->toArray(false);

应该是这样吧

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@qianshi-tech
Comment options

@qianshi-tech
Comment options

Answer selected by qianshi-tech
@overtrue
Comment options

@qianshi-tech
Comment options

@overtrue
Comment options

@qianshi-tech
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants