@ -17,7 +17,7 @@ class MyshixunsController < ApplicationController
# 强制重置实训
# 前段需要按照操作过程提示
def reset_my_game
unless current_user.admin?
unless (current_user.admin? || current_user.id == @myshixun.user_id)
tip_exception("403", "")
end