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
48f0b5ac
Commit
48f0b5ac
authored
Dec 26, 2019
by
王召彬
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ft-oem' into test
parents
2b0333c7
f80b7032
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 @
48f0b5ac
...
...
@@ -17,7 +17,7 @@ class CfgCenter
const
TENCENT_SMS
=
'tencent_sms'
;
//腾讯云短信
const
MP
=
'mp'
;
//公众号-用于H5公众号登录和发送公众号通知
const
PAY
=
'pay'
;
//默认的支付平台配置
const
PAY_
YUNMAI
=
'pay_yunmai'
;
//云脉
的支付平台配置
const
PAY_
KUANYUAN
=
'pay_kuanyuan'
;
//宽元
的支付平台配置
const
PAY_YUNMAI_ISP
=
'pay_yunmai_isp'
;
//云脉的支付服务商配置,用于托管子商户
const
PAY_ZHIMEI
=
'pay_zhimei'
;
//致美的支付配置
const
SELLER_DISTRIBUTION
=
'seller_distribution'
;
//卖家分销配置
...
...
@@ -25,7 +25,7 @@ class CfgCenter
/**
* 根据oemId读取指定的配置项 - 返回数组格式
* (所有配置项,需预先添加到数据库中)
* $cfgdata = CfgCenter::get
Array(CfgCenter::COS
);
* $cfgdata = CfgCenter::get
ByOemId(CfgCenter::COS, $oemId
);
* var_dump($cfgdata['Weapp']['Region']); // 输出:ap-shanghai
*
* @param string $keyName
...
...
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