| | |
| | | import cc.mrbird.febs.common.entity.FebsResponse; |
| | | import cc.mrbird.febs.mall.conversion.MallAddressInfoConversion; |
| | | import cc.mrbird.febs.mall.dto.AddressInfoDto; |
| | | import cc.mrbird.febs.mall.dto.ApiIdentifyAddressDto; |
| | | import cc.mrbird.febs.mall.entity.MallAddressInfo; |
| | | import cc.mrbird.febs.mall.service.IApiMallAddressInfoService; |
| | | import cc.mrbird.febs.mall.vo.AddressInfoVo; |
| | |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.validation.Valid; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | return new FebsResponse().success().message("设置成功"); |
| | | } |
| | | |
| | | @ApiOperation(value = "智能识别地址", notes = "智能识别地址") |
| | | @PostMapping(value = "/identifyAddress") |
| | | public FebsResponse identifyAddress(@RequestBody @Valid ApiIdentifyAddressDto identifyAddressDto) { |
| | | return mallAddressInfoService.identifyAddress(identifyAddressDto); |
| | | } |
| | | |
| | | } |