From 6ea3afc1404226677e067febfcd34a1f5afe9962 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期四, 27 八月 2026 18:53:12 +0800
Subject: [PATCH] fix: 修改ai的key
---
src/main/java/com/ruoyi/basic/controller/CustomerController.java | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/ruoyi/basic/controller/CustomerController.java b/src/main/java/com/ruoyi/basic/controller/CustomerController.java
index 9090d34..31659d8 100644
--- a/src/main/java/com/ruoyi/basic/controller/CustomerController.java
+++ b/src/main/java/com/ruoyi/basic/controller/CustomerController.java
@@ -148,8 +148,18 @@
* 绉佹捣瀹㈡埛娴佸洖鍏捣
*/
@Log(title = "瀹㈡埛妗f", businessType = BusinessType.OTHER)
- @PostMapping("/back")
- public R back(Long id) {
+ @PostMapping("/back/{id}")
+ public R back(@PathVariable("id") Long id) {
return R.ok(customerService.back(id));
}
+
+ /**
+ * 瀹㈡埛浜ゆ帴锛氳浆绉荤娴峰鎴风淮鎶や汉
+ */
+ @Log(title = "瀹㈡埛浜ゆ帴", businessType = BusinessType.UPDATE)
+ @PostMapping("/handover")
+ public R handover(@RequestBody CustomerDto customer) {
+ customerService.handoverCustomer(customer);
+ return R.ok();
+ }
}
--
Gitblit v1.9.3