- Mail in a Box: comandi per aggiungere/modificare/rimuovere le caselle di posta

- aggiunto idMyGroup: ospiti siti di gruppi (AbitareGliIblei)
This commit is contained in:
Surya Paolo
2024-09-12 14:49:00 +02:00
parent 13322a7e0b
commit f25e1f3992
18 changed files with 625 additions and 57 deletions

View File

@@ -64,6 +64,18 @@ const SiteSchema = new Schema({
cf_zoneId: {
type: String,
},
servermail: {
type: String,
},
servermailip: {
type: String,
},
dkim: {
type: String,
},
enable_servermail: {
type: Boolean,
},
portapp: {
type: String,
},
@@ -220,7 +232,10 @@ const SiteSchema = new Schema({
ecomm: {
enablePreOrders: { type: Boolean, default: false },
NoteExtraOnCart: { type: String, default: '' },
}
},
idMyGroup: {
type: String,
},
});
var Site = module.exports = mongoose.model('Site', SiteSchema);
@@ -291,6 +306,8 @@ module.exports.findAllIdApp = async function (idapp) {
rec.email_pwd = '';
rec.telegram_key = '';
rec.telegram_key_test = '';
rec.cf_token = '';
rec.cf_zoneId = '';
// rec.confsite = {};
return rec;