From dc6b959dcc7627934f119382c09e7b6a33e07453 Mon Sep 17 00:00:00 2001
From: 王晓刚 <wxg@bronet.cn>
Date: Sat, 2 Mar 2019 14:26:15 +0800
Subject: [PATCH] 托管成功短信提示

---
 app/admin/controller/ChitController.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app/admin/controller/ChitController.php b/app/admin/controller/ChitController.php
index 48486f2..571609a 100644
--- a/app/admin/controller/ChitController.php
+++ b/app/admin/controller/ChitController.php
@@ -16,7 +16,8 @@ use think\Validate;
 class ChitController extends AdminBaseController
 {
     public function index(){
-        $data1=Db::name('page_html')->where('id',5)->whereOr(['id'=>6,'id'=>4])->select();
+        $where['id'] = ['in'=>[4,5,6]];
+        $data1=Db::name('page_html')->where($where)->select();
         $id = $this->request->param('id') ? $this->request->param('id') : $data1[0]['id'];
         $data=Db::name('page_html')
             ->where('id',$id)
--
libgit2 0.24.0