From 671c66cb9cc4b4713a647333b747c62291a7f988 Mon Sep 17 00:00:00 2001 From: chenjiahe <763432473@qq.com> Date: 星期二, 04 七月 2023 10:21:56 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master-prod-new' 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