LuoDLeo 3 месяцев назад
Родитель
Сommit
d0eff2e281

+ 3 - 0
src/main/java/org/springblade/modules/api/controller/ApiVendingController.java

@@ -9,6 +9,7 @@ import io.swagger.annotations.ApiOperation;
 import lombok.AllArgsConstructor;
 import org.springblade.common.aspect.VendingFlag;
 import org.springblade.common.constant.CommonConstant;
+import org.springblade.core.log.annotation.ApiLog;
 import org.springblade.modules.api.request.VendingOrderReq;
 import org.springblade.modules.api.response.VendingOrderRes;
 import org.springblade.modules.api.service.VendingOrderService;
@@ -37,6 +38,7 @@ public class ApiVendingController {
     private final VendingOrderService vendingOrderService;
 
 
+    @ApiLog("查询设备订单信息")
     @VendingFlag
     @ApiOperation(value = "查询订单信息", notes = "传入售货机编号")
     @PostMapping("/getOrder")
@@ -74,6 +76,7 @@ public class ApiVendingController {
 
     }
 
+    @ApiLog("设备出货成功回调")
     @ApiOperation(value = "出货成功回调", notes = "出货成功回调")
     @PostMapping("callback")
     public void callback() {