Example #1
0
 public function collect(Request $request, Response $response)
 {
     $this->v->set_tplname('mod_user_collect');
     if ($request->is_hashreq()) {
         $collect_list = Goods::getUserCollectList();
         $this->v->assign('collect_list', $collect_list);
         $this->v->assign('collect_num', count($collect_list));
     }
     $response->send($this->v);
 }