提交 | 用户 | 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 |
*/ |
3dac1b
|
12 |
@FeignClient(name="phi-platform-user",path = "/his_synchro",contextId = "synchro-coupon") |
46518a
|
13 |
public interface SyncCouponService { |
Z |
14 |
|
|
15 |
/** |
|
16 |
* 获取所有优惠卷 |
|
17 |
* @param jsonObject |
|
18 |
* @return |
|
19 |
*/ |
|
20 |
@PostMapping(value = "/sync/coupon/list") |
|
21 |
Result couponList(@RequestBody JSONObject jsonObject); |
|
22 |
} |