分离数据模型

This commit is contained in:
巴掌 committed 2020-08-07 16:40:41 +08:00
1 parent d4cb9dc429
commit b007b733b8
21 files changed
+353 -781

No files matched your search

+8 -3
View File
@@ -6,10 +6,12 @@ DEFAULT_TIMEZONE = Asia/Shanghai
[DATABASE]
TYPE = mysql
HOSTNAME = 127.0.0.1
DATABASE = mayi
USERNAME = username
PASSWORD = password
DATABASE = dlsm
USERNAME = mayi
PASSWORD = 123456
HOSTPORT = 3306
CHARSET = utf8
PREFIX = cj_
DEBUG = false
[LANG]
@@ -17,3 +19,6 @@ default_lang = zh-cn
[SESSION]
EXPIRE = 1200
[SHANGMA]
CLASSMAX = 30
+2 -2
View File
@@ -1,5 +1,5 @@
<?php
namespace app\base\contoller;
namespace app\base\controller;
// 引用控制器基类
use app\BaseController;
@@ -7,7 +7,7 @@ use app\BaseController;
/**
* 控制器基础类
*/
abstract class StudentSearchBase extends BaseController
abstract class StudentSearchBase extends BaseController
{
/**
* 控制器中间件
+4 -2
View File
@@ -161,7 +161,9 @@
// 学科列表
function subjectAll()
function subjectKaoshiList()
{
$sbj = new \app\teach\model\Subject;
$subject = $sbj->kaoshi();
return $subject;
}
Loaded 3 of 21 files, more files were not shown because too many files have changed in this diff. Show more