From 55d10e40b583bf49cdbb4ad270d3b397b4e5c0ca Mon Sep 17 00:00:00 2001 From: rx <auster_i@163.com> Date: 星期三, 28 六月 2023 19:07:48 +0800 Subject: [PATCH] 扫码登记service修改 --- phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipMpQrCodeService.java | 7 ++++--- phis-feign/src/main/java/com/hz/his/dto/mp/MpQrCodeDto.java | 30 ++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 3 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/SPhipQrCodeService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipMpQrCodeService.java similarity index 75% rename from phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipQrCodeService.java rename to phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipMpQrCodeService.java index 35341e1..8d6e743 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipQrCodeService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipMpQrCodeService.java @@ -1,6 +1,7 @@ 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; @@ -9,11 +10,11 @@ * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂� */ @FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-qrcode") -public interface SPhipQrCodeService { +public interface SPhipMpQrCodeService { /** * 寮�鏀惧钩鍙�- 鐢ㄦ埛鎵爜鐧昏妯″潡 娉ㄥ唽缁戝畾鍚庡垱寤篽is鍔╂墜灏忕▼搴忕爜(MpQrCodeController-userTempVisitQrCode鏂规硶) */ - @PostMapping(value = "/user/create/temp/visit/qrcode") - Result userTempVisitQrCode(@RequestBody com.alibaba.fastjson.JSONObject jsonObject); + @PostMapping(value = "/mp/qrcode/user/temp/visit/qrcode") + Result userTempVisitQrCode(@RequestBody MpQrCodeDto mpQrCodeDto); } -- Gitblit v1.8.0