/**
  * 保存编辑后的公众号数据.
  *
  * @param \Illuminate\Http\Request $request
  * @param int                      $accountId
  *
  * @return \Illuminate\Http\Response
  */
 public function postEdit(UpdateRequest $request, $accountId)
 {
     $this->accountRepository->update($request->all(), $accountId);
     return success('修改成功!', user_url('/'));
 }
 public function postUpdate(UpdateRequest $request, $id)
 {
     $this->accountRepository->update($id, $request->all());
     return responseSuccess('修改成功', 'account/index');
 }