SchoolPhysicalExamination/application/admin/controller/Index.php

31 lines
934 B
PHP

<?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();
}
################################################################other################################################################
################################################################other################################################################
################################################################other################################################################
public function msg($code,$msg='',$data=[]){
return json(['code'=>$code,'msg'=>$msg,'data'=>$data]);
}
}