public function Modify()
 {
     $this->LogInfo("Modify customer ...");
     $customer = $this->objectToArray($this->GetCommonData());
     if ("" == $customer['role_id']) {
         $this->errorCode = MispErrorCode::ERROR_ROLE_IS_EMPTY;
         $this->ReturnJson();
         return;
     }
     //修改用户角色
     $user['user_id'] = $customer['user_id'];
     $user['role_id'] = $customer['role_id'];
     $this->errorCode = MispCommonUserService::Modify($user);
     if (MispErrorCode::SUCCESS != $this->errorCode) {
         $this->ReturnJson();
         return;
     }
     //修改会员信息
     unset($customer['role_id']);
     //删除$customer中的role_id字段
     try {
         $result = MispCommonService::Modify($this->GetModel(), $customer);
     } catch (FuegoException $e) {
         $this->errorCode = $e->getCode();
     }
     $this->ReturnJson();
 }