This commit is contained in:
root 2019-10-27 21:42:06 +08:00
parent 87ae0403e7
commit 92336c2137

View File

@ -53,7 +53,9 @@ class UserController extends Controller
'last_login_at',
'created_at',
'enable',
'is_admin'
'is_admin',
'remind_expire',
'remind_traffic'
])
->first();
$user['avatar_url'] = 'https://cdn.v2ex.com/gravatar/' . md5($user->email) . '?s=64&d=identicon';