From 3dfa5244af91eba3745d8298033709443dffb35f Mon Sep 17 00:00:00 2001 From: koogua Date: Fri, 19 Aug 2022 15:30:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8D=87=E7=BA=A7cos-sdk?= =?UTF-8?q?=E5=B8=A6=E6=9D=A5=E7=9A=84=E5=8F=82=E6=95=B0=E6=A3=80=E6=9F=A5?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bootstrap/HttpErrorHandler.php | 2 + db/migrations/20210403184518.php | 75 +++----------------------------- 2 files changed, 8 insertions(+), 69 deletions(-) diff --git a/bootstrap/HttpErrorHandler.php b/bootstrap/HttpErrorHandler.php index dd8fd8af..8b1e080c 100644 --- a/bootstrap/HttpErrorHandler.php +++ b/bootstrap/HttpErrorHandler.php @@ -81,6 +81,8 @@ class HttpErrorHandler extends Injectable $logger = $this->getLogger(); $logger->error($content); + + $logger->error($e->getTraceAsString()); } /** diff --git a/db/migrations/20210403184518.php b/db/migrations/20210403184518.php index 8f854d97..85189d44 100644 --- a/db/migrations/20210403184518.php +++ b/db/migrations/20210403184518.php @@ -173,19 +173,6 @@ final class V20210403184518 extends AbstractMigration 'published' => 1, 'create_time' => $now, ], - [ - 'id' => 6, - 'parent_id' => 0, - 'level' => 1, - 'name' => '群组', - 'path' => ',6,', - 'target' => '_self', - 'url' => '/im/group/list', - 'position' => 1, - 'priority' => 6, - 'published' => 1, - 'create_time' => $now, - ], [ 'id' => 7, 'parent_id' => 0, @@ -371,56 +358,6 @@ final class V20210403184518 extends AbstractMigration 'item_key' => 'secret_key', 'item_value' => '', ], - [ - 'section' => 'im.cs', - 'item_key' => 'enabled', - 'item_value' => '0', - ], - [ - 'section' => 'im.cs', - 'item_key' => 'user1_id', - 'item_value' => '', - ], - [ - 'section' => 'im.cs', - 'item_key' => 'user2_id', - 'item_value' => '', - ], - [ - 'section' => 'im.cs', - 'item_key' => 'user3_id', - 'item_value' => '', - ], - [ - 'section' => 'im.main', - 'item_key' => 'title', - 'item_value' => '菜鸟驿站', - ], - [ - 'section' => 'im.main', - 'item_key' => 'msg_max_length', - 'item_value' => '1000', - ], - [ - 'section' => 'im.main', - 'item_key' => 'upload_img_enabled', - 'item_value' => '0', - ], - [ - 'section' => 'im.main', - 'item_key' => 'upload_file_enabled', - 'item_value' => '0', - ], - [ - 'section' => 'im.main', - 'item_key' => 'tool_audio_enabled', - 'item_value' => '0', - ], - [ - 'section' => 'im.main', - 'item_key' => 'tool_video_enabled', - 'item_value' => '0', - ], [ 'section' => 'live.push', 'item_key' => 'domain', @@ -624,17 +561,17 @@ final class V20210403184518 extends AbstractMigration [ 'section' => 'secret', 'item_key' => 'secret_key', - 'item_value' => '', + 'item_value' => 'xxx', ], [ 'section' => 'secret', 'item_key' => 'secret_id', - 'item_value' => '', + 'item_value' => 'xxx', ], [ 'section' => 'secret', 'item_key' => 'app_id', - 'item_value' => '', + 'item_value' => 'xxx', ], [ 'section' => 'site', @@ -746,12 +683,12 @@ final class V20210403184518 extends AbstractMigration [ 'section' => 'cos', 'item_key' => 'bucket', - 'item_value' => '', + 'item_value' => 'course-1255691183', ], [ 'section' => 'cos', 'item_key' => 'region', - 'item_value' => '', + 'item_value' => 'ap-guangzhou', ], [ 'section' => 'cos', @@ -761,7 +698,7 @@ final class V20210403184518 extends AbstractMigration [ 'section' => 'cos', 'item_key' => 'domain', - 'item_value' => '', + 'item_value' => 'course-1255691183.file.myqcloud.com', ], [ 'section' => 'vod',