zhouxiang
2022-11-03 23fc8cf6afab64c372229a5478e787dece1b7acc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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);
}