新增:获取github、gitee分支接口

This commit is contained in:
2024-05-14 11:05:00 +08:00
parent 9462e14628
commit 5559330706
2 changed files with 25 additions and 0 deletions

View File

@@ -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