在选择线路弹窗可以从域名中获取线路

This commit is contained in:
GoEdgeLab
2021-09-06 09:16:19 +08:00
parent aa88cef7fd
commit 1c2ed070ca
8 changed files with 98 additions and 4 deletions

View File

@@ -0,0 +1,13 @@
Tea.context(function () {
this.syncDomain = function (domainId) {
this.$post(".syncDomain")
.params({
domainId: domainId
})
.success(function () {
teaweb.success("从服务商获取线路成功", function () {
window.location.reload()
})
})
}
})