修复充值成功后用户充值记录查询不到的bug;添加充值记录统计接口

This commit is contained in:
2025-01-02 09:20:36 +08:00
parent 3f6c1a3f35
commit b5df093067
4 changed files with 60 additions and 0 deletions

View File

@ -43,6 +43,17 @@ public class NgUserRechargeRecordsController extends BaseController
@Autowired
private INgUserRechargeRecordsService ngUserRechargeRecordsService;
/**
* 统计充值记录中的充值总金额和充值用户数量
* @return
*/
@GetMapping("/total")
@ApiOperation("统计充值记录中的充值总金额和充值用户数量")
public AjaxResult total(NgUserRechargeRecordsDto ngUserRechargeRecordsDto)
{
return success(ngUserRechargeRecordsService.getTotal(ngUserRechargeRecordsDto));
}
/**
* 查询用户充值记录列表
*/