Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
ic_welfare
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ea7c42c2
authored
Sep 18, 2019
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改服务地址的获取方式
parent
c293ed35
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
13 deletions
.env
app/Http/Services/BaseService.php
config/website.php
.env
View file @
ea7c42c2
APP_NAME=Laravel
APP_ENV=local
APP_KEY=base64:nOavyGKkyw4fi+Xv2hK7PrfYw9bapQzqlqMXDIobp9I=
APP_DEBUG=
tru
e
APP_DEBUG=
fals
e
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
app/Http/Services/BaseService.php
View file @
ea7c42c2
...
...
@@ -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
,
]);
}
...
...
config/website.php
View file @
ea7c42c2
...
...
@@ -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元'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment