mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-05-24 15:56:44 +08:00
Update NewsItem.php
This commit is contained in:
parent
596e516347
commit
3a30d62661
@ -94,7 +94,7 @@ class NewsItem extends Controller
|
||||
protected function _form_filter(array &$data)
|
||||
{
|
||||
if (empty($data['code'])) {
|
||||
$data['code'] = CodeExtend::uniqidDate(15, 'A');
|
||||
$data['code'] = CodeExtend::uniqidNumber(15, 'A');
|
||||
}
|
||||
if ($this->request->isGet()) {
|
||||
$query = $this->app->db->name('DataNewsMark')->where(['deleted' => 0, 'status' => 1]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user