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