dev_forum
p31729568 6 years ago
parent 9cf393acb0
commit 718320c8d4

@ -54,7 +54,7 @@ class ApplicationController < ActionController::Base
if type.to_i == 1 && !user.nil?
tip_exception(-2, "该手机号码或邮箱已被注册")
elsif type.to_i == 2 && user.nil?
tip_exception("该手机号码或邮箱未注册")
tip_exception(-2, "该手机号码或邮箱未注册")
end
sucess_status
end

Loading…
Cancel
Save