fwq
2024-04-11 f31ae0176ba124a2a39121584f5c39c3de932157
提交 | 用户 | 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 }