小bug修复

This commit is contained in:
wangjinlei
2025-10-22 13:33:38 +08:00
parent bb308bea6f
commit 1de6125d4d
5 changed files with 36 additions and 2 deletions

View File

@@ -24,6 +24,7 @@ use think\exception\DbException;
use think\exception\PDOException;
use think\Queue;
use think\Validate;
use think\log;
class Order extends base{
protected $PAYPAL_CLIENT_ID="ATqBigrhcNdqR8J83aDjTOoJHsAVz0U45JRY4H0stcEcv0mQrMDHQmyrydQInYd1w4lJ1ee3Wsblm2WP";
@@ -59,6 +60,7 @@ class Order extends base{
return jsonError("Paystation responds with no results or result fail");
}
$tid = $data['transaction_id'];
Log::log("payStation:".$tid);
$paystation_info = $this->paystation_obj->where("transaction_id",$tid)->find();
if (!$paystation_info){
return jsonSuccess([]);