增加:用户信息输出惠民积分相关内容
This commit is contained in:
parent
fa6f42abe4
commit
8e9f3e164f
|
|
@ -225,6 +225,11 @@ class Auth extends BaseController
|
||||||
$data['oil_available'] = $oilQuotaInfo['surplus_quota'] ?? '0.00';
|
$data['oil_available'] = $oilQuotaInfo['surplus_quota'] ?? '0.00';
|
||||||
$data['oil_available_quota'] = $oilQuotaInfo['available_quota'] ?? '0.00';
|
$data['oil_available_quota'] = $oilQuotaInfo['available_quota'] ?? '0.00';
|
||||||
|
|
||||||
|
$quotaIntegralInfo = app()->make(ExchangeQuotaRepository::class)->getInfo((int)$user->uid, (int)5);
|
||||||
|
$data['quota_integral'] = $quotaIntegralInfo['surplus_quota'] ?? '0.00';// 剩余额度
|
||||||
|
$data['quota_integral_available'] = $quotaIntegralInfo['available_quota'] ?? '0.00';// 可用额度
|
||||||
|
|
||||||
|
|
||||||
return app('json')->success($data);
|
return app('json')->success($data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue