ANDRU-PC\Andru
2023-08-29 0955de49844044ff1e7a44f423d2bdaecba6515a
提交 | 用户 | 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 }