测试用
This commit is contained in:
parent
80843d5084
commit
ea88c92d31
|
@ -1,25 +1,25 @@
|
||||||
#coding=utf-8
|
#coding=utf-8
|
||||||
|
|
||||||
module Mobile
|
module Mobile
|
||||||
require_relative 'middleware/error_handler'
|
# require_relative 'middleware/error_handler'
|
||||||
require_relative 'apis/auth'
|
# require_relative 'apis/auth'
|
||||||
require_relative 'apis/users'
|
# require_relative 'apis/users'
|
||||||
require_relative 'apis/courses'
|
# require_relative 'apis/courses'
|
||||||
require_relative 'apis/watches'
|
# require_relative 'apis/watches'
|
||||||
require_relative 'apis/upgrade'
|
# require_relative 'apis/upgrade'
|
||||||
require_relative 'apis/homeworks'
|
# require_relative 'apis/homeworks'
|
||||||
require_relative 'apis/comments'
|
# require_relative 'apis/comments'
|
||||||
require_relative 'apis/issues'
|
# require_relative 'apis/issues'
|
||||||
require_relative 'apis/activities'
|
# require_relative 'apis/activities'
|
||||||
require_relative 'apis/whomeworks'
|
# require_relative 'apis/whomeworks'
|
||||||
require_relative 'apis/newss'
|
# require_relative 'apis/newss'
|
||||||
require_relative 'apis/journal_for_messages'
|
# require_relative 'apis/journal_for_messages'
|
||||||
require_relative 'apis/messages'
|
# require_relative 'apis/messages'
|
||||||
require_relative 'apis/blog_comments'
|
# require_relative 'apis/blog_comments'
|
||||||
require_relative 'apis/new_comment'
|
# require_relative 'apis/new_comment'
|
||||||
require_relative 'apis/praise'
|
# require_relative 'apis/praise'
|
||||||
require_relative 'apis/resources'
|
# require_relative 'apis/resources'
|
||||||
require_relative 'apis/syllabuses'
|
# require_relative 'apis/syllabuses'
|
||||||
|
|
||||||
class API < Grape::API
|
class API < Grape::API
|
||||||
version 'v1', using: :path
|
version 'v1', using: :path
|
||||||
|
|
Loading…
Reference in New Issue