add project pm

This commit is contained in:
呱呱呱
2023-11-02 15:04:43 +08:00
parent dd30341f6e
commit 840bbff88a
9 changed files with 43 additions and 10 deletions

View File

@@ -127,7 +127,6 @@ Rails.application.routes.draw do
# blockchain related routes
get 'users/blockchain/balance', to: 'users#blockchain_balance'
get 'projects/mp_show', to: 'projects#mp_show'
post 'users/blockchain/balance_project', to: 'users#blockchain_balance_one_project'
post 'users/blockchain/transfer', to: 'users#blockchain_transfer'
post 'users/blockchain/exchange', to: 'users#blockchain_exchange'

View File

@@ -16,6 +16,11 @@ defaults format: :json do
end
end
end
resources :projects do
collection do
get :convert
end
end
end
namespace :v1 do