- pagine admin: Accounts, Movements e Circuits.
- add change min e max range circuiti (per tutti i record).
This commit is contained in:
@@ -35,6 +35,7 @@ const i18n = require('i18n');
|
||||
const FILELOG = 'filelog.txt';
|
||||
const FILEEVENTS = 'logevents.txt';
|
||||
const FILEMANAGERS = 'logmanagers.txt';
|
||||
const FILETRANSACTION = 'logtrans.txt';
|
||||
const FILEERRLOGIN = 'errlogin.txt';
|
||||
const FILESOSTITUZIONI = 'log_sostituzioni.txt';
|
||||
const FILEIP_TO_BAN = 'log_iptoban.txt';
|
||||
@@ -948,6 +949,15 @@ module.exports = {
|
||||
|
||||
},
|
||||
|
||||
sendMsgTelegramToAdmin: async function (idapp, msg) {
|
||||
|
||||
const telegrambot = require('../telegram/telegrambot');
|
||||
|
||||
const idtelegram = telegrambot.ADMIN_IDTELEGRAM_SERVER;
|
||||
|
||||
await telegrambot.sendMsgTelegramByIdTelegram(idapp, idtelegram, msg);
|
||||
},
|
||||
|
||||
sendNotifAndMsgTelegram: async function (idapp, userId, objmsg, telegram, msgextrateleg) {
|
||||
|
||||
if (userId) {
|
||||
@@ -2950,6 +2960,9 @@ module.exports = {
|
||||
writeManagersLog(mystr) {
|
||||
this.writelogfile(mystr, FILEMANAGERS);
|
||||
},
|
||||
writeTransactionLog(mystr) {
|
||||
this.writelogfile(mystr, FILETRANSACTION);
|
||||
},
|
||||
writeErrorLog(mystr) {
|
||||
this.writelogfile(mystr, FILEERRLOGIN);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user