代码报错

dev_daiao
daiao 5 years ago
parent 1c1cd295c9
commit 82def0ab7e

@ -65,6 +65,8 @@ class HacksController < ApplicationController
param_update_sets params[:update_hack_sets], set_ids
# 新建
@hack.hack_sets.create!(hack_sets_params)
# 更新代码
@hack.hack_codes.create!(hack_code_params)
end
render_ok
rescue Exception => e

Loading…
Cancel
Save