mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-07-13 21:44:32 +08:00
增加trustie提供服务器流程。
1、增加接口trustie_bind 2、根据server_type字段判断使用哪个数据库连接
This commit is contained in:
+7
-1
@@ -1,5 +1,5 @@
|
||||
Rails.application.routes.draw do
|
||||
|
||||
|
||||
require 'sidekiq/web'
|
||||
require 'admin_constraint'
|
||||
|
||||
@@ -162,6 +162,12 @@ Rails.application.routes.draw do
|
||||
as: :bind_cloud_acclount
|
||||
)
|
||||
|
||||
post(
|
||||
'/cloud_account/trustie_bind',
|
||||
to: 'cloud_accounts#trustie_bind',
|
||||
as: :trustie_bind_cloud_acclount
|
||||
)
|
||||
|
||||
get(
|
||||
'/cloud_account',
|
||||
to: 'cloud_accounts#show',
|
||||
|
||||
Reference in New Issue
Block a user