- AbitaregliIblei.it

- Server aggiornamenti agli script.
- Editor HTML corretto un po'.
- Record Mysql per server (appena iniziato)
This commit is contained in:
Surya Paolo
2024-09-06 19:57:17 +02:00
parent 8f4ff8ff9c
commit e9ac281125
50 changed files with 797 additions and 155 deletions

View File

@@ -2151,6 +2151,35 @@ export const useGlobalStore = defineStore('GlobalStore', {
})
},
async saveServerMysql(paramquery: any) {
return Api.SendReq('/admin/mysql', 'POST', paramquery)
.then((res) => {
return res.data
}).catch((error) => {
return false
})
},
async getCloudFlareTok(cmd: string, tok: string, zoneId: string, dnsRecordId: any = null, record: any = undefined) {
const mydata = {
cmd,
tokcheck: "php8.1_version_762321HSD121nJDokq@?!aFS.tar.gz",
tok,
zoneId,
dnsRecordId,
record,
}
return Api.SendReq('/admin/cloudflare', 'POST', mydata)
.then((res) => {
return res.data
}).catch((error) => {
return false
})
},
}
})