mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
根据pm管理需求新增issue接口
This commit is contained in:
@@ -44,6 +44,7 @@ defaults format: :json do
|
||||
collection do
|
||||
patch :batch_update
|
||||
delete :batch_destroy
|
||||
post :pm_create
|
||||
end
|
||||
|
||||
member do
|
||||
@@ -54,12 +55,15 @@ defaults format: :json do
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
resources :pm_issues
|
||||
|
||||
scope module: :issues do
|
||||
resources :issue_tags, except: [:new, :edit] do
|
||||
collection do
|
||||
get :pm_index
|
||||
collection do
|
||||
get :pm_index
|
||||
end
|
||||
end
|
||||
end
|
||||
resources :milestones, except: [:new, :edit]
|
||||
resources :issue_statues, only: [:index], controller: '/api/v1/issues/statues' do
|
||||
collection do
|
||||
|
||||
Reference in New Issue
Block a user