|
@@ -321,8 +321,10 @@ class Order extends Api
|
|
|
try {
|
|
try {
|
|
|
//更新订单支付状态为 待确认
|
|
//更新订单支付状态为 待确认
|
|
|
OfflineRechargeRecordModel::create([
|
|
OfflineRechargeRecordModel::create([
|
|
|
|
|
+ 'order_no' => $this->auth->id . substr((string)time(), -8),//会员ID+时间戳后8位
|
|
|
'user_id' => $this->auth->id,
|
|
'user_id' => $this->auth->id,
|
|
|
'amount' => $amount,
|
|
'amount' => $amount,
|
|
|
|
|
+ 'symbol' => Asset::USDT,
|
|
|
'status' => OfflineRechargeRecordModel::StatusConfirm,
|
|
'status' => OfflineRechargeRecordModel::StatusConfirm,
|
|
|
'tx_hash' => $tx_hash,
|
|
'tx_hash' => $tx_hash,
|
|
|
'from_address' => $this->auth->address,
|
|
'from_address' => $this->auth->address,
|