Merge branch 'dev_aliyun' of https://bdgit.educoder.net/Hjqreturn/educoder into dev_aliyun
* 'dev_aliyun' of https://bdgit.educoder.net/Hjqreturn/educoder: (23 commits) 调整 fixbug 优化调试代码 测试性能 移动到目录 优化 优化 优化列表 调整 实训首页按钮调整 二级目录的调整 实训关卡列表增加开启挑战的按钮 TPM关卡列表,每一关卡增加开启挑战入口 签到的调整 调整 视频二级目录 签到调整 调整 签到调整 调整 ...newyslclassrooms
commit
cd62b923bc
@ -1,3 +1,8 @@
|
|||||||
json.count @count
|
json.count @count
|
||||||
json.videos @videos, partial: 'users/videos/video', as: :video
|
json.videos @videos, partial: 'users/videos/video', as: :video
|
||||||
json.course_id @course.id
|
json.course_id @course.id
|
||||||
|
if @category.present?
|
||||||
|
json.category_id @category.id
|
||||||
|
json.category_name @category.name
|
||||||
|
end
|
||||||
|
json.course_module_id @video_module&.id
|
@ -0,0 +1,5 @@
|
|||||||
|
class MigrateMemberAttendanceMode < ActiveRecord::Migration[5.2]
|
||||||
|
def change
|
||||||
|
CourseMemberAttendance.where(attendance_mode: 3).update_all(attendance_mode: 4)
|
||||||
|
end
|
||||||
|
end
|
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 147 KiB |
Loading…
Reference in new issue