Commit cc34b64f by 王昆

Merge branch 'engine-product' of gitlab.gongsibao.com:jiangyong/zhichan into engine-product

parents 81218644 a6c22458
......@@ -46,7 +46,6 @@ class ProductService extends ServiceBase {
})
for (let j = 0; j <= resItem.length; ++j) {
console.log(resItem[j])
if (resItem[j] && resItem[j].price && resItem[j].price > 0) {
resItem[j].price = resItem[j].price / 100
}
......
var settings={
redis:{
var settings = {
redis: {
host: "43.247.184.32",
port: 8967,
password: "Gongsibao2018",
db:10,
db: 10,
},
database:{
dbname : "engine-product",
database: {
dbname: "engine-product",
user: "write",
password: "write",
config: {
......@@ -23,15 +23,18 @@ var settings={
acquire: 90000000,
idle: 1000000
},
debug:false,
dialectOptions:{
debug: false,
timezone: '+08:00',
dialectOptions: {
dateStrings: true,
typeCast: true,
requestTimeout: 999999,
// instanceName:'DEV'
} //设置MSSQL超时时间
}
},
reqEsDevUrl:"http://192.168.4.249:9200/",
reqHomePageDevUrl:"http://sj.app.com:3002/",
reqAuthUrl:"http://sj.app.com:3002/auth"
reqEsDevUrl: "http://192.168.4.249:9200/",
reqHomePageDevUrl: "http://sj.app.com:3002/",
reqAuthUrl: "http://sj.app.com:3002/auth"
};
module.exports = settings;
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 to comment