update userinfo fetch

This commit is contained in:
Tokumeikoi 2020-02-14 22:11:13 +08:00
parent d845439f14
commit b34fa70165

View File

@ -65,7 +65,9 @@ class UserController extends Controller
'expired_at',
'balance',
'commission_balance',
'plan_id'
'plan_id',
'discount',
'commission_rate'
])
->first();
$user['avatar_url'] = 'https://cdn.v2ex.com/gravatar/' . md5($user->email) . '?s=64&d=identicon';