mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-20 16:20:27 +08:00
实现基础的DDoS防护
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
Tea.context(function () {
|
||||
this.success = NotifyReloadSuccess("保存成功")
|
||||
this.checkResult = null
|
||||
|
||||
this.$post(".status")
|
||||
.params({
|
||||
nodeId: this.nodeId
|
||||
})
|
||||
.success(function (resp) {
|
||||
let results = resp.data.results
|
||||
if (results.length > 0) {
|
||||
this.checkResult = results[0]
|
||||
}
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user