配置修改
This commit is contained in:
22
src/main/java/com/dpkj/common/config/ChsConfig.java
Normal file
22
src/main/java/com/dpkj/common/config/ChsConfig.java
Normal file
@@ -0,0 +1,22 @@
|
||||
package com.dpkj.common.config;
|
||||
|
||||
import lombok.Data;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* @Auther: 萧道子
|
||||
* @Date: 2024/4/28 14:55
|
||||
* @Description:
|
||||
*/
|
||||
@Data
|
||||
@Component
|
||||
@ConfigurationProperties(prefix = "dpkj.chs")
|
||||
public class ChsConfig {
|
||||
|
||||
/**
|
||||
* 医保机构编码
|
||||
*/
|
||||
private String orgcode;
|
||||
|
||||
}
|
||||
36
src/main/java/com/dpkj/common/constant/ChsConst.java
Normal file
36
src/main/java/com/dpkj/common/constant/ChsConst.java
Normal file
@@ -0,0 +1,36 @@
|
||||
package com.dpkj.common.constant;
|
||||
|
||||
public interface ChsConst {
|
||||
|
||||
/**
|
||||
* 电子凭证二维码解码接口
|
||||
*/
|
||||
String APITYPE_QRCODE = "ec.query";
|
||||
|
||||
/**
|
||||
* 医保电子凭证密码核验接口
|
||||
*/
|
||||
String APITYPE_VERIFY = "cn.nhsa.ec.pwd";
|
||||
|
||||
|
||||
/**
|
||||
* 终端医保电子凭证码解码接口
|
||||
*/
|
||||
String APITYPE_DECODE = "cn.nhsa.qrcode.get";
|
||||
|
||||
/**
|
||||
* 刷脸获取医保用户身份授权接口
|
||||
*/
|
||||
String APITYPE_AUTHORIZATION = "cn.nhsa.ec.auth";
|
||||
|
||||
/**
|
||||
* 刷脸授权获取医保身份接口
|
||||
*/
|
||||
String APITYPE_CHECK = "cn.nhsa.auth.check";
|
||||
|
||||
/**
|
||||
* 结算结果通知接口
|
||||
*/
|
||||
String APITYPE_Notify = "cn.nhsa.settle.notify";
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user