This commit is contained in:
root 2019-12-24 16:27:11 +08:00
parent 12940d569a
commit b74382fe7c

View File

@ -87,7 +87,7 @@ class UserController extends Controller
abort(500, '订阅计划不存在'); 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([ return response([
'data' => $user 'data' => $user
]); ]);