Bladeren bron

券包调整

gorden 2 maanden geleden
bovenliggende
commit
7396c4ce1d
1 gewijzigde bestanden met toevoegingen van 3 en 0 verwijderingen
  1. 3 0
      app/admin/service/member/MemberService.php

+ 3 - 0
app/admin/service/member/MemberService.php

@@ -108,6 +108,9 @@ class MemberService
                 'member_info_birthday' => !empty($row['member_info_birthday']) ? $row['member_info_birthday'] : '',
                 'member_info_gender' => !empty($row['member_info_gender']) ? $row['member_info_gender'] : '',
             ];
+            if (substr($row['info']['member_info_headimg'],0,2) == '..'){
+                $row['info']['member_info_headimg'] = '';
+            }
             if (!empty($row['info']['member_info_address']) && in_array($row['info']['member_info_address'], ['请选择', '省-市-区'])) {
                 $row['info']['member_info_address'] = '';
             }