Example #1
0
 public function testDistrict_get()
 {
     $results = $this->my_m->get_all();
     //   		$results = $this->ctype_m->get_all_headType();
     //   		$results = $this->district_m->get_all_headDistrict();
     //   		$this->load->model('district_m','district');
     //   		$json = $this->district_m->test();
     var_dump($results);
 }
Example #2
0
 public function myFavoritedShop_delete()
 {
     $uid = $this->get('uid');
     $shopId = $this->get('shopId');
     $sessionToken = $this->get('sessionToken');
     if (empty($uid) || empty($shopId) || empty($sessionToken)) {
         return outputError(-1, '没有用户信息或商户信息');
     }
     //		$json = $this->kq->removePointerInArrayForUser($uid,$sessionToken,'favoritedShops',avosPointer('Shop',$shopId));
     $result = $this->my_m->remove_my_favorited_shop($uid, $sessionToken, $shopId);
     return $this->output_results($result);
 }