From e55754eb040af3eecdeb9c30e63b3fcb4d0cd773 Mon Sep 17 00:00:00 2001 From: danmo <775144922@qq.com> Date: Mon, 6 May 2024 10:07:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=9C=B0=E5=9D=80=E5=BC=95?= =?UTF-8?q?=E7=94=A8=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dyj/applet/client/AptEAppletClient.java | 8 ++--- .../dyj/applet/client/LifeServicesClient.java | 31 ++++++++++--------- 2 files changed, 21 insertions(+), 18 deletions(-) diff --git a/dy-java-applet/src/main/java/com/dyj/applet/client/AptEAppletClient.java b/dy-java-applet/src/main/java/com/dyj/applet/client/AptEAppletClient.java index 7c7d6d4..b6b2441 100644 --- a/dy-java-applet/src/main/java/com/dyj/applet/client/AptEAppletClient.java +++ b/dy-java-applet/src/main/java/com/dyj/applet/client/AptEAppletClient.java @@ -27,7 +27,7 @@ public interface AptEAppletClient { * @param query 入参 * @return DySimpleResult */ - @Post(url = "limitOpPoint", interceptor = ClientTokenInterceptor.class) + @Post(url = "${limitOpPoint}", interceptor = ClientTokenInterceptor.class) DySimpleResult limitOpPoint(@JSONBody LimitOpPointQuery query); /** @@ -36,7 +36,7 @@ public interface AptEAppletClient { * @param query 入参 * @return DySimpleResult */ - @Post(url = "registerMaApp", interceptor = ClientTokenInterceptor.class) + @Post(url = "${registerMaApp}", interceptor = ClientTokenInterceptor.class) DySimpleResult registerMaApp(@JSONBody RegisterMaAppQuery query); /** @@ -45,7 +45,7 @@ public interface AptEAppletClient { * @param query 入参 * @return DySimpleResult */ - @Post(url = "queryOrderCustomizationStatus", interceptor = ClientTokenInterceptor.class) + @Post(url = "${queryOrderCustomizationStatus}", interceptor = ClientTokenInterceptor.class) DySimpleResult queryOrderCustomizationStatus(@JSONBody OrderCizStatusQuery query); /** @@ -53,6 +53,6 @@ public interface AptEAppletClient { * @param query * @return DySimpleResult */ - @Post(url = "shopMemberLeave", interceptor = ClientTokenInterceptor.class) + @Post(url = "${shopMemberLeave}", interceptor = ClientTokenInterceptor.class) DySimpleResult shopMemberLeave(@JSONBody ShopMemberLeaveQuery query); } diff --git a/dy-java-applet/src/main/java/com/dyj/applet/client/LifeServicesClient.java b/dy-java-applet/src/main/java/com/dyj/applet/client/LifeServicesClient.java index 7789b7b..a007aff 100644 --- a/dy-java-applet/src/main/java/com/dyj/applet/client/LifeServicesClient.java +++ b/dy-java-applet/src/main/java/com/dyj/applet/client/LifeServicesClient.java @@ -26,7 +26,7 @@ public interface LifeServicesClient { * @param query 入参 * @return DyResult */ - @Post(url = "supplierSync", interceptor = ClientTokenInterceptor.class) + @Post(url = "${supplierSync}", interceptor = ClientTokenInterceptor.class) DyResult supplierSync(@JSONBody SupplierSyncQuery query); /** @@ -36,7 +36,7 @@ public interface LifeServicesClient { * @param supplierExtId 店铺ID * @return DyResult */ - @Get(url = "querySupplier", interceptor = ClientTokenInterceptor.class) + @Get(url = "${querySupplier}", interceptor = ClientTokenInterceptor.class) DyResult querySupplier(@Var("query") BaseQuery query, @Query("supplier_ext_id") String supplierExtId); /** @@ -46,7 +46,7 @@ public interface LifeServicesClient { * @param amapId 高德POI ID * @return DyResult */ - @Get(url = "queryPoiId", interceptor = ClientTokenInterceptor.class) + @Get(url = "${queryPoiId}", interceptor = ClientTokenInterceptor.class) DyResult queryPoiId(@Var("query") BaseQuery query, @Query("amap_id") String amapId); /** @@ -56,7 +56,7 @@ public interface LifeServicesClient { * @param supplierTaskIds 店铺任务ID * @return DyResult */ - @Get(url = "querySupplierTaskResult", interceptor = ClientTokenInterceptor.class) + @Get(url = "${querySupplierTaskResult}", interceptor = ClientTokenInterceptor.class) DyResult querySupplierTaskResult(@Var("query") BaseQuery query, @Query("supplier_task_ids") String supplierTaskIds); /** @@ -66,7 +66,7 @@ public interface LifeServicesClient { * @param supplierExtId 店铺ID * @return DyResult */ - @Get(url = "querySupplierMatchStatus", interceptor = ClientTokenInterceptor.class) + @Get(url = "${querySupplierMatchStatus}", interceptor = ClientTokenInterceptor.class) DyResult querySupplierMatchStatus(@Var("query") BaseQuery query, @Query("supplier_ext_id") String supplierExtId); /** @@ -75,7 +75,7 @@ public interface LifeServicesClient { * @param query 入参 * @return DyResult */ - @Post(url = "submitSupplierMatchTask", interceptor = ClientTokenInterceptor.class) + @Post(url = "${submitSupplierMatchTask}", interceptor = ClientTokenInterceptor.class) DyResult submitSupplierMatchTask(@JSONBody SupplierSubmitTaskQuery query); /** @@ -84,7 +84,7 @@ public interface LifeServicesClient { * @param query 应用信息 * @return DyResult */ - @Get(url = "queryAllSupplier", interceptor = ClientTokenInterceptor.class) + @Get(url = "${queryAllSupplier}", interceptor = ClientTokenInterceptor.class) DyResult queryAllSupplier(@Var("query") BaseQuery query); /** @@ -94,7 +94,7 @@ public interface LifeServicesClient { * @param taskId 任务ID * @return DyResult */ - @Get(url = "querySupplierCallback", interceptor = ClientTokenInterceptor.class) + @Get(url = "${querySupplierCallback}", interceptor = ClientTokenInterceptor.class) DyResult querySupplierCallback(@Var("query") BaseQuery query, @Query("task_id") String taskId); /** @@ -103,7 +103,7 @@ public interface LifeServicesClient { * @param query 入参 * @return DyResult */ - @Post(url = "skuSync", interceptor = ClientTokenInterceptor.class) + @Post(url = "${skuSync}", interceptor = ClientTokenInterceptor.class) DyResult skuSync(@JSONBody SkuSyncQuery query); /** @@ -115,7 +115,7 @@ public interface LifeServicesClient { * @param endDate 拉取价格时间区间[start_date, end_date) * @return DyResult */ - @Get(url = "skuHotelPull", interceptor = ClientTokenInterceptor.class) + @Get(url = "${skuHotelPull}", interceptor = ClientTokenInterceptor.class) DyResult skuHotelPull(@Var("query") BaseQuery query, @Query("spu_ext_id") List spuExtId, @Query("start_date") String startDate, @Query("end_date") String endDate); /** @@ -124,7 +124,7 @@ public interface LifeServicesClient { * @param query 入参 * @return DyResult */ - @Post(url = "spuSync", interceptor = ClientTokenInterceptor.class) + @Post(url = "${spuSync}", interceptor = ClientTokenInterceptor.class) DyResult spuSync(@JSONBody SpuSyncQuery query); /** @@ -135,7 +135,7 @@ public interface LifeServicesClient { * @param status SPU状态, 1 - 在线; 2 - 下线 * @return DyResult */ - @Post(url = "spuStatusSync", interceptor = ClientTokenInterceptor.class) + @Post(url = "${spuStatusSync}", interceptor = ClientTokenInterceptor.class) DyResult spuStatusSync(@Var("query") BaseQuery query, @JSONBody("spu_ext_id_list") List spuExtIdList, @JSONBody("status") Integer status); /** @@ -144,7 +144,7 @@ public interface LifeServicesClient { * @param query 入参 * @return DyResult */ - @Post(url = "spuStockSync", interceptor = ClientTokenInterceptor.class) + @Post(url = "${spuStockSync}", interceptor = ClientTokenInterceptor.class) DyResult spuStockSync(@JSONBody SpuStockQuery query); /** @@ -157,6 +157,9 @@ public interface LifeServicesClient { * @param supplierIdsForFilterReason 供应商id列表,需要商品在某供应商下的过滤状态 * @return DyResult */ - @Get(url = "spuQuery", interceptor = ClientTokenInterceptor.class) + @Get(url = "${spuQuery}", interceptor = ClientTokenInterceptor.class) DyResult spuQuery(@Var("query") BaseQuery query, @Query("spu_ext_id") String spuExtId, @Query("need_spu_draft") Boolean needSpuDraft, @Query("spu_draft_count") Integer spuDraftCount, @Query("supplier_ids_for_filter_reason") List supplierIdsForFilterReason); + + + }