|
@@ -882,6 +882,8 @@ class OrdersController extends Controller
|
|
|
UserService::PushUserActionToQueue($action_type, $distribution_channel_id, $param);
|
|
|
//用户属性
|
|
|
$this->userProperty($uid,$price,$product->type,$order->activity_id);
|
|
|
+ //交换订单时间
|
|
|
+ $this->exchangeUpdateAndCreated($order->id);
|
|
|
return true;
|
|
|
} catch (\Exception $e) {
|
|
|
DB::rollback();
|
|
@@ -1029,6 +1031,8 @@ class OrdersController extends Controller
|
|
|
DB::commit();
|
|
|
$this->userProperty($uid,$price,$product->type,$order->activity_id);
|
|
|
$this->huaweiActivity($order->activity_id,$uid,$product_id);
|
|
|
+ //交换订单时间
|
|
|
+ $this->exchangeUpdateAndCreated($order->id);
|
|
|
//redis 删除未支付的uid
|
|
|
try {
|
|
|
$key = 'leyuee:to_send_not_pay_uid:distribution_channel_id:' . $distribution_channel_id;
|
|
@@ -1143,6 +1147,8 @@ class OrdersController extends Controller
|
|
|
//redis 删除未支付的uid
|
|
|
$key = 'leyuee:to_send_not_pay_uid:distribution_channel_id' . $distribution_channel_id;
|
|
|
Redis::hdel($key, $uid);
|
|
|
+ //交换订单时间
|
|
|
+ $this->exchangeUpdateAndCreated($order->id);
|
|
|
return response()->json(['ret_code' => '0000', 'ret_msg' => '交易成功']);
|
|
|
} catch (\Exception $e) {
|
|
|
DB::rollBack();
|
|
@@ -1277,7 +1283,8 @@ class OrdersController extends Controller
|
|
|
|
|
|
$this->userProperty($uid,$price,$product->type,$order->activity_id);
|
|
|
$this->huaweiActivity($order->activity_id,$uid,$product_id);
|
|
|
-
|
|
|
+ //交换订单时间
|
|
|
+ $this->exchangeUpdateAndCreated($order->id);
|
|
|
}
|
|
|
} else {
|
|
|
Log::info('wcback_palmpay_notify_sign_fail');
|