Commit ea7c42c2 by 杨树贤

修改服务地址的获取方式

parent c293ed35
APP_NAME=Laravel
APP_ENV=local
APP_KEY=base64:nOavyGKkyw4fi+Xv2hK7PrfYw9bapQzqlqMXDIobp9I=
APP_DEBUG=true
APP_DEBUG=false
APP_LOG_LEVEL=debug
APP_URL=http://localhost
domain=icsales.cc
DB_CONNECTION=mysql
DB_HOST=192.168.2.232
DB_HOST=
DB_PORT=3306
DB_DATABASE=ic_data
DB_USERNAME=ic_data
DB_PASSWORD=ic_data#zsyM
DB_PREFIX=ic_
DB_DATABASE=
DB_USERNAME=
DB_PASSWORD=
DB_PREFIX=
BROADCAST_DRIVER=log
CACHE_DRIVER=file
......@@ -52,4 +52,5 @@ MENU_SIGN=/web/
LOGIN_DOMAIN=user.icsales.cc
ES_URL = http://soapi.icsales.com:8001
BASE_SERVER_URL = 192.168.10.10:61009
......@@ -15,8 +15,7 @@ class BaseService
public function __construct()
{
$this->client = new Client([
'base_uri' => '192.168.10.10:61009',
// 'base_uri' => 'http://ic_server_welfare.test',
'base_uri' => config('website.BASE_SERVER_URL'),
'timeout' => 20,
]);
}
......
......@@ -2,7 +2,7 @@
return [
'admin' => ['ymx@ichunt.com'],
'webTitle' => 'IC助手后台',
'webTitle' => 'IC助手福利中心后台',
'domain' => env('domain'),
'login' => [
......@@ -31,10 +31,7 @@ return [
'key' => 'fh6y5t4rr351d2c3bryi',
],
'ES_URL' => env('ES_URL', ''),
'GoodsInfoServer' => 'http://192.168.2.232:61002',
'OfferServer' => 'http://192.168.2.232:61004',
'BASE_SERVER_URL' => env('BASE_SERVER_URL', ''),
'cost_item' => [
1 => '1元',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment