|
@@ -22,6 +22,7 @@ import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
import vip.xiaonuo.common.annotation.CommonLog;
|
|
|
+import vip.xiaonuo.common.annotation.CommonNoRepeat;
|
|
|
import vip.xiaonuo.common.pojo.CommonResult;
|
|
|
import vip.xiaonuo.biz.modular.rechargerecord.entity.BizRechargeRecord;
|
|
|
import vip.xiaonuo.biz.modular.rechargerecord.param.BizRechargeRecordAddParam;
|
|
@@ -70,27 +71,27 @@ public class BizRechargeRecordController {
|
|
|
*/
|
|
|
@Operation(summary = "添加充值记录表")
|
|
|
@CommonLog("添加充值记录表")
|
|
|
- @SaCheckPermission("/biz/rechargerecord/add")
|
|
|
@PostMapping("/biz/rechargerecord/add")
|
|
|
+ @CommonNoRepeat
|
|
|
public CommonResult<String> add(@RequestBody @Valid BizRechargeRecordAddParam bizRechargeRecordAddParam) {
|
|
|
bizRechargeRecordService.add(bizRechargeRecordAddParam);
|
|
|
return CommonResult.ok();
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * 编辑充值记录表
|
|
|
- *
|
|
|
- * @author wulei
|
|
|
- * @date 2025/02/06 17:41
|
|
|
- */
|
|
|
- @Operation(summary = "编辑充值记录表")
|
|
|
- @CommonLog("编辑充值记录表")
|
|
|
- @SaCheckPermission("/biz/rechargerecord/edit")
|
|
|
- @PostMapping("/biz/rechargerecord/edit")
|
|
|
- public CommonResult<String> edit(@RequestBody @Valid BizRechargeRecordEditParam bizRechargeRecordEditParam) {
|
|
|
- bizRechargeRecordService.edit(bizRechargeRecordEditParam);
|
|
|
- return CommonResult.ok();
|
|
|
- }
|
|
|
+// /**
|
|
|
+// * 编辑充值记录表
|
|
|
+// *
|
|
|
+// * @author wulei
|
|
|
+// * @date 2025/02/06 17:41
|
|
|
+// */
|
|
|
+// @Operation(summary = "编辑充值记录表")
|
|
|
+// @CommonLog("编辑充值记录表")
|
|
|
+// @SaCheckPermission("/biz/rechargerecord/edit")
|
|
|
+// @PostMapping("/biz/rechargerecord/edit")
|
|
|
+// public CommonResult<String> edit(@RequestBody @Valid BizRechargeRecordEditParam bizRechargeRecordEditParam) {
|
|
|
+// bizRechargeRecordService.edit(bizRechargeRecordEditParam);
|
|
|
+// return CommonResult.ok();
|
|
|
+// }
|
|
|
|
|
|
/**
|
|
|
* 删除充值记录表
|
|
@@ -100,7 +101,6 @@ public class BizRechargeRecordController {
|
|
|
*/
|
|
|
@Operation(summary = "删除充值记录表")
|
|
|
@CommonLog("删除充值记录表")
|
|
|
- @SaCheckPermission("/biz/rechargerecord/delete")
|
|
|
@PostMapping("/biz/rechargerecord/delete")
|
|
|
public CommonResult<String> delete(@RequestBody @Valid @NotEmpty(message = "集合不能为空")
|
|
|
List<BizRechargeRecordIdParam> bizRechargeRecordIdParamList) {
|
|
@@ -115,7 +115,6 @@ public class BizRechargeRecordController {
|
|
|
* @date 2025/02/06 17:41
|
|
|
*/
|
|
|
@Operation(summary = "获取充值记录表详情")
|
|
|
- @SaCheckPermission("/biz/rechargerecord/detail")
|
|
|
@GetMapping("/biz/rechargerecord/detail")
|
|
|
public CommonResult<BizRechargeRecord> detail(@Valid BizRechargeRecordIdParam bizRechargeRecordIdParam) {
|
|
|
return CommonResult.data(bizRechargeRecordService.detail(bizRechargeRecordIdParam));
|