/**
  * 店铺查看
  */
 public function view()
 {
     $storeid = I('id', 0);
     $map = array('id' => $storeid);
     $result = apiCall(StoreApi::GET_INFO, array($map));
     if (!$result['status']) {
         $this->error($result['info']);
     }
     $rank = convert2LevelImg($result['info']['exp']);
     $this->assign("vo", $result['info']);
     $this->assign("rank", $rank);
     $this->assign("products", $this->listProduts());
     $this->theme($this->themeType)->display();
 }
 /**
  * 用户个人中心
  */
 public function info()
 {
     if (IS_GET) {
         $tobePaid = $this->orderCount(1);
         $tobeShipped = $this->orderCount(2);
         $tobeReceipt = $this->orderCount(3);
         $tobeEval = $this->orderCount(4);
         $this->assign("tobepaid", $tobePaid);
         $this->assign("tobeshipped", $tobeShipped);
         $this->assign("tobereceipt", $tobeReceipt);
         $this->assign("tobeeval", $tobeEval);
         $rank = convert2LevelImg($this->userinfo['exp']);
         $this->assign("rank", $rank);
         $this->theme($this->themeType)->display();
     }
 }