xufenglei
2018-01-26 fae2a14914c00d4e450ef855754c3687279e398a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.moral.controller;
 
 
import com.alibaba.fastjson.JSONObject;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.ModelAndView;
 
import java.util.Map;
 
/**
 *  所有地图接口都放在此处
 */
@Controller
@RequestMapping("map")
public class MapController {
    @RequestMapping(value = "/main-page", method = RequestMethod.GET)
    public String map(){
        ModelAndView mv = new ModelAndView("map");
        return "map";
    }
}