|
@@ -88,16 +88,16 @@ class GroupController extends BaseController
|
|
}
|
|
}
|
|
|
|
|
|
if ($this->request->isPost()) {
|
|
if ($this->request->isPost()) {
|
|
- $name = $this->request->post('name/s', '');
|
|
+ $name = $this->request->post('uname/s', '');
|
|
- $status = $this->request->post('status/d', 0);
|
|
+ $status = $this->request->post('audit/d', 0);
|
|
|
|
|
|
if (!$name) {
|
|
if (!$name) {
|
|
return json(['code' => -1, 'msg' => '分组名称不能为空']);
|
|
return json(['code' => -1, 'msg' => '分组名称不能为空']);
|
|
}
|
|
}
|
|
|
|
|
|
$data = [
|
|
$data = [
|
|
- 'name' => $name,
|
|
+ 'uname' => $name,
|
|
- 'status' => $status,
|
|
+ 'audit' => $status,
|
|
];
|
|
];
|
|
|
|
|
|
$result = $groupModel->edit($id, $data);
|
|
$result = $groupModel->edit($id, $data);
|
|
@@ -115,6 +115,8 @@ class GroupController extends BaseController
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
+
|
|
|
|
|
|
* 修改审核状态
|
|
* 修改审核状态
|
|
*
|
|
*
|