|
|
|
@ -297,6 +297,7 @@ class ShixunsController < ApplicationController
|
|
|
|
|
|
|
|
|
|
# 首页实训导航点击时,type参数
|
|
|
|
|
def index
|
|
|
|
|
logger.info("##########humen count : #{session[:user_id].count}")
|
|
|
|
|
@type = params[:type]
|
|
|
|
|
@status = [["全部状态", 0], ["已发布", 2], ["未发布", 1], ["已关闭", 3]]
|
|
|
|
|
@diff = ["全部难度", "初级学员", "中级学员", "高级学员", "顶级学员"]
|
|
|
|
|