测试版测试人数

dev_trainings
daiao 6 years ago
parent 22bddecf47
commit c8f178f8a7

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

Loading…
Cancel
Save