@ -52,6 +52,8 @@ function pay_check($user_id) {
$ret['msg'] = '';
return $ret;
} 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['msg'] = '未成年禁止支付哟!';