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
-1
View File
@@ -21,7 +21,6 @@
}, },
"require": { "require": {
"php": ">= 8.0", "php": ">= 8.0",
"game-worker/kiri-client": "dev-master",
"game-worker/kiri-container": "~v1.9", "game-worker/kiri-container": "~v1.9",
"psr/container": "*" "psr/container": "*"
}, },
+3 -3
View File
@@ -392,13 +392,13 @@ class Redhat extends SmallProgram
* @return mixed * @return mixed
* 构建请求参数 * 构建请求参数
*/ */
private function generate(): array public function generate(): array
{ {
$requestParam = []; $requestParam = [];
$requestParam['charset'] = $this->getCharset(); $requestParam['charset'] = $this->getCharset();
$requestParam['nonce_str'] = $this->getNonceStr(); $requestParam['nonce_str'] = Help::random(30);
$requestParam['mch_billno'] = $this->getMchBillno(); $requestParam['mch_billno'] = $this->getMchBillno();
$requestParam['mch_id'] = $this->getMchId(); $requestParam['mch_id'] = $this->config->getMchId();
$requestParam['mch_name'] = $this->getMchName(); $requestParam['mch_name'] = $this->getMchName();
$requestParam['qqappid'] = $this->getQqappid(); $requestParam['qqappid'] = $this->getQqappid();
$requestParam['re_openid'] = $this->getReOpenid(); $requestParam['re_openid'] = $this->getReOpenid();