1234567891011121314 |
- "use strict";
- var log = require('../util/log');
- var imRepo = require("../repository/im.repo");
- function saveSystemMsg(to_uid, type, title, content, data, handler) {
- imRepo.execQuery({
- "sql": "INSERT INTO system (to_uid,type,title,content,data) VALUES (?,?,?,?,?)",
- "args": [to_uid, type, title, content, data],
- "handler": handler
- });
- }
- exports.saveSystemMsg = saveSystemMsg;
|