提交 | 用户 | age
|
bd013b
|
1 |
package com.hz.his.feign.service.sync; |
Z |
2 |
|
|
3 |
import com.hx.resultTool.Result; |
|
4 |
import com.hz.his.dto.sync.SyncUserCradDto; |
|
5 |
import org.springframework.cloud.openfeign.FeignClient; |
|
6 |
import org.springframework.web.bind.annotation.PostMapping; |
|
7 |
|
|
8 |
/** |
|
9 |
* @Author |
|
10 |
*/ |
|
11 |
@FeignClient(name="synchro-service",path = "/his_synchro",contextId = "synchro-userCrad") |
7ffb0c
|
12 |
public interface SyncUserCardService { |
bd013b
|
13 |
|
Z |
14 |
|
|
15 |
/** |
|
16 |
* 修改领健用户卡包为已作废状态 |
|
17 |
* 注意不要随意调用,需要用到先和同步中心商量 |
|
18 |
* @param syncUserCradDto |
|
19 |
* @return |
|
20 |
*/ |
|
21 |
@PostMapping(value = "/sync/user/card/updateUserCard") |
|
22 |
Result updateUserCard(SyncUserCradDto syncUserCradDto); |
a52403
|
23 |
|
Z |
24 |
/** |
|
25 |
* 同步用户卡包 |
|
26 |
* @param syncUserCradDto |
|
27 |
* @return |
|
28 |
*/ |
|
29 |
@PostMapping(value = "/sync/user/card/list") |
|
30 |
Result list(SyncUserCradDto syncUserCradDto); |
bd013b
|
31 |
} |