mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
add 新增 首页查询每天的保险收入金额接口
This commit is contained in:
@@ -73,7 +73,7 @@ public class indexController extends BaseController {
|
||||
*/
|
||||
@PostMapping("/getPlatformProfit")
|
||||
public RestApiResponse<?> getPlatformProfit(@RequestBody IndexQueryDTO dto) {
|
||||
logger.info("查询每天平台抽成金额");
|
||||
logger.info("查询每天平台抽成金额 param:{}", JSON.toJSONString(dto));
|
||||
RestApiResponse<?> response;
|
||||
try {
|
||||
List<IndexPlatformProfitVO> indexOrderInfo = orderBasicInfoService.getPlatformProfit(dto);
|
||||
@@ -86,4 +86,23 @@ public class indexController extends BaseController {
|
||||
return response;
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询每天的保险费用
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/getInsuranceAmount")
|
||||
public RestApiResponse<?> getInsuranceAmount(@RequestBody IndexQueryDTO dto) {
|
||||
logger.info("查询每天的保险费用 param:{}", JSON.toJSONString(dto));
|
||||
RestApiResponse<?> response = null;
|
||||
try {
|
||||
List<IndexPlatformProfitVO> indexOrderInfo = orderBasicInfoService.getInsuranceAmount(dto);
|
||||
response = new RestApiResponse<>(indexOrderInfo);
|
||||
} catch (Exception e) {
|
||||
logger.error("查询每天的保险费用 error!{}", e.getMessage());
|
||||
response = new RestApiResponse<>("00200004", "查询每天的保险费用错误");
|
||||
}
|
||||
logger.info("查询每天的保险费用 result:{}", JSON.toJSONString(response));
|
||||
return response;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user