dev_bj
SylorHuang 5 years ago
parent 2928eb5e5a
commit 5360aa3d58

@ -262,7 +262,7 @@ class WelcomeController < ApplicationController
reward_grade(@user, @user.id, 'Account', 500) reward_grade(@user, @user.id, 'Account', 500)
user.update_attributes!(authentication:1) user.update_attributes!(authentication:1)
end end
render :json => {:message => "sucess"}
end end
end end
#logger.info("#{list[0]}---#{list[1]}") #logger.info("#{list[0]}---#{list[1]}")
@ -287,6 +287,7 @@ class WelcomeController < ApplicationController
# end # end
end end
render :json => {:message => "sucess"}
rescue Exception => e rescue Exception => e
logger.error(e.message) logger.error(e.message)
render :json => {:status => 500} render :json => {:status => 500}

Loading…
Cancel
Save