From ecc1e9b154b34f15fb3f85be1356f9857827c65c Mon Sep 17 00:00:00 2001 From: devlike Date: Fri, 9 Feb 2018 21:35:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E5=86=8C=E4=BA=8B=E4=BB=B6=E7=9B=91?= =?UTF-8?q?=E5=90=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/tags.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/application/tags.php b/application/tags.php index 9808cbed..29957dca 100755 --- a/application/tags.php +++ b/application/tags.php @@ -12,7 +12,9 @@ // 应用行为扩展定义文件 return [ // 应用初始化 - 'app_init' => [], + 'app_init' => [ + 'seven\\behavior\\BindDomain', + ], // 应用开始 'app_begin' => [], // 模块初始化 @@ -31,4 +33,9 @@ return [ 'log_write' => [], // 应用结束 'app_end' => [], + + //upload_after + 'upload_after' => [ + 'seven\\behavior\\TakeAttach' + ], ];