版本库拖拽功能

dev_daiao
daiao 5 years ago
parent b62914743d
commit f6288d34bf

@ -8,7 +8,8 @@ class GitService
class << self
['add_repository', 'fork_repository', 'delete_repository', 'file_tree', 'update_file', 'file_content', 'commits', 'add_tree', 'delete_file', 'update_file_base64'].each do |method|
['add_repository', 'fork_repository', 'delete_repository', 'file_tree', 'update_file', 'file_content', 'commits',
'add_tree', 'delete_file', 'update_file_base64'].each do |method|
define_method method do |params|
post(method, params)
end

Loading…
Cancel
Save