mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
ADD recommand projects api
This commit is contained in:
@@ -11,7 +11,7 @@ Rails.application.routes.draw do
|
||||
get 'attachments/entries/get_file', to: 'attachments#get_file'
|
||||
get 'attachments/download/:id', to: 'attachments#show'
|
||||
get 'attachments/download/:id/:filename', to: 'attachments#show'
|
||||
|
||||
|
||||
get 'auth/qq/callback', to: 'oauth/qq#create'
|
||||
get 'auth/failure', to: 'oauth/base#auth_failure'
|
||||
get 'auth/cas/callback', to: 'oauth/cas#create'
|
||||
@@ -19,7 +19,7 @@ Rails.application.routes.draw do
|
||||
get 'oauth/bind', to: 'oauth/educoder#bind'
|
||||
get 'oauth/register', to: 'oauth#register'
|
||||
post 'oauth/auto_register', to: 'oauth#auto_register'
|
||||
|
||||
|
||||
resources :edu_settings
|
||||
|
||||
scope '/api' do
|
||||
@@ -33,7 +33,7 @@ Rails.application.routes.draw do
|
||||
resources :compose_projects, only: [:create, :destroy]
|
||||
end
|
||||
resources :attachments do
|
||||
member do
|
||||
member do
|
||||
post :preview_attachment
|
||||
end
|
||||
collection do
|
||||
@@ -89,6 +89,7 @@ Rails.application.routes.draw do
|
||||
collection do
|
||||
post :migrate
|
||||
get :group_type_list
|
||||
get :recommend
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user