接口地址引用修改

This commit is contained in:
danmo 2024-05-06 10:07:02 +08:00
parent 6fcd507fa7
commit e55754eb04
2 changed files with 21 additions and 18 deletions

View File

@ -27,7 +27,7 @@ public interface AptEAppletClient {
* @param query 入参
* @return DySimpleResult
*/
@Post(url = "limitOpPoint", interceptor = ClientTokenInterceptor.class)
@Post(url = "${limitOpPoint}", interceptor = ClientTokenInterceptor.class)
DySimpleResult<BaseVo> 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<BaseVo> registerMaApp(@JSONBody RegisterMaAppQuery query);
/**
@ -45,7 +45,7 @@ public interface AptEAppletClient {
* @param query 入参
* @return DySimpleResult<OrderCizStatusVo>
*/
@Post(url = "queryOrderCustomizationStatus", interceptor = ClientTokenInterceptor.class)
@Post(url = "${queryOrderCustomizationStatus}", interceptor = ClientTokenInterceptor.class)
DySimpleResult<OrderCizStatusVo> queryOrderCustomizationStatus(@JSONBody OrderCizStatusQuery query);
/**
@ -53,6 +53,6 @@ public interface AptEAppletClient {
* @param query
* @return DySimpleResult<BaseVo>
*/
@Post(url = "shopMemberLeave", interceptor = ClientTokenInterceptor.class)
@Post(url = "${shopMemberLeave}", interceptor = ClientTokenInterceptor.class)
DySimpleResult<BaseVo> shopMemberLeave(@JSONBody ShopMemberLeaveQuery query);
}

View File

@ -26,7 +26,7 @@ public interface LifeServicesClient {
* @param query 入参
* @return DyResult<SupplierSyncVo>
*/
@Post(url = "supplierSync", interceptor = ClientTokenInterceptor.class)
@Post(url = "${supplierSync}", interceptor = ClientTokenInterceptor.class)
DyResult<SupplierSyncVo> supplierSync(@JSONBody SupplierSyncQuery query);
/**
@ -36,7 +36,7 @@ public interface LifeServicesClient {
* @param supplierExtId 店铺ID
* @return DyResult<SupplierVo>
*/
@Get(url = "querySupplier", interceptor = ClientTokenInterceptor.class)
@Get(url = "${querySupplier}", interceptor = ClientTokenInterceptor.class)
DyResult<SupplierVo> querySupplier(@Var("query") BaseQuery query, @Query("supplier_ext_id") String supplierExtId);
/**
@ -46,7 +46,7 @@ public interface LifeServicesClient {
* @param amapId 高德POI ID
* @return DyResult<PoiIdVo>
*/
@Get(url = "queryPoiId", interceptor = ClientTokenInterceptor.class)
@Get(url = "${queryPoiId}", interceptor = ClientTokenInterceptor.class)
DyResult<PoiIdVo> queryPoiId(@Var("query") BaseQuery query, @Query("amap_id") String amapId);
/**
@ -56,7 +56,7 @@ public interface LifeServicesClient {
* @param supplierTaskIds 店铺任务ID
* @return DyResult<SupplierTaskResultVo>
*/
@Get(url = "querySupplierTaskResult", interceptor = ClientTokenInterceptor.class)
@Get(url = "${querySupplierTaskResult}", interceptor = ClientTokenInterceptor.class)
DyResult<SupplierTaskResultVo> querySupplierTaskResult(@Var("query") BaseQuery query, @Query("supplier_task_ids") String supplierTaskIds);
/**
@ -66,7 +66,7 @@ public interface LifeServicesClient {
* @param supplierExtId 店铺ID
* @return DyResult<SupplierTaskStatusVo>
*/
@Get(url = "querySupplierMatchStatus", interceptor = ClientTokenInterceptor.class)
@Get(url = "${querySupplierMatchStatus}", interceptor = ClientTokenInterceptor.class)
DyResult<SupplierTaskStatusVo> querySupplierMatchStatus(@Var("query") BaseQuery query, @Query("supplier_ext_id") String supplierExtId);
/**
@ -75,7 +75,7 @@ public interface LifeServicesClient {
* @param query 入参
* @return DyResult<SupplierSubmitTaskVo>
*/
@Post(url = "submitSupplierMatchTask", interceptor = ClientTokenInterceptor.class)
@Post(url = "${submitSupplierMatchTask}", interceptor = ClientTokenInterceptor.class)
DyResult<SupplierSubmitTaskVo> submitSupplierMatchTask(@JSONBody SupplierSubmitTaskQuery query);
/**
@ -84,7 +84,7 @@ public interface LifeServicesClient {
* @param query 应用信息
* @return DyResult<SupplierTaskVo>
*/
@Get(url = "queryAllSupplier", interceptor = ClientTokenInterceptor.class)
@Get(url = "${queryAllSupplier}", interceptor = ClientTokenInterceptor.class)
DyResult<SupplierTaskVo> queryAllSupplier(@Var("query") BaseQuery query);
/**
@ -94,7 +94,7 @@ public interface LifeServicesClient {
* @param taskId 任务ID
* @return DyResult<SupplierTaskVo>
*/
@Get(url = "querySupplierCallback", interceptor = ClientTokenInterceptor.class)
@Get(url = "${querySupplierCallback}", interceptor = ClientTokenInterceptor.class)
DyResult<SupplierTaskVo> querySupplierCallback(@Var("query") BaseQuery query, @Query("task_id") String taskId);
/**
@ -103,7 +103,7 @@ public interface LifeServicesClient {
* @param query 入参
* @return DyResult<BaseVo>
*/
@Post(url = "skuSync", interceptor = ClientTokenInterceptor.class)
@Post(url = "${skuSync}", interceptor = ClientTokenInterceptor.class)
DyResult<BaseVo> skuSync(@JSONBody SkuSyncQuery query);
/**
@ -115,7 +115,7 @@ public interface LifeServicesClient {
* @param endDate 拉取价格时间区间[start_date, end_date)
* @return DyResult<SkuHotelPullVo>
*/
@Get(url = "skuHotelPull", interceptor = ClientTokenInterceptor.class)
@Get(url = "${skuHotelPull}", interceptor = ClientTokenInterceptor.class)
DyResult<SkuHotelPullVo> skuHotelPull(@Var("query") BaseQuery query, @Query("spu_ext_id") List<String> spuExtId, @Query("start_date") String startDate, @Query("end_date") String endDate);
/**
@ -124,7 +124,7 @@ public interface LifeServicesClient {
* @param query 入参
* @return DyResult<SpuSyncVo>
*/
@Post(url = "spuSync", interceptor = ClientTokenInterceptor.class)
@Post(url = "${spuSync}", interceptor = ClientTokenInterceptor.class)
DyResult<SpuSyncVo> spuSync(@JSONBody SpuSyncQuery query);
/**
@ -135,7 +135,7 @@ public interface LifeServicesClient {
* @param status SPU状态 1 - 在线; 2 - 下线
* @return DyResult<SpuStatusVo>
*/
@Post(url = "spuStatusSync", interceptor = ClientTokenInterceptor.class)
@Post(url = "${spuStatusSync}", interceptor = ClientTokenInterceptor.class)
DyResult<SpuStatusVo> spuStatusSync(@Var("query") BaseQuery query, @JSONBody("spu_ext_id_list") List<String> spuExtIdList, @JSONBody("status") Integer status);
/**
@ -144,7 +144,7 @@ public interface LifeServicesClient {
* @param query 入参
* @return DyResult<SpuStockVo>
*/
@Post(url = "spuStockSync", interceptor = ClientTokenInterceptor.class)
@Post(url = "${spuStockSync}", interceptor = ClientTokenInterceptor.class)
DyResult<SpuStockVo> spuStockSync(@JSONBody SpuStockQuery query);
/**
@ -157,6 +157,9 @@ public interface LifeServicesClient {
* @param supplierIdsForFilterReason 供应商id列表需要商品在某供应商下的过滤状态
* @return DyResult<SpuVo>
*/
@Get(url = "spuQuery", interceptor = ClientTokenInterceptor.class)
@Get(url = "${spuQuery}", interceptor = ClientTokenInterceptor.class)
DyResult<SpuVo> 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<String> supplierIdsForFilterReason);
}