From b8f914cec1c80d564280376eeb5caf3a9bb74361 Mon Sep 17 00:00:00 2001 From: Anyon Date: Tue, 18 Aug 2020 10:52:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=BA=AB=E4=BD=93=E5=9B=BE?= =?UTF-8?q?=E6=96=87=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/wechat/view/news/index.html | 29 ++++++++++++----------------- config/database.php | 2 +- 2 files changed, 13 insertions(+), 18 deletions(-) diff --git a/app/wechat/view/news/index.html b/app/wechat/view/news/index.html index b35a4b978..fe44e3b8a 100644 --- a/app/wechat/view/news/index.html +++ b/app/wechat/view/news/index.html @@ -41,33 +41,28 @@ {block name='script'} {/block} diff --git a/config/database.php b/config/database.php index a3bcc8a16..a7c3df48d 100644 --- a/config/database.php +++ b/config/database.php @@ -28,7 +28,7 @@ return [ // 数据库类型 'type' => 'mysql', // 服务器地址 - 'hostname' => 'server.cuci.cc', + 'hostname' => '127.0.0.1', // 数据库名 'database' => 'admin_v6', // 用户名