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, {