|
@@ -18,7 +18,7 @@ class System extends Auth
|
|
|
}
|
|
|
|
|
|
# 创建管理员
|
|
|
- public function update($db, $data, $param = array())
|
|
|
+ public function update($system, $db, $data)
|
|
|
{
|
|
|
if (isset($data['mobile']) && $data['mobile']) {
|
|
|
$system = Dever::db('system', 'manage')->find(array('key' => $param['system']));
|