mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-05-22 14:59:14 +08:00
Update Auto.php
This commit is contained in:
parent
573ded1be0
commit
163a211629
@ -87,7 +87,7 @@ class Auto extends Controller
|
|||||||
protected function _form_filter(array &$data)
|
protected function _form_filter(array &$data)
|
||||||
{
|
{
|
||||||
if (empty($data['code'])) {
|
if (empty($data['code'])) {
|
||||||
$data['code'] = CodeExtend::uniqidNumber(16, 'M');
|
$data['code'] = CodeExtend::uniqidNumber(18, 'AUTO');
|
||||||
}
|
}
|
||||||
if ($this->request->isGet()) {
|
if ($this->request->isGet()) {
|
||||||
$public = dirname($this->request->basefile(true));
|
$public = dirname($this->request->basefile(true));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user