- AbitaregliIblei.it
- Server aggiornamenti agli script. - Editor HTML corretto un po'. - Record Mysql per server (appena iniziato)
This commit is contained in:
@@ -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
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user