如图,请问认证信息和用户代理这两个参数要怎么获取?
string(66) "{"code":"SYSTEM_ERROR","message":"系统繁忙,请稍后重试"}"
这是什么错误,没有明显提示
publicfunctionget_serial_no(){
url = 'https://api.mch.weixin.qq.com/v3/certificates'
sign = this->sign(url,'POST')
header[] = "User-Agent:"_SERVER'HTTP_USER_AGENT'
header[] = 'Accept:application/json'
header[] = 'Authorization:WECHATPAY2-SHA256-RSA2048 'sign
r = this->doCurlurl''header
var_dump(
UA自己设置,Auth需要生成https://wechatpay-api.gitbook.io/wechatpay-api-v3/qian-ming-zhi-nan-1/qian-ming-sheng-cheng