|
|
@@ -0,0 +1,23 @@
|
|
|
+package com.example.cinema.controller;
|
|
|
+
|
|
|
+import com.example.cinema.bl.HallService;
|
|
|
+import com.example.cinema.vo.ResponseVO;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @author fjj
|
|
|
+ * @date 2019/4/12 1:59 PM
|
|
|
+ */
|
|
|
+@RestController
|
|
|
+public class HallController {
|
|
|
+ @Autowired
|
|
|
+ private HallService hallService;
|
|
|
+
|
|
|
+ @RequestMapping(value = "hall/all", method = RequestMethod.GET)
|
|
|
+ public ResponseVO searchAllHall(){
|
|
|
+ return hallService.searchAllHall();
|
|
|
+ }
|
|
|
+}
|