Skip to content

Commit

Permalink
fix: 修复app_name错误
Browse files Browse the repository at this point in the history
  • Loading branch information
ankio committed May 3, 2022
1 parent eae96a1 commit 0d1f992
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/model/Order.php
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ public function notify($id): array
//不管是不是已支付(我觉得你付过了~不然调用我干嘛),直接删除临时表里面的内容
$app = new App();

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

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

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

0 comments on commit 0d1f992

Please sign in to comment.