|
|
@@ -87,7 +87,7 @@ class PurchaseClearClass extends BaseClass
|
|
|
}
|
|
|
|
|
|
//第三方支付回调 ssh 2021.4.28
|
|
|
- public static function thirdPay($payWay, $orderSn, $totalFee, $attach)
|
|
|
+ public static function thirdPay($payWay, $orderSn, $totalFee, $attach,$transactionId)
|
|
|
{
|
|
|
$info = self::getByCondition(['orderSn' => $orderSn], true);
|
|
|
if (empty($info)) {
|
|
|
@@ -105,6 +105,10 @@ class PurchaseClearClass extends BaseClass
|
|
|
$id = $info->id;
|
|
|
$info = self::getLockById($id);
|
|
|
|
|
|
+ $info->onlinePay = dict::getDict('onlinePay', 'yes');
|
|
|
+ $info->thirdNo = $transactionId;
|
|
|
+ $info->save();
|
|
|
+
|
|
|
self::complete($info, $payWay);
|
|
|
}
|
|
|
|