修改:兑换码和邀请码内容

This commit is contained in:
wuhui_zzw 2024-07-11 17:28:37 +08:00
parent 7f5e005d84
commit e1a088c157
2 changed files with 6 additions and 2 deletions

View File

@ -16,7 +16,9 @@ class UserInviteCode extends BaseModel{
// 二维码内容
public function getQrCodeTextAttr(){
return "type=invite&code=" . $this->exchange_code;
$domain = 'https://' . app()->request->host();
return $domain. "?type=invite&code=" . $this->exchange_code;
}

View File

@ -18,7 +18,9 @@ class UserVipExchangeCode extends BaseModel{
// 二维码内容
public function getQrCodeTextAttr(){
return "type=exchange&code=" . $this->exchange_code;
$domain = 'https://' . app()->request->host();
return $domain. "?type=exchange&code=" . $this->exchange_code;
}