From 7db3147eed66a199888873c7d7dcc5c43e0faf43 Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq,com> Date: Thu, 24 Aug 2023 15:50:52 +0800 Subject: [PATCH] =?UTF-8?q?type=E6=9C=AA=E8=AE=BE=E7=BD=AE=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/application/common/logic/PassFlow.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/application/common/logic/PassFlow.php b/source/application/common/logic/PassFlow.php index cbe6e87..31c844c 100644 --- a/source/application/common/logic/PassFlow.php +++ b/source/application/common/logic/PassFlow.php @@ -46,7 +46,7 @@ class PassFlow { $granularity = $param['granularity']; - $type = $param['type']; + $type = isset($param['type']) ?$param['type']:''; if (empty($granularity)) return ['code' => 0, 'msg' => '缺少参数:granularity']; if (!in_array($granularity,self::$granularity)) return ['code' => 0, 'msg' => '参数错误:granularity'];