1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-26 04:21:27 +08:00

短信配置增加region选项

This commit is contained in:
koogua 2021-12-31 09:42:16 +08:00
parent 438f01ef2f
commit 47a356ae55

View File

@ -131,7 +131,7 @@ class Setting extends Service
* demo分支过滤敏感数据100001帐号除外
*/
if ($items->count() > 0) {
$pattern = '/(app|auth|key|secret|token|password|pwd|mobile|phone|mail|email)/';
$pattern = '/(id|auth|key|secret|token|password|pwd|mobile|phone|mail|email)$/';
$controllerName = $this->dispatcher->getControllerName();
foreach ($items as $item) {
$case1 = preg_match($pattern, $item->item_key);