Skip to content

Commit 0d1f992

Browse files
author
ankio
committed
fix: 修复app_name错误
1 parent eae96a1 commit 0d1f992

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/model/Order.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ public function notify($id): array
368368
//不管是不是已支付(我觉得你付过了~不然调用我干嘛),直接删除临时表里面的内容
369369
$app = new App();
370370

371-
$AppRes = $app->getData($res["appid"], "connect_key");
371+
$AppRes = $app->getData($res["appid"]);
372372

373373
if(empty($AppRes)){
374374
return ["code"=>ConstData::ApiError,"msg"=>"不存在这个应用"];
@@ -441,6 +441,7 @@ public function notify($id): array
441441
$mail = new Email();
442442

443443
$count = doubleval($arr["price"])-doubleval($arr["reallyPrice"]);
444+
// dump ($AppRes,true);
444445
$tplData = [
445446
"logo" => Response::getAddress().DS."ui".DS."static".DS."img".DS."face.jpg",
446447
"sitename" =>$pay["pay"]["siteName"],

0 commit comments

Comments
 (0)