mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-28 21:46:36 +08:00
优化命名
This commit is contained in:
@@ -108,7 +108,7 @@ func (this *CreatePopupAction) RunPost(params struct {
|
||||
|
||||
// 设置Web中的重写规则
|
||||
_, err = this.RPC().HTTPWebRPC().UpdateHTTPWebRewriteRules(this.AdminContext(), &pb.UpdateHTTPWebRewriteRulesRequest{
|
||||
WebId: params.WebId,
|
||||
HttpWebId: params.WebId,
|
||||
RewriteRulesJSON: refsJSON,
|
||||
})
|
||||
if err != nil {
|
||||
|
||||
@@ -38,7 +38,7 @@ func (this *DeleteAction) RunPost(params struct {
|
||||
return
|
||||
}
|
||||
_, err = this.RPC().HTTPWebRPC().UpdateHTTPWebRewriteRules(this.AdminContext(), &pb.UpdateHTTPWebRewriteRulesRequest{
|
||||
WebId: params.WebId,
|
||||
HttpWebId: params.WebId,
|
||||
RewriteRulesJSON: refsJSON,
|
||||
})
|
||||
if err != nil {
|
||||
|
||||
@@ -40,7 +40,7 @@ func (this *SortAction) RunPost(params struct {
|
||||
return
|
||||
}
|
||||
_, err = this.RPC().HTTPWebRPC().UpdateHTTPWebRewriteRules(this.AdminContext(), &pb.UpdateHTTPWebRewriteRulesRequest{
|
||||
WebId: params.WebId,
|
||||
HttpWebId: params.WebId,
|
||||
RewriteRulesJSON: refsJSON,
|
||||
})
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user