mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 15:32:48 +08:00
增加默认密码;修改curd返回异常信息;去除admin表username唯一值;
This commit is contained in:
@@ -74,6 +74,8 @@ abstract class BaseController
|
||||
if (is_array($validate)) {
|
||||
$v = new Validate();
|
||||
$v->rule($validate);
|
||||
} else if ($validate instanceof Validate) {
|
||||
$v = $validate;
|
||||
} else {
|
||||
if (strpos($validate, '.')) {
|
||||
// 支持场景
|
||||
|
||||
Reference in New Issue
Block a user