修改:兑换码和邀请码内容
This commit is contained in:
parent
7f5e005d84
commit
e1a088c157
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue