diff --git a/CHANGELOG.md b/CHANGELOG.md index 9572c6f..5753d4f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,11 @@ **普通更新,直接删除install目录直接覆盖安装即可,注意修改config.php的相关配置文件** + +#### Ver. 2.2(2020.05.04) +**重要更新** + +1、[BUG]修复核心框架组件导致的客户端无法访问的问题 +2、[BUG]修复添加应用失败的问题 + #### Ver. 2.1(2020.05.04) **重要更新** diff --git a/protected/controller/admin/ApiController.php b/protected/controller/admin/ApiController.php index 2670c71..97233dc 100644 --- a/protected/controller/admin/ApiController.php +++ b/protected/controller/admin/ApiController.php @@ -318,7 +318,7 @@ public function actionDelLastOrder() public function actionAppCreate() {//添加应用 $app = new App(); - if(arg('id','')!==null){ + if(arg('id','')!==''){ $app->set(arg("id"),arg("app_name"), arg("return_url"), arg("notify_url"), arg("connect_key")); }else{ $app->add(arg("app_name"), arg("return_url"), arg("notify_url"), arg("connect_key"));