From b74382fe7cba36cb7fe8f11ed53be969749f24a0 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 24 Dec 2019 16:27:11 +0800 Subject: [PATCH] update --- app/Http/Controllers/UserController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/UserController.php b/app/Http/Controllers/UserController.php index 4134d3ec..b5b3ccf8 100755 --- a/app/Http/Controllers/UserController.php +++ b/app/Http/Controllers/UserController.php @@ -87,7 +87,7 @@ class UserController extends Controller abort(500, '订阅计划不存在'); } } - $user['subscribe_url'] = config('v2board.app_url', env('APP_URL')) . '/api/v1/client/subscribe?token=' . $user['token']; + $user['subscribe_url'] = config('v2board.subscribe_url', config('v2board.app_url', env('APP_URL'))) . '/api/v1/client/subscribe?token=' . $user['token']; return response([ 'data' => $user ]);