/** * 取消推荐美容院 * @date: 2016-1-8 * @author: futao */ public function calloffAction() { $req = $this->request; $id = $req->getQuery("id"); $cityid = $req->getQuery("city_id"); $flg = CosPointBp::find("id = {$id}")->delete(); if ($flg == true) { echo "<script>window.parent.location.href='/manage/bp/bannerBp?City={$cityid}'</script>"; } }