From 01a79d5b431b71cc79cf5f6cc92cd4f3432781dd Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期二, 30 四月 2024 12:39:54 +0800
Subject: [PATCH] 代码提交
---
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrTaskSingleController.java | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrTaskSingleController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrTaskSingleController.java
index eefd066..f42d2d6 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrTaskSingleController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrTaskSingleController.java
@@ -8,10 +8,13 @@
import com.ruoyi.common.utils.DtoConversionUtils;
import com.ruoyi.common.utils.PageUtils;
import com.ruoyi.common.utils.poi.ExcelUtil;
-import com.smartor.domain.*;
+import com.smartor.domain.IvrTaskSingle;
+import com.smartor.domain.IvrTaskSingleVO;
+import com.smartor.domain.PhoneCallBackVO;
import com.smartor.service.IIvrTaskSingleService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
+import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
@@ -25,13 +28,13 @@
* @author ruoyi
* @date 2024-02-02
*/
+@Slf4j
@Api(description = "鍗曚竴浠诲姟锛堥殢璁垮鏁欙級")
@RestController
@RequestMapping("/smartor/tasksingle")
public class IvrTaskSingleController extends BaseController {
@Autowired
private IIvrTaskSingleService ivrTaskcallService;
-
/**
* 鏌ヨ鎮h�呴殢璁夸俊鎭�
@@ -88,7 +91,6 @@
return success(ivrTaskSingleVO);
}
-
/**
* 浠诲姟鍙戦�佹墽琛�
*/
@@ -98,15 +100,15 @@
return toAjax(ivrTaskcallService.heTaskSend(ivrTaskcallVO));
}
-
/**
* 鐢佃瘽鍥炶皟浠诲姟
*/
@ApiOperation("鐢佃瘽鍥炶皟浠诲姟")
@PostMapping("/phoneCallBack")
public AjaxResult phoneCallBack(@RequestBody PhoneCallBackVO phoneCallBackVO) {
- //濡傛灉uuid鍦╮edis涓壘涓嶅埌锛岄偅灏辩洿鎺ユ姤寮傚父
- return success(ivrTaskcallService.phoneCallBack(phoneCallBackVO));
+ log.error("鐢佃瘽鍥炶皟浠诲姟鎴愬姛浜嗕笉锛焮}", phoneCallBackVO);
+ ivrTaskcallService.phoneCallBack(phoneCallBackVO);
+ return success();
}
}
--
Gitblit v1.9.3