mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-25 08:20:26 +08:00
优化代码
This commit is contained in:
@@ -61,7 +61,7 @@ func (this *HTTPWebService) FindEnabledHTTPWeb(ctx context.Context, req *pb.Find
|
||||
|
||||
result := &pb.HTTPWeb{}
|
||||
result.Id = int64(web.Id)
|
||||
result.IsOn = web.IsOn == 1
|
||||
result.IsOn = web.IsOn
|
||||
return &pb.FindEnabledHTTPWebResponse{HttpWeb: result}, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user