wesmiler %!s(int64=2) %!d(string=hai) anos
pai
achega
fee2e0ec02
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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_telegram'] = ConfigService::make()->getConfigByCode('custom_telegram');
             $info['custom_email'] = ConfigService::make()->getConfigByCode('custom_email');
             $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'])) {
             if (in_array($type, ['detail'])) {