Commit 6d5ce87a by 杨树贤

添加提示文字

parent 547c553d
Showing with 1 additions and 1 deletions
......@@ -39,7 +39,7 @@ class IntegralsController extends Controller
//获取用户当前红包数额
$userIntegral = $userIntegralService->getUserIntegral(['id' => $userId]);
if ($userIntegral) {
$result['integral'] = $userIntegral['data']['integral'];
$result['integral'] = array_get($userIntegral['data'], 'integral', 0);
$result['code'] = 'RDD' . $userId;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment