chenjiahe
2023-07-04 671c66cb9cc4b4713a647333b747c62291a7f988
Merge remote-tracking branch 'origin/master-prod-new' into master-prod-new
2个文件已添加
50 ■■■■■ 已修改文件
phis-feign/src/main/java/com/hz/his/dto/mp/MpQrCodeDto.java 30 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipMpQrCodeService.java 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phis-feign/src/main/java/com/hz/his/dto/mp/MpQrCodeDto.java
New file
@@ -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;
    }
}
phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipMpQrCodeService.java
New file
@@ -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 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
 */
@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-qrcode")
public interface SPhipMpQrCodeService {
    /**
     * 开放平台- 用户扫码登记模块 注册绑定后创建his助手小程序码(MpQrCodeController-userTempVisitQrCode方法)
     */
    @PostMapping(value = "/mp/qrcode/user/temp/visit/qrcode")
    Result userTempVisitQrCode(@RequestBody MpQrCodeDto mpQrCodeDto);
}