mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-07-12 04:54:33 +08:00
a3724e80b9
1、增加接口trustie_bind 2、根据server_type字段判断使用哪个数据库连接
9 lines
176 B
Ruby
9 lines
176 B
Ruby
json.step current_user.devops_step
|
|
json.cloud_account do
|
|
if @cloud_account && !current_user.devops_uninit?
|
|
json.ip @cloud_account.drone_ip
|
|
else
|
|
json.nil!
|
|
end
|
|
end
|