master
ljl 1 year ago
parent b0fa03534e
commit 10421d4694

@ -52,6 +52,8 @@ function pay_check($user_id) {
$ret['msg'] = ''; $ret['msg'] = '';
return $ret; return $ret;
} else { } else {
$destination = C('LOG_PATH'). 'pay_check/' . date('y_m_d').'.log';
\Think\Log::write('user_id: ' . $user_id . ' idcard: ' . $idcard, 'info', '', $destination);
$ret['code'] = 0; $ret['code'] = 0;
$ret['msg'] = '未成年禁止支付哟!'; $ret['msg'] = '未成年禁止支付哟!';
return $ret; return $ret;

Loading…
Cancel
Save