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}