提示改为中文 2903
This commit is contained in:
parent
d1b5d28ff0
commit
a04122bb8e
|
@ -26,7 +26,7 @@ module Mobile
|
|||
present :data, {token: key.access_token, user: api_user}, using: Entities::Auth
|
||||
present :status, 0
|
||||
else
|
||||
raise 'Unauthorized.'
|
||||
raise "无效的用户名或密码"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue