Explorar o código

会员推荐人姓名

gorden hai 1 mes
pai
achega
467cd1a164
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      app/admin/service/member/MemberService.php

+ 2 - 2
app/admin/service/member/MemberService.php

@@ -509,8 +509,8 @@ class MemberService
                     $nickname = $inviteMember['info']['member_info_nickname'];
                 }
                 $certname = '';
-                if (!empty($inviteMember['cert']) && !empty($inviteMember['cert']['member_info_nickname'])) {
-                    $nickname = $inviteMember['cert']['member_cert_name'];
+                if (!empty($inviteMember['cert']) && !empty($inviteMember['cert']['member_cert_name'])) {
+                    $certname = $inviteMember['cert']['member_cert_name'];
                 }
                 $member['invite_name'] = MemberService::getMemberName($mobile, $certname, $nickname);
                 $member['invite_code'] = $inviteMember['member_invite_code'] ?? '';