From 04c102325048c0715edc4de114bfaef4f36719e5 Mon Sep 17 00:00:00 2001 From: rx <auster_i@163.com> Date: 星期二, 04 七月 2023 10:13:57 +0800 Subject: [PATCH] Merge branch 'prod-扫码登记' into master-prod-new --- phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipMpQrCodeService.java | 20 ++++++++++++++++++++ phis-feign/src/main/java/com/hz/his/dto/mp/MpQrCodeDto.java | 30 ++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 0 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/dto/mp/MpQrCodeDto.java b/phis-feign/src/main/java/com/hz/his/dto/mp/MpQrCodeDto.java new file mode 100644 index 0000000..d58528a --- /dev/null +++ b/phis-feign/src/main/java/com/hz/his/dto/mp/MpQrCodeDto.java @@ -0,0 +1,30 @@ +package com.hz.his.dto.mp; + + +/** + * 灏忕▼搴忎簩缁寸爜dto + */ +public class MpQrCodeDto { + + //ciq + private String ciq; + + //闂ㄥ簵缂栧彿 + private String shopCode; + + public String getCiq() { + return ciq; + } + + public void setCiq(String ciq) { + this.ciq = ciq; + } + + public String getShopCode() { + return shopCode; + } + + public void setShopCode(String shopCode) { + this.shopCode = shopCode; + } +} diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipMpQrCodeService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipMpQrCodeService.java new file mode 100644 index 0000000..8d6e743 --- /dev/null +++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipMpQrCodeService.java @@ -0,0 +1,20 @@ +package com.hz.his.feign.service.platform; + +import com.hx.resultTool.Result; +import com.hz.his.dto.mp.MpQrCodeDto; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; + +/** + * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂� + */ +@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-qrcode") +public interface SPhipMpQrCodeService { + + /** + * 寮�鏀惧钩鍙�- 鐢ㄦ埛鎵爜鐧昏妯″潡 娉ㄥ唽缁戝畾鍚庡垱寤篽is鍔╂墜灏忕▼搴忕爜(MpQrCodeController-userTempVisitQrCode鏂规硶) + */ + @PostMapping(value = "/mp/qrcode/user/temp/visit/qrcode") + Result userTempVisitQrCode(@RequestBody MpQrCodeDto mpQrCodeDto); +} -- Gitblit v1.8.0