
templates.service.MapController.ftl Maven / Gradle / Ivy
package ${packageName}.service.party;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import ${packageName}.service.party.service.MapService;
import org.yes.tools.core.result.CommonResult;
/**
* @author Co.
* @date 2022年 08月24日 15:54:59
*/
@Slf4j
@Tag(name = "地图控制器")
@RestController
public class MapController {
@Autowired
private MapService mapService;
@Operation(summary = "关键字输入提示")
<#if isSpringCloud == 1>
@GetMapping("party/map/place/suggestion")
<#else >
@GetMapping("api/party/map/place/suggestion")
#if>
public CommonResult
© 2015 - 2025 Weber Informatics LLC | Privacy Policy