获取参数默认空字符串

feat/task1-c-wallet
gongfuxiang 2022-12-02 09:43:04 +08:00
parent 6406069737
commit 1e13421b88
1 changed files with 1 additions and 1 deletions

View File

@ -757,7 +757,7 @@ function MyFileConfig($key, $value = '', $default = null, $mandatory = false)
* @param [string] $key [参数key]
* @param [string] $default [默认值]
*/
function MyInput($key = null, $default = null)
function MyInput($key = null, $default = '')
{
static $params = null;
if($params === null)