From 9158ef19251c912e10a0f8fd1347fbc53323e137 Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Fri, 26 Apr 2024 15:31:54 +0800 Subject: [PATCH] =?UTF-8?q?myc=E6=96=B9=E6=B3=95=E9=BB=98=E8=AE=A4null?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=B8=BA=E7=A9=BA=E5=AD=97=E7=AC=A6=E4=B8=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common.php b/app/common.php index 1d910b199..457981a66 100755 --- a/app/common.php +++ b/app/common.php @@ -2844,7 +2844,7 @@ function UrlParamJoin($param) * @param [boolean] $mandatory [是否强制校验值,默认false] * @return [mixed] [配置信息值,没找到返回null] */ -function MyC($key, $default = null, $mandatory = false) +function MyC($key, $default = '', $mandatory = false) { // 从缓存读取配置 $value = MyCache($key);