dev_bj
SylorHuang 5 years ago
parent 2928eb5e5a
commit 5360aa3d58

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

Loading…
Cancel
Save