小bug修复
This commit is contained in:
@@ -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([]);
|
||||
|
||||
Reference in New Issue
Block a user