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
05785e38
Commit
05785e38
authored
Jul 07, 2020
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
7e4f8f24
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
39 deletions
+4
-39
brg-queue-center/app/base/api/api.base.js
+1
-1
brg-queue-center/app/base/db/consumer.base.js
+1
-1
brg-queue-center/app/base/service/app.base.js
+1
-1
brg-queue-center/app/base/service/sve.base.js
+1
-1
brg-queue-center/app/config/localsettings.js
+0
-35
No files found.
brg-queue-center/app/base/api/api.base.js
View file @
05785e38
...
...
@@ -52,7 +52,7 @@ class APIBase {
* @param {*} ContentType 请求头类型,默认application/json
* @param {*} headData 请求头内容-json格式,如:请求头中传递token,格式:{token:"9098902q849q0434q09439"}
*/
async
execPostByTimeOut
(
params
,
url
,
ContentType
,
headData
,
timeOut
=
6
0
)
{
async
execPostByTimeOut
(
params
,
url
,
ContentType
,
headData
,
timeOut
=
3
0
)
{
return
await
this
.
execClient
.
execPostTimeOutByBusiness
(
"api.base"
,
params
,
url
,
ContentType
,
headData
,
timeOut
);
}
/**
...
...
brg-queue-center/app/base/db/consumer.base.js
View file @
05785e38
...
...
@@ -107,7 +107,7 @@ class ConsumerBase {
* @param {*} ContentType 请求头类型,默认application/json
* @param {*} headData 请求头内容-json格式,如:请求头中传递token,格式:{token:"9098902q849q0434q09439"}
*/
async
execPostByTimeOut
(
params
,
url
,
ContentType
,
headData
,
timeOut
=
6
0
)
{
async
execPostByTimeOut
(
params
,
url
,
ContentType
,
headData
,
timeOut
=
3
0
)
{
return
await
this
.
execClient
.
execPostTimeOutByBusiness
(
"consumer.base"
,
params
,
url
,
ContentType
,
headData
,
timeOut
);
}
/*
...
...
brg-queue-center/app/base/service/app.base.js
View file @
05785e38
...
...
@@ -14,7 +14,7 @@ class AppServiceBase {
* @param {*} ContentType 请求头类型,默认application/json
* @param {*} headData 请求头内容-json格式,如:请求头中传递token,格式:{token:"9098902q849q0434q09439"}
*/
async
execPostByTimeOut
(
params
,
url
,
ContentType
,
headData
,
timeOut
=
6
0
)
{
async
execPostByTimeOut
(
params
,
url
,
ContentType
,
headData
,
timeOut
=
3
0
)
{
return
await
this
.
execClient
.
execPostTimeOutByBusiness
(
"app.base"
,
params
,
url
,
ContentType
,
headData
,
timeOut
);
}
...
...
brg-queue-center/app/base/service/sve.base.js
View file @
05785e38
...
...
@@ -21,7 +21,7 @@ class ServiceBase {
* @param {*} ContentType 请求头类型,默认application/json
* @param {*} headData 请求头内容-json格式,如:请求头中传递token,格式:{token:"9098902q849q0434q09439"}
*/
async
execPostByTimeOut
(
params
,
url
,
ContentType
,
headData
,
timeOut
=
6
0
)
{
async
execPostByTimeOut
(
params
,
url
,
ContentType
,
headData
,
timeOut
=
3
0
)
{
return
await
this
.
execClient
.
execPostTimeOutByBusiness
(
"sve.base"
,
params
,
url
,
ContentType
,
headData
,
timeOut
);
}
async
create
(
qobj
)
{
...
...
brg-queue-center/app/config/localsettings.js
deleted
100755 → 0
View file @
7e4f8f24
var
settings
=
{
redis
:
{
host
:
"43.247.184.32"
,
port
:
8967
,
password
:
"Gongsibao2018"
,
db
:
5
,
},
database
:
{
dbname
:
"tx-queue-log"
,
user
:
"write"
,
password
:
"write"
,
config
:
{
host
:
'43.247.184.35'
,
port
:
8899
,
dialect
:
'mysql'
,
operatorsAliases
:
false
,
pool
:
{
max
:
5
,
min
:
0
,
acquire
:
90000000
,
idle
:
1000000
},
debug
:
false
,
dialectOptions
:
{
requestTimeout
:
999999
,
// timezone: '+8:00'
// instanceName:'DEV'
}
//设置MSSQL超时时间
}
},
reqEsDevUrl
:
"http://192.168.4.249:9200/"
,
reqHomePageDevUrl
:
"http://zcchannel.apps.com:4003/"
,
reqAuthUrl
:
"http://sj.app.com:4002/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