|
@@ -79,7 +79,7 @@ class User extends CatchController
|
|
|
// $area_id=json_encode($request->param('area_id'));
|
|
|
$params=$request->param();
|
|
|
|
|
|
- $params['realname']=$params['username'];
|
|
|
+ //$params['realname']=$params['username'];
|
|
|
|
|
|
$this->user->storeBy($params);
|
|
|
|
|
@@ -121,7 +121,7 @@ class User extends CatchController
|
|
|
if($params['password']==""){
|
|
|
unset($params['password']);
|
|
|
}
|
|
|
- $params['realname']=$params['username'];
|
|
|
+ // $params['realname']=$params['username'];
|
|
|
$this->user->updateBy($id, $params);
|
|
|
|
|
|
$user = $this->user->findBy($id);
|