Fixed aff link bug

This commit is contained in:
BrettonYe
2023-02-12 23:42:00 +08:00
committed by BrettonYe
parent 6729204f81
commit a6636fd82d
3 changed files with 284 additions and 268 deletions

View File

@@ -57,7 +57,7 @@ class UserService extends BaseService
$aff = self::$user->id;
}
return $isCode ? $aff : sysConfig('website_url').route('register', ['aff' => 1], false);
return $isCode ? $aff : sysConfig('website_url').route('register', ['aff' => $aff], false);
}
public function isActivePaying(): bool

View File

@@ -41,9 +41,9 @@
"stripe/stripe-php": "^7.69",
"symfony/yaml": "^5.2",
"xhat/payjs": "^1.5",
"zbrettonye/geetest": "^1.2",
"zbrettonye/hcaptcha": "^1.1",
"zbrettonye/no-captcha": "^1.1",
"zbrettonye/geetest": "^1",
"zbrettonye/hcaptcha": "^1",
"zbrettonye/no-captcha": "^1",
"zoujingli/ip2region": "^1.0"
},
"require-dev": {

544
composer.lock generated

File diff suppressed because it is too large Load Diff