userId; $result = StoreLogic::getUserStoreList($userId); return $this->success('查询成功', $result, 1, 1); } /** * @notes 门店详情数据 * @return \think\response\Json * @author 胥聪 * @date 2025/12/16 14:54 */ public function userStoreDetails(){ $data = $this->request->post(); $result = StoreLogic::getUserStoreDetails($data); return $this->success('查询成功', $result, 1, 1); } /** * @notes 切换店铺 * @return \think\response\Json * @author 胥聪 * @date 2025/12/16 14:54 */ public function switchStore(){ $data = $this->request->post(); $userId = $this->userId; $result = StoreLogic::switchStore($data,$userId); return $this->success('操作成功', [], 1, 1); } /** * @notes 编辑门店 * @return \think\response\Json * @author 胥聪 * @date 2025/12/17 16:15 */ public function editStore() { $data = $this->request->post(); $result = StoreLogic::editStore($data); if($result){ return $this->success('操作成功', [], 1, 1); } return $this->fail(StoreLogic::getError()); } /** * @notes 包间列表 * @return \think\response\Json * @author 胥聪 * @date 2025/12/17 17:21 */ public function roomList() { $data = $this->request->post(); $result = StoreLogic::roomList($data); return $this->success('', $result, 1, 1); } /** * @notes 包间选择列表 * @return \think\response\Json * @author 胥聪 * @date 2025/12/17 17:21 */ public function roomSelectList() { $data = $this->request->post(); $result = StoreLogic::roomSelectList($data); return $this->success('', $result, 1, 1); } /** * @notes 包间状态 * @return \think\response\Json * @author 胥聪 * @date 2025/12/17 17:37 */ public function editRoom() { $data = $this->request->post(); $result = StoreLogic::editRoom($data); if($result){ return $this->success('操作成功', [], 1, 1); } return $this->fail(StoreLogic::getError()); } /** * @notes 茶室详情页 * @return \think\response\Json * @author 胥聪 * @date 2025/11/11 10:53 */ public function roomDetails(){ $data = $this->request->post(); $result = StoreLogic::roomDetails($data); return $this->success('查询成功', $result, 1, 1); } /** * @notes 获取加盟店套餐 * @return \think\response\Json * @author 胥聪 * @date 2026/2/3 16:30 */ public function storeOperationGroup(){ $data = $this->request->post(); $result = StoreLogic::storeOperationGroup($data); return $this->success('', $result, 1, 1); } /** * @notes 加盟店套餐详情 * @return \think\response\Json * @author 胥聪 * @date 2026/2/3 16:30 */ public function storeOperationGroupDetails(){ $data = $this->request->post(); $result = StoreLogic::storeOperationGroupDetails($data); if($result){ $d['details'] = $result; return $this->success('查询成功', $d, 1, 1); } return $this->fail(StoreLogic::getError()); } /** * @notes 包间标签列表 * @return \think\response\Json * @author 胥聪 * @date 2025/12/18 11:11 */ public function roomLabelList() { $data = $this->request->post(); $result = StoreLogic::roomLabelList($data); return $this->success('', $result, 1, 1); } /** * @notes 添加标签 * @return \think\response\Json * @author 胥聪 * @date 2025/12/18 11:13 */ public function addLabel() { $data = $this->request->post(); $result = StoreLogic::addLabel($data); if($result){ return $this->success('操作成功', [], 1, 1); } return $this->fail(StoreLogic::getError()); } /** * @notes 删除标签 * @return \think\response\Json * @author 胥聪 * @date 2025/12/18 12:18 */ public function delLabel() { $data = $this->request->post(); $result = StoreLogic::delLabel($data); if($result){ return $this->success('操作成功', [], 1, 1); } return $this->fail(StoreLogic::getError()); } /** * @notes 预定包间订单信息 * @return \think\response\Json * @author 胥聪 * @date 2025/12/18 14:15 * @data */ public function submitStoreOrder(){ $data = $this->request->post(); $userId = $this->userId; $result = StoreLogic::addStoreOrder($data,$userId); if($result){ $d['id'] = $result; return $this->success('操作成功', $d, 1, 1); } return $this->fail(StoreLogic::getError()); } /** * @notes 续订 * @return \think\response\Json * @author 胥聪 * @date 2025/12/18 14:36 * @data */ public function renewDtime(){ $data = $this->request->post(); $result = StoreLogic::renewDtime($data); if($result){ return $this->success('操作成功', [], 1, 1); } return $this->fail(StoreLogic::getError()); } /** * @notes 充值套餐列表 * @return \think\response\Json * @author Yzt * @date 2026/01/09 14:36 * @data */ public function rechargeLists(){ $data = $this->request->post(); $result = StoreLogic::rechargeLists($data); if($result){ return $this->success('', $result, 1, 1); } return $this->fail(StoreLogic::getError()); } /** * @notes 添加充值套餐 * @return \think\response\Json * @author Yzt * @date 2026/01/09 14:36 * @data */ public function addRecharge(){ $data = $this->request->post(); $result = StoreLogic::addRecharge($data); if($result){ return $this->success('成功', [], 1, 1); } return $this->fail(StoreLogic::getError()); } /** * @notes 编辑充值套餐 * @return \think\response\Json * @author Yzt * @date 2026/01/09 14:36 * @data */ public function editRecharge(){ $data = $this->request->post(); $result = StoreLogic::editRecharge($data); if($result){ return $this->success('成功', [], 1, 1); } return $this->fail(StoreLogic::getError()); } /** * @notes 删除充值套餐 * @return \think\response\Json * @author Yzt * @date 2026/01/09 14:36 * @data */ public function delRecharge(){ $data = $this->request->post(); $result = StoreLogic::delRecharge($data); if($result){ return $this->success('成功', [], 1, 1); } return $this->fail(StoreLogic::getError()); } /** * @notes 开关充值套餐状态 * @return \think\response\Json * @author Yzt * @date 2026/01/09 14:36 * @data */ public function operateRecharge(){ $data = $this->request->post(); $result = StoreLogic::operateRecharge($data); if($result){ return $this->success('成功', [], 1, 1); } return $this->fail(StoreLogic::getError()); } /** * @notes 资质上传 * @return \think\response\Json * @author Yzt * @date 2026/02/11 14:46 * @data */ public function addQual(){ $data = $this->request->post(); $result = StoreLogic::addQual($data); if($result){ return $this->success('提交成功', [], 1, 1); } return $this->fail(StoreLogic::getError()); } /** * @notes 资质详情 * @return \think\response\Json * @author Yzt * @date 2026/02/11 15:03 * @data */ public function qualDetails(){ $data = $this->request->post(); $result = StoreLogic::qualDetails($data); $d['details'] = $result; return $this->success('', $d, 1, 1); } /** * @notes 编辑资质 * @return \think\response\Json * @author Yzt * @date 2026/02/11 21:41 * @data */ public function editQual(){ $data = $this->request->post(); $result = StoreLogic::editQual($data); if($result){ return $this->success('编辑成功', [], 1, 1); } return $this->fail(StoreLogic::getError()); } }