Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
golang-queue-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4d621567
authored
Nov 19, 2020
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
up
parent
9b78daed
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
4 deletions
dal/db/db.go
order/orderSendPurchaseEmail/2020-01-14.log
order/orderSendPurchaseEmail/2020-01-14.log.wf
sendPurchaseEmail
util/config.go
dal/db/db.go
View file @
4d621567
...
...
@@ -23,7 +23,7 @@ func Init(dns string) error {
if
err
!=
nil
{
return
err
}
DB
.
SetMaxOpenConns
(
5
0
)
DB
.
SetMaxOpenConns
(
2
0
)
DB
.
SetMaxIdleConns
(
10
)
return
nil
}
...
...
@@ -39,7 +39,7 @@ func InitLabelDB(dns string) error{
if
err
!=
nil
{
return
err
}
LabelDB
.
SetMaxOpenConns
(
5
0
)
LabelDB
.
SetMaxOpenConns
(
2
0
)
LabelDB
.
SetMaxIdleConns
(
10
)
return
nil
}
...
...
@@ -54,7 +54,7 @@ func InitBomDB(dns string) error{
if
err
!=
nil
{
return
err
}
BomDB
.
SetMaxOpenConns
(
5
0
)
BomDB
.
SetMaxOpenConns
(
2
0
)
BomDB
.
SetMaxIdleConns
(
10
)
return
nil
}
...
...
@@ -69,7 +69,7 @@ func InitCmslDB(dns string) error{
if
err
!=
nil
{
return
err
}
CmsDB
.
SetMaxOpenConns
(
5
0
)
CmsDB
.
SetMaxOpenConns
(
2
0
)
CmsDB
.
SetMaxIdleConns
(
10
)
return
nil
}
...
...
order/orderSendPurchaseEmail/2020-01-14.log
deleted
100755 → 0
View file @
9b78daed
File mode changed
order/orderSendPurchaseEmail/2020-01-14.log.wf
deleted
100755 → 0
View file @
9b78daed
File mode changed
sendPurchaseEmail
deleted
100755 → 0
View file @
9b78daed
No preview for this file type
util/config.go
View file @
4d621567
...
...
@@ -81,6 +81,7 @@ type Ding struct {
TuangouWebhook
string
`toml:"tuangou_webhook"`
ErpLabelWebhook
string
`toml:"erpLabel_webhook"`
YaoHaoYouWebhook
string
`toml:"yaoHaoYou_hook"`
OrderProTrackWebhook
string
`toml:"orderProTrack_hook"`
BomCreateOrderhook
string
`toml:"bomCreateBom_hook"`
FkCompany
string
`toml:"fk_company"`
}
...
...
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