Merge branch 'master' of github.com:hainatravel/information-system

hotfix/paypal-note
LiaoYijun 4 years ago
commit 5ab0b4ceb8

@ -231,7 +231,7 @@ class Logs_model extends CI_Model
,log_datetime
)
VALUES
( ?,?,N?,?,?,GETDATE())
( ?,?,N?,?,N?,GETDATE())
";
$query = $this->HT->query($sql, array('write_test', 0, '数据库写入测试', 'system', 'system'));
@ -254,7 +254,7 @@ class Logs_model extends CI_Model
. " ) \n"
. "VALUES \n"
. " ( \n"
. " ?, ?, N?, ?, ?, GETDATE() \n"
. " ?, ?, N?, ?, N?, GETDATE() \n"
. " )";
$query = $this->HT->query($sql, array($log_action, $is_id, $log_content, $admin_info['OPI_Code'], $admin_info['OPI_Name']));
$this->insert_id = $this->HT->last_id('infoLogs');

Loading…
Cancel
Save