|
|
|
|
@ -254,7 +254,7 @@ class UserController extends CommonController
|
|
|
|
|
})->where('id', $this->getUserId())->count();
|
|
|
|
|
// 是否生日
|
|
|
|
|
$is_birthday = 0;
|
|
|
|
|
if ($user->birthday == date('Y-m-d')) {
|
|
|
|
|
if (isset($user->birthday) && $user->birthday == date('Y-m-d')) {
|
|
|
|
|
$is_birthday = 1;
|
|
|
|
|
}
|
|
|
|
|
return $this->success(compact('user', 'door_appointments', 'course_signs', 'enter_schoolmate', 'is_birthday'));
|
|
|
|
|
|