Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
李靖
7 years ago
Commit
d5662a33a71784ad7a3c34f1305b1259ca28e8e5
1 parent
9d037ec4
价格字段修改
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
apps/activity/models/store-home.js
config/common.js
apps/activity/models/store-home.js
View file @
d5662a3
...
...
@@ -118,7 +118,7 @@ class storeHome extends global.yoho.BaseModel {
_
.
forEach
(
result
.
data
.
consume_list
,
val
=>
{
build
.
push
({
amount
:
val
.
trade_amount
,
amount
:
val
.
trade_amount
_desc
,
date
:
val
.
trade_date
,
title
:
val
.
trade_title
});
...
...
config/common.js
View file @
d5662a3
...
...
@@ -11,17 +11,18 @@ const isProduction = process.env.NODE_ENV === 'production';
const
isTest
=
process
.
env
.
NODE_ENV
===
'test'
;
const
domains
=
{
api
:
'http://api.yoho.cn/'
,
service
:
'http://service.yoho.cn/'
,
liveApi
:
'http://testapi.live.yohops.com:9999/'
,
singleApi
:
'http://api-test3.yohops.com:9999/'
,
singleApi
:
'http://api-test1.yohops.com:9999/'
,
api
:
'http://api-test1.yohops.com:9999/'
,
service
:
'http://service-test1.yohops.com:9999/'
,
imSocket
:
'ws://socket.yohobuy.com:10240'
,
imCs
:
'http://im.yohobuy.com/api'
,
global
:
'http://api-global.yohobuy.com'
,
store
:
'http://192.168.102.47:8080/portal-gateway/'
,
platformApi
:
'http://192.168.102.48:8088/'
,
store
:
'http://192.168.102.47:8080/portal-gateway/wechat/'
,
extstore
:
'http://extstore-test1.yohops.com'
,
family
:
'http://192.168.102.31:8096/uic/'
,
yohoNowApi
:
'http://yohonow-test.yohops.com:9999/'
yohoNowApi
:
'http://yohonow-test.yohops.com:9999/'
,
family
:
'http://192.168.102.31:8096/uic/'
};
module
.
exports
=
{
...
...
@@ -74,7 +75,7 @@ module.exports = {
maxFiles
:
7
},
console
:
{
level
:
'
info
'
,
level
:
'
debug
'
,
colorize
:
'all'
,
prettyPrint
:
true
}
...
...
Please
register
or
login
to post a comment