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;
|
}
|
}
|