提交 | 用户 | age
|
5164b2
|
1 |
package com.hz.his.feign.service.platform; |
R |
2 |
|
|
3 |
import com.hx.resultTool.Result; |
|
4 |
import org.springframework.cloud.openfeign.FeignClient; |
|
5 |
import org.springframework.web.bind.annotation.PostMapping; |
|
6 |
import org.springframework.web.bind.annotation.RequestBody; |
|
7 |
|
|
8 |
/** |
|
9 |
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
|
10 |
*/ |
|
11 |
@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-qrcode") |
|
12 |
public interface SPhipQrCodeService { |
|
13 |
|
|
14 |
/** |
|
15 |
* 开放平台- 用户扫码登记模块 注册绑定后创建his助手小程序码(MpQrCodeController-userTempVisitQrCode方法) |
|
16 |
*/ |
|
17 |
@PostMapping(value = "/user/create/temp/visit/qrcode") |
|
18 |
Result userTempVisitQrCode(@RequestBody com.alibaba.fastjson.JSONObject jsonObject); |
|
19 |
} |