mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-01 23:40:38 +00:00
Merge branch 'v5.0.0dev' of https://gitee.com/ZhongBangKeJi/CRMEB into v5.0.0dev
This commit is contained in:
commit
e290ad38ae
@ -97,7 +97,7 @@ class SystemRoute extends AuthController
|
||||
*/
|
||||
public function save($id = 0)
|
||||
{
|
||||
$data = $this->request->getMore([
|
||||
$data = $this->request->postMore([
|
||||
['cate_id', 0],
|
||||
['name', ''],
|
||||
['path', ''],
|
||||
@ -126,6 +126,7 @@ class SystemRoute extends AuthController
|
||||
if ($id) {
|
||||
$this->services->update($id, $data);
|
||||
} else {
|
||||
$data['add_time'] = date('Y-m-d H:i:s');
|
||||
$this->services->save($data);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user