From 8880a61ce92bcc53680ed8cfe39d19ae2e7e679f Mon Sep 17 00:00:00 2001 From: zhangxu <3%usVi4iXbVkhI1c> Date: 星期三, 24 八月 2022 18:15:41 +0800 Subject: [PATCH] 同步促销信息 --- phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncPromotionService.java | 27 +++++++++++++++++++++++++++ 1 files changed, 27 insertions(+), 0 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncPromotionService.java b/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncPromotionService.java new file mode 100644 index 0000000..256188b --- /dev/null +++ b/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncPromotionService.java @@ -0,0 +1,27 @@ +package com.hz.his.feign.service.sync; + +/** + * @Author + */ + +import com.alibaba.fastjson.JSONObject; +import com.hx.resultTool.Result; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.PostMapping; + +/** + * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂� + */ +@FeignClient(name="synchro-service",path = "/his_synchro",contextId = "synchro-promotion") +public interface SyncPromotionService { + + /** + * 鍚屾淇冮攢 + * _id锛氶寤篿d + * name: 淇冮攢鍚嶅瓧 + * @param jsonObject + * @return + */ + @PostMapping(value = "/sync/project/promotion") + Result syncHisPromotion(JSONObject jsonObject); +} -- Gitblit v1.8.0