mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
新增:获取github、gitee分支接口
This commit is contained in:
@@ -118,6 +118,8 @@ defaults format: :json do
|
||||
end
|
||||
resources :branches, param: :name, only:[:index, :create, :destroy] do
|
||||
collection do
|
||||
get :gitee
|
||||
get :github
|
||||
get :all
|
||||
post :restore
|
||||
patch :update_default_branch
|
||||
|
||||
Reference in New Issue
Block a user