From d1a35a248bb02c2269bb667e9c49630f07b9943f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A3=B7=E5=8F=B6?= <14103883+leaf-phos@user.noreply.gitee.com> Date: Sat, 2 Nov 2024 11:19:48 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E6=93=8D=E4=BD=9C=E6=97=A5?= =?UTF-8?q?=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web/controller/app/AppTransactionBillController.java | 6 ++++++ 1 file changed, 6 insertions(+) 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) {