diff --git a/smart-switch-web/src/main/java/com/ruoyi/web/controller/app/AppTransactionBillController.java b/smart-switch-web/src/main/java/com/ruoyi/web/controller/app/AppTransactionBillController.java index 26b6d165..65a5f4a2 100644 --- a/smart-switch-web/src/main/java/com/ruoyi/web/controller/app/AppTransactionBillController.java +++ b/smart-switch-web/src/main/java/com/ruoyi/web/controller/app/AppTransactionBillController.java @@ -1,12 +1,15 @@ package com.ruoyi.web.controller.app; import com.fasterxml.jackson.annotation.JsonView; +import com.ruoyi.common.annotation.Log; import com.ruoyi.common.core.controller.BaseController; import com.ruoyi.common.core.domain.AjaxResult; import com.ruoyi.common.core.domain.JsonViewProfile; import com.ruoyi.common.core.domain.ValidGroup; import com.ruoyi.common.core.domain.model.LoginUser; import com.ruoyi.common.core.page.TableDataInfo; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.common.enums.OperatorType; import com.ruoyi.common.utils.DateUtils; import com.ruoyi.common.utils.ServiceUtil; import com.ruoyi.dashboard.domain.vo.BillCountVo; @@ -233,6 +236,7 @@ public class AppTransactionBillController extends BaseController } @ApiOperation("蓝牙充值成功回调") + @Log(title = "蓝牙充值成功回调", businessType = BusinessType.OTHER, operatorType = OperatorType.MOBILE) @GetMapping("/recharge/{billNo}/bluetoothSuccess") public AjaxResult bluetoothRechargeSuccess(@PathVariable String billNo) { return success(transactionBillService.bluetoothRechargeSuccess(billNo)); @@ -335,6 +339,7 @@ public class AppTransactionBillController extends BaseController } @ApiOperation("开启/关闭正在使用的订单设备") + @Log(title = "开启/关闭正在使用的订单设备", businessType = BusinessType.OTHER, operatorType = OperatorType.MOBILE) @PutMapping("/switchDevice") public AjaxResult switchDevice(@RequestParam Long billId, @RequestParam Boolean open) { TransactionBillQuery query = new TransactionBillQuery(); @@ -360,6 +365,7 @@ public class AppTransactionBillController extends BaseController @ApiOperation("充值订单设备") @PutMapping("/rechargeBillDevice") + @Log(title = "充值订单设备", businessType = BusinessType.OTHER, operatorType = OperatorType.MOBILE) public AjaxResult rechargeBillDevice(@RequestParam String billNo) { TransactionBillVO bill = transactionBillService.selectSmTransactionBillByBillNo(billNo); if (bill == null) {