From 1667c6068dbfb5bba2c49c851dcac1503191ed90 Mon Sep 17 00:00:00 2001 From: "1215525055@qq.com" <1215525055@qq.com> Date: Wed, 12 Feb 2025 15:10:32 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9B=86=E6=88=90AI=E8=BD=AF=E8=91=97=E5=95=86?= =?UTF-8?q?=E5=9F=8E=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../operator/controller/api/aishop/AiShopController.java | 2 +- .../operator/service/remote/aishop/IRemoteAiShopApi.java | 2 +- .../static/assets/js/vendor/ueditor/dialogs/map/map.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/cn/com/tenlion/operator/controller/api/aishop/AiShopController.java b/src/main/java/cn/com/tenlion/operator/controller/api/aishop/AiShopController.java index 06fe9fc..b3ccf25 100644 --- a/src/main/java/cn/com/tenlion/operator/controller/api/aishop/AiShopController.java +++ b/src/main/java/cn/com/tenlion/operator/controller/api/aishop/AiShopController.java @@ -125,7 +125,7 @@ public class AiShopController extends DefaultBaseController { @ApiOperation(value = "著作权信息审核", notes = "著作权信息审核接口") @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) - @PutMapping("check") + @PutMapping("goods/check") public SuccessResult check(@RequestBody GoodslogVO goodsLogVO) { remoteAiShopSerivceImpl.saveCheck(goodsLogVO); return new SuccessResult(); diff --git a/src/main/java/cn/com/tenlion/operator/service/remote/aishop/IRemoteAiShopApi.java b/src/main/java/cn/com/tenlion/operator/service/remote/aishop/IRemoteAiShopApi.java index 4fd1786..4bec114 100644 --- a/src/main/java/cn/com/tenlion/operator/service/remote/aishop/IRemoteAiShopApi.java +++ b/src/main/java/cn/com/tenlion/operator/service/remote/aishop/IRemoteAiShopApi.java @@ -70,7 +70,7 @@ public interface IRemoteAiShopApi { @RemotePathParams("dataId") String dataId); @RemotePutMethod("resource/goods/check") - void saveCheck(@RemoteServerParams String serverPath, + SuccessResult saveCheck(@RemoteServerParams String serverPath, @RemoteQueryParams("access_token") String accessToken, @RemoteJsonBodyParams GoodslogVO goodsLogVO); diff --git a/src/main/resources/static/assets/js/vendor/ueditor/dialogs/map/map.html b/src/main/resources/static/assets/js/vendor/ueditor/dialogs/map/map.html index e763b8e..03d8bb4 100644 --- a/src/main/resources/static/assets/js/vendor/ueditor/dialogs/map/map.html +++ b/src/main/resources/static/assets/js/vendor/ueditor/dialogs/map/map.html @@ -37,7 +37,7 @@ map.enableContinuousZoom(); function doSearch(){ if (!document.getElementById('city').value) { - alert(lang.cityMsg); + remoteAiShopSerivceImpl(lang.cityMsg); return; } var search = new BMap.LocalSearch(document.getElementById('city').value, {