清理实训评论'

dev_local_2
daiao 5 years ago
parent e1c0543559
commit 5053134666

@ -24,6 +24,8 @@ class InitializationDataController < ApplicationController
Course.where(tea_id: 1).destroy_all
# 清理垃圾高校
School.where("id > 1").destroy_all
# 清理实训评论
Discuss.destroy_all
normal_status("初始化数据成功!")
end
end

Loading…
Cancel
Save