修改考号

This commit is contained in:
巴掌 committed 2020-04-07 16:10:28 +08:00
1 parent 1a5435e7f2
commit 08fc415264
9 files changed
+210 -209

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ class Rule extends Validate
* @var array
*/
protected $rule = [
'title|规则名' => 'require|chs|length:2,6',
'title|规则名' => 'require|chs|length:2,80',
'name|规则' => ['require', 'length:1,80', 'uset'=>'/^[a-zA-Z\/]*$/'],
'paixu|排序' => 'number|max:999',
];
@@ -15,7 +15,7 @@ use think\Validate;
use app\kaohao\model\KaohaoSearch as khSear;
class KaohaoExcel extends BaseController
class Excel extends BaseController
{
// 标签下载
public function biaoqian($kaoshi_id)
@@ -36,7 +36,7 @@ class KaohaoExcel extends BaseController
'webtitle' => '下载考号'
,'butname' => '下载'
,'formpost' => 'POST'
,'url' => '/kaoshi/kaohao/biaoqianxls'
,'url' => '/kaohao/excel/biaoqianxls'
,'kaoshi_id' => $kaoshi_id
);
@@ -172,7 +172,7 @@ class KaohaoExcel extends BaseController
'webtitle'=>'下载成绩采集表'
,'butname'=>'下载'
,'formpost'=>'POST'
,'url'=>'/kaoshi/kaohao/dwcaiji'
,'url'=>'/kaohao/excel/dwcaiji'
,'kaoshi_id'=>$kaoshi_id
);
+1 -1
View File
@@ -49,7 +49,7 @@ class Index extends BaseController
event('kslu', $list['kaoshi_id']);
// 验证表单数据
$validate = new \app\kaoshi\validate\Kaohao;
$validate = new \app\kaohao\validate\Kaohao;
$result = $validate->check($list);
$msg = $validate->getError();
if(!$result){
Loaded 3 of 9 files, more files were not shown because too many files have changed in this diff. Show more