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