|
|
@ -518,7 +518,7 @@ class ShixunsController < ApplicationController
|
|
|
|
|
|
|
|
|
|
|
|
ActiveRecord::Base.transaction do
|
|
|
|
ActiveRecord::Base.transaction do
|
|
|
|
begin
|
|
|
|
begin
|
|
|
|
#cloud_bridge = edu_setting('cloud_bridge')
|
|
|
|
cloud_bridge = edu_setting('cloud_bridge')
|
|
|
|
myshixun_identifier = generate_identifier Myshixun, 10
|
|
|
|
myshixun_identifier = generate_identifier Myshixun, 10
|
|
|
|
myshixun = @shixun.myshixuns.create!(user_id: current_user.id, identifier: myshixun_identifier,
|
|
|
|
myshixun = @shixun.myshixuns.create!(user_id: current_user.id, identifier: myshixun_identifier,
|
|
|
|
modify_time: @shixun.modify_time, reset_time: @shixun.reset_time,
|
|
|
|
modify_time: @shixun.modify_time, reset_time: @shixun.reset_time,
|
|
|
|