首页动态优化
This commit is contained in:
parent
a4734bb135
commit
f521ca424d
|
@ -250,10 +250,8 @@ module Mobile
|
||||||
end
|
end
|
||||||
get "course_dynamic/:id" do
|
get "course_dynamic/:id" do
|
||||||
cs = CoursesService.new
|
cs = CoursesService.new
|
||||||
p Time.now.to_s
|
|
||||||
count = cs.all_course_dynamics(params,current_user)
|
count = cs.all_course_dynamics(params,current_user)
|
||||||
present :data, count, with: Mobile::Entities::CourseDynamic
|
present :data, count, with: Mobile::Entities::CourseDynamic
|
||||||
p Time.now.to_s
|
|
||||||
present :status, 0
|
present :status, 0
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue