wangrenhuang
2023-02-03 d14051bf1ab6b9e5f723649375aca105a1e18354
提交 | 用户 | age
46518a 1 package com.hz.his.feign.service.sync;
Z 2
3 import com.alibaba.fastjson.JSONObject;
4 import com.hx.resultTool.Result;
5 import org.springframework.cloud.openfeign.FeignClient;
6 import org.springframework.web.bind.annotation.PostMapping;
7 import org.springframework.web.bind.annotation.RequestBody;
8
9 /**
10  * @Author
11  */
12 @FeignClient(name="synchro-service",path = "/his_synchro",contextId = "synchro-coupon")
13 public interface SyncCouponService {
14
15     /**
16      * 获取所有优惠卷
17      * @param jsonObject
18      * @return
19      */
20     @PostMapping(value = "/sync/coupon/list")
21     Result couponList(@RequestBody JSONObject jsonObject);
22 }