This commit is contained in:
2022-09-15 15:34:56 +08:00
parent f52b5a1c95
commit de16c05995
2 changed files with 10 additions and 10 deletions

View File

@@ -99,13 +99,13 @@ class Wechat
exit('订单信息不存在');
}
if (\app\model\Order::where([
"user_id" => $order['user_id'],
"student_id" => $order['student_id'],
"status" => 1,
])->find()) {
exit('已经为该孩子助力过了');
}
// if (\app\model\Order::where([
// "user_id" => $order['user_id'],
// "student_id" => $order['student_id'],
// "status" => 1,
// ])->find()) {
// exit('已经为该孩子助力过了');
// }
$notifyUrl = Route::buildUrl('wechat/paid')
->suffix(false)