From caf00fc53d7ce94d232bc0820986557453b9b9f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=9D=BE=E6=A0=91?= Date: Tue, 11 Jun 2019 10:52:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=9B=E5=BB=BA=E8=80=83?= =?UTF-8?q?=E8=AF=95=E4=B8=AD=E5=AD=A6=E6=9C=9F=E5=88=97=E8=A1=A8=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/kaoshi/view/index/create.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/application/kaoshi/view/index/create.html b/application/kaoshi/view/index/create.html index f5b056d0..d4c0f7b6 100644 --- a/application/kaoshi/view/index/create.html +++ b/application/kaoshi/view/index/create.html @@ -33,10 +33,17 @@
- {php} $category = getCategory(108);{/php} + {php} + $xueqi = new \app\teach\model\Xueqi; + $xueqilist = $xueqi + ->limit(6) + ->order(['id'=>'desc']) + ->field('id,title') + ->select(); + {/php}