|
@@ -484,12 +484,18 @@ class predepositModel extends Model {
|
|
|
if (!$update) {
|
|
|
throw new Exception('操作失败');
|
|
|
}
|
|
|
+
|
|
|
+ if(defined('SUPPORT_UNUSE_PDLOG') && SUPPORT_UNUSE_PDLOG === true) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+
|
|
|
$insert = $this->table('pd_log')->insert($data_log);
|
|
|
if (!$insert) {
|
|
|
throw new Exception('操作失败');
|
|
|
}
|
|
|
|
|
|
- if(!$fRefill) {
|
|
|
+ if(!$fRefill)
|
|
|
+ {
|
|
|
// 支付成功发送买家消息
|
|
|
$param = [];
|
|
|
$param['code'] = 'predeposit_change';
|
|
@@ -498,8 +504,8 @@ class predepositModel extends Model {
|
|
|
$data_msg['freeze_amount'] = ncPriceFormat($data_msg['freeze_amount']);
|
|
|
$param['param'] = $data_msg;
|
|
|
QueueClient::push('sendMemberMsg', $param);
|
|
|
+ return $insert;
|
|
|
}
|
|
|
- return $insert;
|
|
|
}
|
|
|
|
|
|
/**
|