gorden 1 сар өмнө
parent
commit
7396c4ce1d

+ 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'] = '';
             }