"use strict"; var log = require('../util/log'); var mysql_im = require("../db/mysql_im"); function saveSystemMsg(to_uid, type, title, content, data, handler) { mysql_im.execQuery({ "sql": "INSERT INTO msg_system (to_uid,type,title,content,data) VALUES (?,?,?,?,?)", "args": [to_uid, type, title, content, data], "handler": handler }); } exports.saveSystemMsg = saveSystemMsg;