Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
郝肖肖
8 years ago
Commit
055d89994cee0cded9beb39e52f713a984832185
1 parent
0cf9e13c
修复homeNav function
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
11 deletions
apps/home/router.js
config/common.js
apps/home/router.js
View file @
055d899
...
...
@@ -34,7 +34,7 @@ const bindController = require(`${cRoot}/3party-bind`);
// const AddressController = require(`${cRoot}/address`);
// const GiftController = require(`${cRoot}/gift`);
const
homeNav
(
req
,
res
)
=>
{
const
homeNav
=
(
req
,
res
)
=>
{
return
[
{
title
:
'交易管理'
,
...
...
config/common.js
View file @
055d899
...
...
@@ -21,19 +21,16 @@ module.exports = {
// api: 'http://api-test3.yohops.com:9999/',
// service: 'http://service-test3.yohops.com:9999/',
//
// api: 'http://api.yoho.cn/',
// service: 'http://service.yoho.cn/',
api
:
'http://192.168.102.205:8080/gateway/'
,
// api: 'http://dev-api.yohops.com:9999/',
service
:
'http://dev-service.yohops.com:9999/'
,
api
:
'http://api.yoho.cn/'
,
service
:
'http://service.yoho.cn/'
,
// api: 'http://192.168.102.205:8080/gateway/',
// service: 'http://dev-service.yohops.com:9999/',
search
:
'http://192.168.102.216:8080/yohosearch/'
,
imSocket
:
'ws://socket.yohobuy.com:10240'
,
imCs
:
'http://im.yohobuy.com/api'
,
imServer
:
'http://im.yohobuy.com/server'
imSocket
:
'wss://imsocket.yohobuy.com:443'
,
imCs
:
'https://imhttp.yohobuy.com/api'
,
imServer
:
'https://imhttp.yohobuy.com/server'
},
subDomains
:
{
host
:
'.yohobuy.com'
,
...
...
Please
register
or
login
to post a comment