Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
cc34b64f
Commit
cc34b64f
authored
Jul 03, 2020
by
王昆
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'engine-product' of gitlab.gongsibao.com:jiangyong/zhichan into engine-product
parents
81218644
a6c22458
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
11 deletions
+13
-11
engine-product/app/base/service/impl/product/productSve.js
+0
-1
engine-product/app/config/localsettings.js
+13
-10
No files found.
engine-product/app/base/service/impl/product/productSve.js
View file @
cc34b64f
...
...
@@ -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
}
...
...
engine-product/app/config/localsettings.js
View file @
cc34b64f
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
;
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