瀏覽代碼

会员推荐人姓名

gorden 1 月之前
父節點
當前提交
467cd1a164
共有 1 個文件被更改,包括 2 次插入2 次删除
  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'] ?? '';