1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-24 20:06:09 +08:00

合并develop分支

This commit is contained in:
xiaochong0302 2020-09-17 21:34:35 +08:00
parent 2b749c7d5c
commit 2baf88f1d3

View File

@ -62,7 +62,7 @@ class Setting extends Service
*/ */
if ($items->count() > 0) { if ($items->count() > 0) {
foreach ($items as $item) { foreach ($items as $item) {
$pattern = '/(auth|key|secret|pwd|password)/'; $pattern = '/(id|auth|key|secret|pwd|pass)/';
if (preg_match($pattern, $item->item_key)) { if (preg_match($pattern, $item->item_key)) {
$item->item_value = '***'; $item->item_value = '***';
} }