fhx
2024-04-11 8aabd6f9a44fb4de7ef2c70ff0a15fc000f4b5d9
提交 | 用户 | 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 }