SchoolPhysicalExamination/application/admin/controller/Index.php

31 lines
934 B
PHP
Raw Normal View History

2024-03-01 18:31:19 +08:00
<?php
namespace app\admin\controller;
use think\Controller;
use think\Db;
use app\bj\controller\Common;
use think\Log;
use \think\Validate;
class Index extends Controller{
public function index(){
// $this->assign('domain',$a);
return $this->fetch();
}
public function welcome(){
// $this->assign('domain',$a);
return $this->fetch();
}
2024-03-06 16:58:11 +08:00
################################################################other################################################################
################################################################other################################################################
################################################################other################################################################
public function msg($code,$msg='',$data=[]){
return json(['code'=>$code,'msg'=>$msg,'data'=>$data]);
}
2024-03-01 18:31:19 +08:00
}