wesmiler 2 년 전
부모
커밋
fee2e0ec02
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      app/Services/Api/MemberService.php

+ 3 - 1
app/Services/Api/MemberService.php

@@ -106,7 +106,9 @@ class MemberService extends BaseService
             $info['custom_telegram'] = ConfigService::make()->getConfigByCode('custom_telegram');
             $info['custom_email'] = ConfigService::make()->getConfigByCode('custom_email');
 
-       
+           if(isset($info['birthday'])){
+               $info['birthday_text'] = $info['birthday']? date('Y-m-d',$info['birthday']) : '';
+           }
 
             // 二维码
             if (in_array($type, ['detail'])) {