新增:获取代码溯源系统维护信息接口

This commit is contained in:
yystopf 2022-08-12 17:23:19 +08:00
parent 13472b2311
commit 3e352d3c7c
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
class Trace::SystemInfoService < Trace::ClientService
attr_accessor :token
def initialize(token)
@token = token
end
def call
result = authed_get(token, url)
response = render_response(result)
end
private
def url
'/user/systemInfo'.freeze
end
end