This commit is contained in:
root 2019-11-25 00:08:14 +08:00
parent f886465d8e
commit 774ca33261

View File

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