设备操作日志
This commit is contained in:
parent
68c65c5a7c
commit
d1a35a248b
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user