|
|
@@ -193,7 +193,7 @@ class User extends Authenticatable implements JWTSubject
|
|
|
public static function getInviteImage(string $invite_code)
|
|
|
{
|
|
|
$name = '/image/invite/' . $invite_code . '.png';
|
|
|
- if (is_numeric(QrCode::format('png')->size(400)->generate(env('APP_URL') . '/#/register?inviteCode=' . $invite_code, public_path($name)))) {
|
|
|
+ if (is_numeric(QrCode::format('png')->size(400)->generate(env('APP_URL') . '/h5/#/register?inviteCode=' . $invite_code, public_path($name)))) {
|
|
|
return $name;
|
|
|
}
|
|
|
return '';
|