|
|
|
@ -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}
|
|
|
|
|