zhangxu
2022-09-05 46518aefd21efa51399cd05d25574fae744266cc
新建,修改项目到领健
1个文件已添加
22 ■■■■■ 已修改文件
phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncCouponService.java 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncCouponService.java
New file
@@ -0,0 +1,22 @@
package com.hz.his.feign.service.sync;
import com.alibaba.fastjson.JSONObject;
import com.hx.resultTool.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
/**
 * @Author
 */
@FeignClient(name="synchro-service",path = "/his_synchro",contextId = "synchro-coupon")
public interface SyncCouponService {
    /**
     * 获取所有优惠卷
     * @param jsonObject
     * @return
     */
    @PostMapping(value = "/sync/coupon/list")
    Result couponList(@RequestBody JSONObject jsonObject);
}