|
@@ -15,7 +15,6 @@ import com.ydtech.modules.base.controller.BaseController;
|
|
|
import com.ydtech.modules.order.entity.BasePageResult;
|
|
import com.ydtech.modules.order.entity.BasePageResult;
|
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
-import io.swagger.annotations.ApiParam;
|
|
|
|
|
import lombok.RequiredArgsConstructor;
|
|
import lombok.RequiredArgsConstructor;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
|
@@ -70,8 +69,8 @@ public class SysPcAddressController extends BaseController{
|
|
|
*/
|
|
*/
|
|
|
@PostMapping("/locations")
|
|
@PostMapping("/locations")
|
|
|
@ApiOperation(value = "pc地址范围查询")
|
|
@ApiOperation(value = "pc地址范围查询")
|
|
|
- public List<SysPcAddress> getLocationsWithinRadius(@RequestBody AdressRangeDto adressRangeDto) {
|
|
|
|
|
- return sysPcAddressService.findLocationsWithinRadius(adressRangeDto);
|
|
|
|
|
|
|
+ public HttpResult<List<SysPcAddress>> getLocationsWithinRadius(@RequestBody AdressRangeDto adressRangeDto) {
|
|
|
|
|
+ return HttpResult.ok("success",sysPcAddressService.findLocationsWithinRadius(adressRangeDto));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@PostMapping("/queryPcNum")
|
|
@PostMapping("/queryPcNum")
|