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
f6721f2f
Commit
f6721f2f
authored
Dec 25, 2019
by
王召彬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置中心
parent
23edfee1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
17 deletions
+1
-17
src/Common/Config/CfgCenter.php
+1
-17
No files found.
src/Common/Config/CfgCenter.php
View file @
f6721f2f
...
...
@@ -29,7 +29,7 @@ class CfgCenter
* var_dump($cfgdata['Weapp']['Region']); // 输出:ap-shanghai
*
* @param string $keyName
* @param int $oemId oemId==
1
表示是活动啦啦
* @param int $oemId oemId==
0
表示是活动啦啦
* @return mixed
*/
public
static
function
getArray
(
$keyName
,
$oemId
=
0
)
...
...
@@ -79,21 +79,6 @@ class CfgCenter
return
self
::
_get
(
$keyName
,
(
int
)
$result
[
'oemId'
]);
}
/**
* 获取支付平台证书
*
* @param integer $storeId
* @param integer $isEntrusted 是否是用户托管的小程序
* @return void
*/
public
static
function
getCertByStoreId
(
int
$storeId
,
int
$isEntrusted
)
{
$dbConn
=
self
::
dbConnect
(
'seller'
);
$result
=
$dbConn
->
get
(
"seller"
,
[
'oemId'
],
[
'storeId'
=>
$storeId
]);
$oemId
=
(
int
)
$result
[
'oemId'
];
}
public
static
function
dbConnect
(
$database
=
''
)
{
if
(
$database
==
''
)
{
...
...
@@ -158,6 +143,5 @@ class CfgCenter
}
}
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