更新项目部分结构,新增加DB
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
|
||||
namespace admin\controllers\system;
|
||||
|
||||
use admin\models\search\ConfigSearch;
|
||||
use common\core\BaseAdminController;
|
||||
use common\helpers\ArrayHelper;
|
||||
use common\models\oldDb\Config;
|
||||
use Yii;
|
||||
use common\models\Config;
|
||||
use admin\models\search\ConfigSearch;
|
||||
use yii\base\Exception;
|
||||
use yii\web\NotFoundHttpException;
|
||||
|
||||
@@ -91,7 +91,7 @@ class ConfigController extends BaseAdminController
|
||||
*/
|
||||
public function actionGroup()
|
||||
{
|
||||
$config = \common\models\Config::find()->where([
|
||||
$config = \common\models\oldDb\Config::find()->where([
|
||||
'name' => 'GROUP'
|
||||
])->one();
|
||||
$tab_groups = Config::parse(3, $config['value']);
|
||||
|
||||
Reference in New Issue
Block a user