Exemple #1
0
        private void writeToNet(string action, string table, string content)
        {
            string _sql = "insert into {0} ({1},cPerson) values ({2}," + MSession.get(MSession.getClientKey()) + ");", _return = MString.format(_sql, R.Table.CM_LOGS, "action,tid,content,y,m,d", "'" + action + "','" + table + "','" + Filter.filterNormalStr(Filter.filterSqlStr(content)) + "','" + DateTime.Now.Year + "','" + DateTime.Now.Month + "','" + DateTime.Now.Day + "'");

            helper.execNonQuery(_return);
        }
Exemple #2
0
 public MEmail(BaseApi _api)
 {
     api = _api; T_EMAIL_USER = T_PREFIX + MSession.getClientKey();
 }