Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
services
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
tencent
services
Commits
17660a59
Commit
17660a59
authored
Dec 31, 2019
by
王召彬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
0c33b547
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/Common/Config/CfgCenter.php
+2
-2
No files found.
src/Common/Config/CfgCenter.php
View file @
17660a59
...
...
@@ -201,8 +201,8 @@ class CfgCenter
$result
=
$dbConn
->
select
(
"config"
,
[
'value'
],
[
'oemId'
=>
$oemId
,
'name'
=>
$keyName
]);
if
(
!
isset
(
$result
[
0
][
'value'
]))
{
if
(
$oemId
>
0
)
{
// 如果指定的oemId查找不到,则使用活动啦啦(oemId==0)的配置
$result
=
$dbConn
->
select
(
"config"
,
[
'value'
],
[
'oemId'
=>
0
,
'name'
=>
$keyName
]);
// 如果指定的oemId查找不到,则使用活动啦啦(oemId==0
且common==1
)的配置
$result
=
$dbConn
->
select
(
"config"
,
[
'value'
],
[
'oemId'
=>
0
,
'
common'
=>
1
,
'
name'
=>
$keyName
]);
if
(
!
isset
(
$result
[
0
][
'value'
]))
{
return
;
}
...
...
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