Parcourir la source

更新升级程序

evoxwht il y a 2 ans
Parent
commit
1f39074f5c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      crmeb/app/adminapi/controller/UpgradeController.php

+ 1 - 1
crmeb/app/adminapi/controller/UpgradeController.php

@@ -17976,7 +17976,7 @@ SQL
                 'whereTable' => "system_config_tab",
                 'whereTable' => "system_config_tab",
                 'findSql' => "select id from @table where `eng_title` = 'system_sms'",
                 'findSql' => "select id from @table where `eng_title` = 'system_sms'",
                 'whereSql' => "SELECT id as tabId FROM `@whereTable` WHERE `eng_title`='basics'",
                 'whereSql' => "SELECT id as tabId FROM `@whereTable` WHERE `eng_title`='basics'",
-                'sql' => "UPDATE `@table` SET `pid` = @tabId WHERE `eng_title` = 'system_sms'"
+                'sql' => "UPDATE `@table` SET `pid` = @tabId, `status` = 1 WHERE `eng_title` = 'system_sms'"
             ],
             ],
             [
             [
                 'code' => 510,
                 'code' => 510,