fix
This commit is contained in:
@@ -31,6 +31,6 @@ public class BerthInfoResponse {
|
||||
* 铺位经纬度
|
||||
*/
|
||||
@ApiModelProperty("铺位经纬度")
|
||||
private String geohash;
|
||||
private String location;
|
||||
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ public class BrandResponse {
|
||||
* 该品牌门店所在位置
|
||||
*/
|
||||
@ApiModelProperty("该品牌门店所在位置")
|
||||
private String geohash;
|
||||
private String location;
|
||||
/**
|
||||
* 品牌数量
|
||||
*/
|
||||
|
||||
@@ -25,7 +25,7 @@ public class OpportunityDetailResponse {
|
||||
@ApiModelProperty("机会点地址")
|
||||
private String address;
|
||||
@ApiModelProperty("地理坐标 GeoHash 值")
|
||||
private String geohash;
|
||||
private String location;
|
||||
@ApiModelProperty("省编码")
|
||||
private Integer province;
|
||||
@ApiModelProperty("市编码")
|
||||
|
||||
@@ -46,5 +46,5 @@ public class StoreInfoResponse {
|
||||
* 门店经纬度
|
||||
*/
|
||||
@ApiModelProperty("门店经纬度")
|
||||
private String geohash;
|
||||
private String location;
|
||||
}
|
||||
|
||||
@@ -5,6 +5,7 @@ import com.cool.store.response.ResponseResult;
|
||||
import com.cool.store.service.OpportunityPointService;
|
||||
import com.cool.store.vo.point.MiniPointPageVO;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
@@ -19,16 +20,18 @@ import java.util.List;
|
||||
* @注释:
|
||||
*/
|
||||
@RestController
|
||||
@Api("机会点详情")
|
||||
@Api(tags = "机会点详情")
|
||||
@RequestMapping("/mini/opportunityPoint")
|
||||
public class MiniOpportunityPointController {
|
||||
@Resource
|
||||
private OpportunityPointService opportunityPointService;
|
||||
@GetMapping("/getPoints")
|
||||
@ApiModelProperty("根据机会点编号获取铺位信息")
|
||||
public ResponseResult<List<MiniPointPageVO> >getPointByOpportunityPointCode(String code) {
|
||||
return ResponseResult.success(opportunityPointService.getPointByOpportunityPointCode(code));
|
||||
}
|
||||
@GetMapping("/getShops")
|
||||
@ApiModelProperty("根据机会点编号获取门店信息")
|
||||
public ResponseResult<List<MiniShopDTO> >getShopByOpportunityPointCode(String code) {
|
||||
return ResponseResult.success(opportunityPointService.getShopByOpportunityPointCode(code));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user