Default Changelist

This commit is contained in:
2023-08-18 17:40:46 +08:00
parent e87728266b
commit 48467b88ce
2 changed files with 3 additions and 4 deletions
+3 -3
View File
@@ -392,13 +392,13 @@ class Redhat extends SmallProgram
* @return mixed
* 构建请求参数
*/
private function generate(): array
public function generate(): array
{
$requestParam = [];
$requestParam['charset'] = $this->getCharset();
$requestParam['nonce_str'] = $this->getNonceStr();
$requestParam['nonce_str'] = Help::random(30);
$requestParam['mch_billno'] = $this->getMchBillno();
$requestParam['mch_id'] = $this->getMchId();
$requestParam['mch_id'] = $this->config->getMchId();
$requestParam['mch_name'] = $this->getMchName();
$requestParam['qqappid'] = $this->getQqappid();
$requestParam['re_openid'] = $this->getReOpenid();