kaiyu
2021-10-29 779633ee344c5571985c5779468073c1ca7373bd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package com.moral.api.controller;
 
import com.moral.constant.ResultMessage;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
/**
 * @ClassName WeatherController
 * @Description TODO
 * @Author 陈凯裕
 * @Date 2021/10/28 8:43
 * @Version TODO
 **/
@Slf4j
@Api(tags = {"用户管理"})
@RestController
@RequestMapping("/weather")
@CrossOrigin(origins = "*", maxAge = 3600)
public class WeatherController {
    @GetMapping("queryByRegionCode")
    public ResultMessage queryByRegionCode(String regionCode){
        return null;
    }
}