Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
Dui123
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
王天宇
Dui123
Commits
bcb426bc
Commit
bcb426bc
authored
Nov 02, 2021
by
wty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改配置,测试11
parent
3a649365
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
SQLPool.js
server/SQLPool.js
+1
-0
No files found.
server/SQLPool.js
View file @
bcb426bc
...
@@ -6,6 +6,7 @@ const config = require('../config/getConfig')()
...
@@ -6,6 +6,7 @@ const config = require('../config/getConfig')()
console
.
info
(
'CONFIG:'
,
config
)
console
.
info
(
'CONFIG:'
,
config
)
const
getMysql
=
new
Promise
((
resolve
)
=>
{
const
getMysql
=
new
Promise
((
resolve
)
=>
{
request
(
config
[
'remote_config_url'
],{},(
error
,
request
,
body
)
=>
{
request
(
config
[
'remote_config_url'
],{},(
error
,
request
,
body
)
=>
{
if
(
error
)
console
.
error
(
'MySql.js :'
,
error
)
console
.
info
(
'apolloConfig:'
,
body
)
console
.
info
(
'apolloConfig:'
,
body
)
const
data
=
JSON
.
parse
(
body
)
const
data
=
JSON
.
parse
(
body
)
const
source
=
data
[
'propertySources'
][
0
][
'source'
]
const
source
=
data
[
'propertySources'
][
0
][
'source'
]
...
...
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