From 175f87cde7d07473bd5d2a55d0be5dffedb3a446 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=9D=BE=E6=A0=91?= Date: Thu, 11 Apr 2019 13:51:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9B=A0=E7=8F=AD=E7=BA=A7?= =?UTF-8?q?=E8=BF=87=E5=A4=9A=E6=98=BE=E7=A4=BA=E4=B8=8D=E6=AD=A3=E5=B8=B8?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 3 +-- application/common.php | 10 ++++++++++ application/renshi/view/student/index.html | 2 +- application/teach/controller/Banji.php | 1 + 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5b852b6b..61f7ca52 100644 --- a/README.md +++ b/README.md @@ -22,8 +22,7 @@ ## 演示地址 -域名正在备案中,腾讯云已经开始邮寄幕布,如果不耽误大约在4月份前看到演示页面。 -http://www.xiaoshongshu.cn +http://xiaoshongshu.cn 帐号 test1 密码 123456 ## 更新内容 diff --git a/application/common.php b/application/common.php index f61dc99c..47e112ce 100644 --- a/application/common.php +++ b/application/common.php @@ -91,6 +91,16 @@ function banjinamelist() '13'=>'十三班', '14'=>'十四班', '15'=>'十五班', + '16'=>'十六班', + '17'=>'十七班', + '18'=>'十八班', + '19'=>'十九班', + '20'=>'二十班', + '21'=>'二十一班', + '22'=>'二十二班', + '23'=>'二十三班', + '24'=>'二十四班', + '25'=>'二十五班', ); return $bjarr; diff --git a/application/renshi/view/student/index.html b/application/renshi/view/student/index.html index 2ed8e900..07b27e64 100644 --- a/application/renshi/view/student/index.html +++ b/application/renshi/view/student/index.html @@ -76,7 +76,7 @@ $bjnames = banjinamelist(); $njnum = array_keys($njlist); - $bjlist = $banji->where('ruxuenian','in',$njnum)->max('paixu') + 1; + $bjlist = $banji->where('ruxuenian','in',$njnum)->where('paixu','<',26)->max('paixu') + 1; {/php}
diff --git a/application/teach/controller/Banji.php b/application/teach/controller/Banji.php index 36b2197a..efcb04bb 100644 --- a/application/teach/controller/Banji.php +++ b/application/teach/controller/Banji.php @@ -73,6 +73,7 @@ class Banji extends Base ->where('title','like','%'.$search.'%') ->field('id'); }) + ->where('paixu','<',26) ->whereOr('ruxuenian',$search) ->all(); }