Commit 005cbf5d by 杨林龙

Merge remote-tracking branch 'origin/master'

2 parents 369996ee 5d0238b9
...@@ -10,6 +10,7 @@ import org.springframework.cloud.openfeign.FeignClient; ...@@ -10,6 +10,7 @@ import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType; import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody;
import java.util.List; import java.util.List;
...@@ -27,6 +28,7 @@ public interface MileFeignService { ...@@ -27,6 +28,7 @@ public interface MileFeignService {
* @return * @return
*/ */
@PostMapping(value = "/getdevicedetailmileagelist", consumes = MediaType.APPLICATION_JSON_VALUE) @PostMapping(value = "/getdevicedetailmileagelist", consumes = MediaType.APPLICATION_JSON_VALUE)
@ResponseBody
R<List<JourneyDetailDTO>> getDeviceDetailMileageList(@RequestBody JourneyDetailRequest journeyDetailRequest); R<List<JourneyDetailDTO>> getDeviceDetailMileageList(@RequestBody JourneyDetailRequest journeyDetailRequest);
/** /**
...@@ -36,6 +38,6 @@ public interface MileFeignService { ...@@ -36,6 +38,6 @@ public interface MileFeignService {
* @return * @return
*/ */
@PostMapping(value = "/getdailyjourneyrecords", consumes = MediaType.APPLICATION_JSON_VALUE) @PostMapping(value = "/getdailyjourneyrecords", consumes = MediaType.APPLICATION_JSON_VALUE)
@ResponseBody
R<List<JourneyDailyDTO>> getDailyJourneyRecords(@RequestBody JourneyDailyRequest journeyDailyRequest); R<List<JourneyDailyDTO>> getDailyJourneyRecords(@RequestBody JourneyDailyRequest journeyDailyRequest);
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!