protected function ajaxExecute(MUser $me, MShop $shop)
 {
     $cid = MRequest::request('cid');
     $newName = MRequest::request('name');
     try {
         $shop->updateCategory($cid, $newName);
         $category = $shop->getCategory($cid);
     } catch (Exception $e) {
         return MJsonRespond::respondFail('更新失败');
     }
     return MJsonRespond::respondSuccess('成功', array('category' => $category));
 }