Compare commits
	
		
			9 Commits
		
	
	
		
			main
			...
			22d92ccf97
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 22d92ccf97 | |||
| 095f5c2c05 | |||
| 3f34ed1c8d | |||
| 2e0fbb5008 | |||
| e53521356d | |||
| 85cbca1fa3 | |||
| 6f61d5c07c | |||
| 807ed211f7 | |||
| 61c6198a9b | 
							
								
								
									
										0
									
								
								code/Cpicxim-XMNHSA-Repeater bak/.mvn/jvm.config
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								code/Cpicxim-XMNHSA-Repeater bak/.mvn/jvm.config
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										0
									
								
								code/Cpicxim-XMNHSA-Repeater bak/.mvn/maven.config
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								code/Cpicxim-XMNHSA-Repeater bak/.mvn/maven.config
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										4
									
								
								code/Cpicxim-XMNHSA-Repeater bak/.vscode/settings.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								code/Cpicxim-XMNHSA-Repeater bak/.vscode/settings.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
			
		||||
{
 | 
			
		||||
    "java.configuration.updateBuildConfiguration": "automatic",
 | 
			
		||||
    "java.compile.nullAnalysis.mode": "automatic"
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										4
									
								
								code/Cpicxim-XMNHSA-Repeater bak/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								code/Cpicxim-XMNHSA-Repeater bak/README.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
			
		||||
# Cpicxim-XMNHSA-Repeater
 | 
			
		||||
 | 
			
		||||
惠厦保相关项目。
 | 
			
		||||
宸汐-》厦门太保-》厦门医保局 数据转发。
 | 
			
		||||
							
								
								
									
										162
									
								
								code/Cpicxim-XMNHSA-Repeater bak/pom.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										162
									
								
								code/Cpicxim-XMNHSA-Repeater bak/pom.xml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,162 @@
 | 
			
		||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
			
		||||
 | 
			
		||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 | 
			
		||||
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 | 
			
		||||
  <modelVersion>4.0.0</modelVersion>
 | 
			
		||||
 | 
			
		||||
  <groupId>cpicxim.com.cn</groupId>
 | 
			
		||||
  <artifactId>Cpicxim-XMNHSA-Repeater</artifactId>
 | 
			
		||||
  <version>1.0-SNAPSHOT</version>
 | 
			
		||||
  <packaging>war</packaging>
 | 
			
		||||
 | 
			
		||||
  <name>Cpicxim-XMNHSA-Repeater Maven Webapp</name>
 | 
			
		||||
  <!-- FIXME change it to the project's website -->
 | 
			
		||||
  <url>http://www.example.com</url>
 | 
			
		||||
 | 
			
		||||
  <properties>
 | 
			
		||||
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 | 
			
		||||
    <maven.compiler.source>17</maven.compiler.source>
 | 
			
		||||
    <maven.compiler.target>17</maven.compiler.target>
 | 
			
		||||
    <spring.version>6.2.3</spring.version>
 | 
			
		||||
    <log4j2.version>2.20.0</log4j2.version>
 | 
			
		||||
  </properties>
 | 
			
		||||
 | 
			
		||||
  <dependencies>
 | 
			
		||||
    <dependency>
 | 
			
		||||
      <groupId>junit</groupId>
 | 
			
		||||
      <artifactId>junit</artifactId>
 | 
			
		||||
      <version>4.13.1</version>
 | 
			
		||||
      <scope>test</scope>
 | 
			
		||||
    </dependency>
 | 
			
		||||
 | 
			
		||||
    <dependency>
 | 
			
		||||
      <groupId>org.springframework</groupId>
 | 
			
		||||
      <artifactId>spring-context</artifactId>
 | 
			
		||||
      <version>${spring.version}</version>
 | 
			
		||||
    </dependency>
 | 
			
		||||
    <dependency>
 | 
			
		||||
      <groupId>org.springframework</groupId>
 | 
			
		||||
      <artifactId>spring-test</artifactId>
 | 
			
		||||
      <version>${spring.version}</version>
 | 
			
		||||
      <scope>test</scope>
 | 
			
		||||
    </dependency>
 | 
			
		||||
    <dependency>
 | 
			
		||||
      <groupId>org.springframework</groupId>
 | 
			
		||||
      <artifactId>spring-web</artifactId>
 | 
			
		||||
      <version>${spring.version}</version>
 | 
			
		||||
    </dependency>
 | 
			
		||||
 | 
			
		||||
    <dependency>
 | 
			
		||||
      <groupId>org.springframework</groupId>
 | 
			
		||||
      <artifactId>spring-webmvc</artifactId>
 | 
			
		||||
      <version>${spring.version}</version>
 | 
			
		||||
    </dependency>
 | 
			
		||||
 | 
			
		||||
    <dependency>
 | 
			
		||||
      <groupId>javax.servlet</groupId>
 | 
			
		||||
      <artifactId>javax.servlet-api</artifactId>
 | 
			
		||||
      <version>4.0.1</version>
 | 
			
		||||
      <scope>provided</scope>
 | 
			
		||||
    </dependency>
 | 
			
		||||
 | 
			
		||||
    <!--jackson-->
 | 
			
		||||
    <dependency>
 | 
			
		||||
      <groupId>com.fasterxml.jackson.core</groupId>
 | 
			
		||||
      <artifactId>jackson-databind</artifactId>
 | 
			
		||||
      <version>2.14.2</version>
 | 
			
		||||
    </dependency>
 | 
			
		||||
    <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-core -->
 | 
			
		||||
    <dependency>
 | 
			
		||||
      <groupId>com.fasterxml.jackson.core</groupId>
 | 
			
		||||
      <artifactId>jackson-core</artifactId>
 | 
			
		||||
      <version>2.13.4</version>
 | 
			
		||||
    </dependency>
 | 
			
		||||
    <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-annotations -->
 | 
			
		||||
    <dependency>
 | 
			
		||||
      <groupId>com.fasterxml.jackson.core</groupId>
 | 
			
		||||
      <artifactId>jackson-annotations</artifactId>
 | 
			
		||||
      <version>2.13.4</version>
 | 
			
		||||
    </dependency>
 | 
			
		||||
 | 
			
		||||
    <!-- log-4j -->
 | 
			
		||||
    <dependency>
 | 
			
		||||
      <groupId>org.apache.logging.log4j</groupId>
 | 
			
		||||
      <artifactId>log4j-core</artifactId>
 | 
			
		||||
      <version>2.20.0</version>
 | 
			
		||||
    </dependency>
 | 
			
		||||
    <dependency>
 | 
			
		||||
      <groupId>org.apache.logging.log4j</groupId>
 | 
			
		||||
      <artifactId>log4j-slf4j2-impl</artifactId>
 | 
			
		||||
      <version>2.20.0</version>
 | 
			
		||||
    </dependency>
 | 
			
		||||
    <dependency>
 | 
			
		||||
      <groupId>org.apache.logging.log4j</groupId>
 | 
			
		||||
      <artifactId>log4j-api</artifactId>
 | 
			
		||||
      <version>2.20.0</version>
 | 
			
		||||
    </dependency>
 | 
			
		||||
 | 
			
		||||
    <!-- POI -->
 | 
			
		||||
    <dependency>
 | 
			
		||||
      <groupId>org.apache.poi</groupId>
 | 
			
		||||
      <artifactId>poi</artifactId>
 | 
			
		||||
      <version>5.2.3</version>
 | 
			
		||||
    </dependency>
 | 
			
		||||
    <dependency>
 | 
			
		||||
      <groupId>org.apache.poi</groupId>
 | 
			
		||||
      <artifactId>poi-ooxml</artifactId>
 | 
			
		||||
      <version>5.2.3</version>
 | 
			
		||||
    </dependency>
 | 
			
		||||
 | 
			
		||||
    <!-- mybatis -->
 | 
			
		||||
    <dependency>
 | 
			
		||||
      <groupId>org.mybatis</groupId>
 | 
			
		||||
      <artifactId>mybatis</artifactId>
 | 
			
		||||
      <version>3.5.19</version>
 | 
			
		||||
    </dependency>
 | 
			
		||||
  </dependencies>
 | 
			
		||||
 | 
			
		||||
  <build>
 | 
			
		||||
    <finalName>Cpicxim-XMNHSA-Repeater</finalName>
 | 
			
		||||
    <resources>
 | 
			
		||||
      <resource>
 | 
			
		||||
        <directory>src/main/resources</directory>
 | 
			
		||||
        <includes>
 | 
			
		||||
          <include>**/*.prorerties</include>
 | 
			
		||||
          <include>**/*.xml</include>
 | 
			
		||||
        </includes>
 | 
			
		||||
        <filtering>false</filtering>
 | 
			
		||||
      </resource>
 | 
			
		||||
    </resources>
 | 
			
		||||
    <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
 | 
			
		||||
      <plugins>
 | 
			
		||||
        <plugin>
 | 
			
		||||
          <artifactId>maven-clean-plugin</artifactId>
 | 
			
		||||
          <version>3.4.0</version>
 | 
			
		||||
        </plugin>
 | 
			
		||||
        <!-- see http://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_war_packaging -->
 | 
			
		||||
        <plugin>
 | 
			
		||||
          <artifactId>maven-resources-plugin</artifactId>
 | 
			
		||||
          <version>3.3.1</version>
 | 
			
		||||
        </plugin>
 | 
			
		||||
        <plugin>
 | 
			
		||||
          <artifactId>maven-compiler-plugin</artifactId>
 | 
			
		||||
          <version>3.13.0</version>
 | 
			
		||||
        </plugin>
 | 
			
		||||
        <plugin>
 | 
			
		||||
          <artifactId>maven-surefire-plugin</artifactId>
 | 
			
		||||
          <version>3.3.0</version>
 | 
			
		||||
          <configuration>
 | 
			
		||||
            <skipTests>true</skipTests>
 | 
			
		||||
          </configuration>
 | 
			
		||||
        </plugin>
 | 
			
		||||
        <plugin>
 | 
			
		||||
          <artifactId>maven-war-plugin</artifactId>
 | 
			
		||||
          <version>3.4.0</version>
 | 
			
		||||
          <configuration>
 | 
			
		||||
            <encoding>UTF-8</encoding>
 | 
			
		||||
          </configuration>
 | 
			
		||||
        </plugin>
 | 
			
		||||
      </plugins>
 | 
			
		||||
    </pluginManagement>
 | 
			
		||||
  </build>
 | 
			
		||||
</project>
 | 
			
		||||
@@ -0,0 +1,86 @@
 | 
			
		||||
/*
 | 
			
		||||
 * @Author: Kane
 | 
			
		||||
 * @Date: 2025-03-06 14:33:27
 | 
			
		||||
 * @LastEditors: Kane
 | 
			
		||||
 * @FilePath: /Cpicxim-XMNHSA-Repeater/src/main/java/com/cpicxim/huixiabao/data/pojo/HmbListItem.java
 | 
			
		||||
 * @Description: 
 | 
			
		||||
 * 
 | 
			
		||||
 * Copyright (c) ${2023} by Kane, All Rights Reserved. 
 | 
			
		||||
 */
 | 
			
		||||
package com.cpicxim.huixiabao.data.pojo;
 | 
			
		||||
 | 
			
		||||
import com.fasterxml.jackson.annotation.JsonInclude;
 | 
			
		||||
import com.fasterxml.jackson.annotation.JsonProperty;
 | 
			
		||||
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
 | 
			
		||||
 | 
			
		||||
@JsonInclude( JsonInclude.Include.NON_EMPTY )
 | 
			
		||||
@JsonPropertyOrder( alphabetic = true )
 | 
			
		||||
public class HmbListItem
 | 
			
		||||
{
 | 
			
		||||
    
 | 
			
		||||
    public String getPsnName()
 | 
			
		||||
    {
 | 
			
		||||
        return psnName;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public void setPsnName( String psnName )
 | 
			
		||||
    {
 | 
			
		||||
        this.psnName = psnName;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public String getCertNo()
 | 
			
		||||
    {
 | 
			
		||||
        return certNo;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public void setCertNo( String certNo )
 | 
			
		||||
    {
 | 
			
		||||
        this.certNo = certNo;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public String getServiceId()
 | 
			
		||||
    {
 | 
			
		||||
        return serviceId;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public void setServiceId( String serviceId )
 | 
			
		||||
    {
 | 
			
		||||
        this.serviceId = serviceId;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public String getStatus()
 | 
			
		||||
    {
 | 
			
		||||
        return status;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public void setStatus( String status )
 | 
			
		||||
    {
 | 
			
		||||
        this.status = status;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public String getXyxNo()
 | 
			
		||||
    {
 | 
			
		||||
        return xyxNo;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public void setXyxNo( String xyxNo )
 | 
			
		||||
    {
 | 
			
		||||
        this.xyxNo = xyxNo;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @JsonProperty("psnName")
 | 
			
		||||
    private String psnName;
 | 
			
		||||
 | 
			
		||||
    @JsonProperty("certno")
 | 
			
		||||
    private String certNo;
 | 
			
		||||
 | 
			
		||||
    @JsonProperty("serviceId")
 | 
			
		||||
    private String serviceId;
 | 
			
		||||
 | 
			
		||||
    @JsonProperty("status")
 | 
			
		||||
    private String status;
 | 
			
		||||
 | 
			
		||||
    @JsonProperty("xyxNo")
 | 
			
		||||
    private String xyxNo;
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
@@ -0,0 +1,59 @@
 | 
			
		||||
/*
 | 
			
		||||
 * @Author: Kane
 | 
			
		||||
 * @Date: 2025-03-06 14:27:05
 | 
			
		||||
 * @LastEditors: Kane
 | 
			
		||||
 * @FilePath: /Cpicxim-XMNHSA-Repeater/src/main/java/com/cpicxim/huixiabao/data/pojo/HmbXyxInfoRequest.java
 | 
			
		||||
 * @Description: 
 | 
			
		||||
 * 
 | 
			
		||||
 * Copyright (c) ${2023} by Kane, All Rights Reserved. 
 | 
			
		||||
 */
 | 
			
		||||
package com.cpicxim.huixiabao.data.pojo;
 | 
			
		||||
 | 
			
		||||
import java.util.Vector;
 | 
			
		||||
import com.fasterxml.jackson.annotation.JsonInclude;
 | 
			
		||||
import com.fasterxml.jackson.annotation.JsonProperty;
 | 
			
		||||
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
 | 
			
		||||
 | 
			
		||||
@JsonInclude( JsonInclude.Include.NON_EMPTY )
 | 
			
		||||
@JsonPropertyOrder( alphabetic = true )
 | 
			
		||||
public class HmbXyxInfoRequest
 | 
			
		||||
{
 | 
			
		||||
    public HmbXyxInfoRequest()
 | 
			
		||||
    {
 | 
			
		||||
        this.topic = "hmbXyxInfo";
 | 
			
		||||
        this.hmbList = new Vector<>();
 | 
			
		||||
    }
 | 
			
		||||
    
 | 
			
		||||
    public HmbXyxInfoRequest( String topic, Vector<HmbListItem> hmbList )
 | 
			
		||||
    {
 | 
			
		||||
        this.topic = topic;
 | 
			
		||||
        this.topic = "hmbXyxInfo";
 | 
			
		||||
        this.hmbList = hmbList;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public String getTopic()
 | 
			
		||||
    {
 | 
			
		||||
        return topic;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public void setTopic( String topic )
 | 
			
		||||
    {
 | 
			
		||||
        this.topic = topic;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public Vector<HmbListItem> getHmbList()
 | 
			
		||||
    {
 | 
			
		||||
        return hmbList;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public void setHmbList( Vector<HmbListItem> hmbList )
 | 
			
		||||
    {
 | 
			
		||||
        this.hmbList = hmbList;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @JsonProperty("topic")
 | 
			
		||||
    private String topic; // 业务类型
 | 
			
		||||
 | 
			
		||||
    @JsonProperty("hmbList")
 | 
			
		||||
    private Vector<HmbListItem> hmbList;
 | 
			
		||||
}
 | 
			
		||||
@@ -0,0 +1,82 @@
 | 
			
		||||
/*
 | 
			
		||||
 * @Author: Kane
 | 
			
		||||
 * @Date: 2025-03-06 14:17:24
 | 
			
		||||
 * @LastEditors: Kane
 | 
			
		||||
 * @FilePath: /Cpicxim-XMNHSA-Repeater/src/main/java/com/cpicxim/huixiabao/data/pojo/NHACommenRequestBody.java
 | 
			
		||||
 * @Description: 易联众请求共通报文结构
 | 
			
		||||
 *
 | 
			
		||||
 * Copyright (c) ${2023} by Kane, All Rights Reserved.
 | 
			
		||||
 */
 | 
			
		||||
package com.cpicxim.huixiabao.data.pojo;
 | 
			
		||||
 | 
			
		||||
import com.fasterxml.jackson.annotation.JsonProperty;
 | 
			
		||||
 | 
			
		||||
public class NHACommenRequestBody
 | 
			
		||||
{
 | 
			
		||||
   
 | 
			
		||||
   public String getChs_fjs_appid()
 | 
			
		||||
   {
 | 
			
		||||
      return chs_fjs_appid;
 | 
			
		||||
   }
 | 
			
		||||
   public void setChs_fjs_appid( String chs_fjs_appid )
 | 
			
		||||
   {
 | 
			
		||||
      this.chs_fjs_appid = chs_fjs_appid;
 | 
			
		||||
   }
 | 
			
		||||
   public String getChs_fjs_appsecret()
 | 
			
		||||
   {
 | 
			
		||||
      return chs_fjs_appsecret;
 | 
			
		||||
   }
 | 
			
		||||
   public void setChs_fjs_appsecret( String chs_fjs_appsecret )
 | 
			
		||||
   {
 | 
			
		||||
      this.chs_fjs_appsecret = chs_fjs_appsecret;
 | 
			
		||||
   }
 | 
			
		||||
   public String getChs_fjs_token()
 | 
			
		||||
   {
 | 
			
		||||
      return chs_fjs_token;
 | 
			
		||||
   }
 | 
			
		||||
   public void setChs_fjs_token( String chs_fjs_token )
 | 
			
		||||
   {
 | 
			
		||||
      this.chs_fjs_token = chs_fjs_token;
 | 
			
		||||
   }
 | 
			
		||||
   public String getChs_fjs_funid()
 | 
			
		||||
   {
 | 
			
		||||
      return chs_fjs_funid;
 | 
			
		||||
   }
 | 
			
		||||
   public void setChs_fjs_funid( String chs_fjs_funid )
 | 
			
		||||
   {
 | 
			
		||||
      this.chs_fjs_funid = chs_fjs_funid;
 | 
			
		||||
   }
 | 
			
		||||
   public String getChs_fjs_encdata()
 | 
			
		||||
   {
 | 
			
		||||
      return chs_fjs_encdata;
 | 
			
		||||
   }
 | 
			
		||||
   public void setChs_fjs_encdata( String chs_fjs_encdata )
 | 
			
		||||
   {
 | 
			
		||||
      this.chs_fjs_encdata = chs_fjs_encdata;
 | 
			
		||||
   }
 | 
			
		||||
   public String getChs_fjs_sign()
 | 
			
		||||
   {
 | 
			
		||||
      return chs_fjs_sign;
 | 
			
		||||
   }
 | 
			
		||||
   public void setChs_fjs_sign( String chs_fjs_sign )
 | 
			
		||||
   {
 | 
			
		||||
      this.chs_fjs_sign = chs_fjs_sign;
 | 
			
		||||
   }
 | 
			
		||||
   public int getChs_fjs_timestamp()
 | 
			
		||||
   {
 | 
			
		||||
      return chs_fjs_timestamp;
 | 
			
		||||
   }
 | 
			
		||||
   public void setChs_fjs_timestamp( int chs_fjs_timestamp )
 | 
			
		||||
   {
 | 
			
		||||
      this.chs_fjs_timestamp = chs_fjs_timestamp;
 | 
			
		||||
   }
 | 
			
		||||
 | 
			
		||||
   private String chs_fjs_appid; // 渠道id
 | 
			
		||||
   private String chs_fjs_appsecret; // 渠道私钥
 | 
			
		||||
   private String chs_fjs_token; // 请求时携带的动态令牌
 | 
			
		||||
   private String chs_fjs_funid; // 服务编号
 | 
			
		||||
   private String chs_fjs_encdata; // 加密后的数据
 | 
			
		||||
   private String chs_fjs_sign; // 签名数据串
 | 
			
		||||
   private String data; // 未加密的数据
 | 
			
		||||
   private int chs_fjs_timestamp; // 时间戳
 | 
			
		||||
}
 | 
			
		||||
@@ -0,0 +1,22 @@
 | 
			
		||||
/*
 | 
			
		||||
 * @Author: Kane
 | 
			
		||||
 * @Date: 2025-02-20 09:56:32
 | 
			
		||||
 * @LastEditors: Kane
 | 
			
		||||
 * @FilePath: /Cpicxim-XMNHSA-Repeater/src/main/java/com/cpicxim/huixiabao/web/controllers/MediCover/MediCoverToCpicxim.java
 | 
			
		||||
 * @Description: 接收宸汐数据的controller。
 | 
			
		||||
 * 
 | 
			
		||||
 * Copyright (c) ${2023} by Kane, All Rights Reserved. 
 | 
			
		||||
 */
 | 
			
		||||
package com.cpicxim.huixiabao.web.controllers.MediCover;
 | 
			
		||||
 | 
			
		||||
import org.springframework.stereotype.Controller;
 | 
			
		||||
import org.springframework.web.bind.annotation.PostMapping;
 | 
			
		||||
import org.springframework.web.bind.annotation.RequestBody;
 | 
			
		||||
import org.springframework.web.bind.annotation.RequestMapping;
 | 
			
		||||
import org.springframework.web.bind.annotation.ResponseBody;
 | 
			
		||||
 | 
			
		||||
@Controller
 | 
			
		||||
public class MediCoverToCpicxim
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
@@ -0,0 +1,15 @@
 | 
			
		||||
/*
 | 
			
		||||
 * @Author: Kane
 | 
			
		||||
 * @Date: 2025-02-18 19:03:23
 | 
			
		||||
 * @LastEditors: Kane
 | 
			
		||||
 * @FilePath: /Cpicxim-XMNHSA-Repeater/src/main/java/com/cpicxim/huixiabao/web/controllers/NHSA/CpicximToNHSARepeater.java
 | 
			
		||||
 * @Description: 
 | 
			
		||||
 * 
 | 
			
		||||
 * Copyright (c) ${2023} by Kane, All Rights Reserved. 
 | 
			
		||||
 */
 | 
			
		||||
package com.cpicxim.huixiabao.web.controllers.NHSA;
 | 
			
		||||
 | 
			
		||||
public class CpicximToNHSARepeater
 | 
			
		||||
{
 | 
			
		||||
    
 | 
			
		||||
}
 | 
			
		||||
@@ -0,0 +1,37 @@
 | 
			
		||||
<beans xmlns="http://www.springframework.org/schema/beans"
 | 
			
		||||
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 | 
			
		||||
    xmlns:context="http://www.springframework.org/schema/context"
 | 
			
		||||
    xmlns:jdbc="http://www.springframework.org/schema/jdbc"
 | 
			
		||||
    xmlns:jee="http://www.springframework.org/schema/jee"
 | 
			
		||||
    xmlns:tx="http://www.springframework.org/schema/tx"
 | 
			
		||||
    xmlns:aop="http://www.springframework.org/schema/aop"
 | 
			
		||||
    xmlns:mvc="http://www.springframework.org/schema/mvc"
 | 
			
		||||
    xmlns:util="http://www.springframework.org/schema/util"
 | 
			
		||||
    xmlns:jpa="http://www.springframework.org/schema/data/jpa"
 | 
			
		||||
    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
 | 
			
		||||
                        http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.2.xsd
 | 
			
		||||
                        http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc-3.2.xsd
 | 
			
		||||
                        http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.2.xsd
 | 
			
		||||
                        http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.2.xsd
 | 
			
		||||
                        http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa-1.3.xsd
 | 
			
		||||
                        http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.2.xsd
 | 
			
		||||
                        http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd
 | 
			
		||||
                        http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.2.xsd">
 | 
			
		||||
 | 
			
		||||
    <context:component-scan base-package="com.cpic.xim" />
 | 
			
		||||
    <mvc:annotation-driven />
 | 
			
		||||
    <mvc:default-servlet-handler />
 | 
			
		||||
 | 
			
		||||
    <!-- <bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
 | 
			
		||||
        <property
 | 
			
		||||
    name="prefix" value="/WEB-INF/jsp/" />
 | 
			
		||||
        <property name="suffix" value=".jsp" />
 | 
			
		||||
    </bean> -->
 | 
			
		||||
 | 
			
		||||
    <bean id="multipartResolver"
 | 
			
		||||
        class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
 | 
			
		||||
        <property name="defaultEncoding" value="UTF-8" />
 | 
			
		||||
        <property name="maxUploadSize" value="-1" />
 | 
			
		||||
    </bean>
 | 
			
		||||
 | 
			
		||||
</beans>
 | 
			
		||||
@@ -0,0 +1,27 @@
 | 
			
		||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
			
		||||
<xml-body>
 | 
			
		||||
  <web-app
 | 
			
		||||
    version="4.0"
 | 
			
		||||
    xmlns="http://xmlns.jcp.org/xml/ns/javaee"
 | 
			
		||||
    xmlns:javaee="http://xmlns.jcp.org/xml/ns/javaee"
 | 
			
		||||
    xmlns:xml="http://www.w3.org/XML/1998/namespace"
 | 
			
		||||
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 | 
			
		||||
    xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd">
 | 
			
		||||
    <display-name>Archetype Created Web Application</display-name>
 | 
			
		||||
 | 
			
		||||
    <servlet>
 | 
			
		||||
      <servlet-name>springmvc</servlet-name>
 | 
			
		||||
      <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
 | 
			
		||||
      <init-param>
 | 
			
		||||
        <param-name>contextConfigLocation</param-name>
 | 
			
		||||
        <param-value>classpath:spring.xml</param-value>
 | 
			
		||||
      </init-param>
 | 
			
		||||
      <load-on-startup>1</load-on-startup>
 | 
			
		||||
    </servlet>
 | 
			
		||||
    <servlet-mapping>
 | 
			
		||||
      <servlet-name>springmvc</servlet-name>
 | 
			
		||||
      <url-pattern>*.do</url-pattern>
 | 
			
		||||
    </servlet-mapping>
 | 
			
		||||
 | 
			
		||||
  </web-app>
 | 
			
		||||
</xml-body>
 | 
			
		||||
@@ -0,0 +1,5 @@
 | 
			
		||||
<html>
 | 
			
		||||
<body>
 | 
			
		||||
<h2><%= "Hello World!" %></h2>
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
							
								
								
									
										117
									
								
								code/nginx配置/nginx.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										117
									
								
								code/nginx配置/nginx.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,117 @@
 | 
			
		||||
 | 
			
		||||
#user  nobody;
 | 
			
		||||
worker_processes  1;
 | 
			
		||||
 | 
			
		||||
#error_log  logs/error.log;
 | 
			
		||||
#error_log  logs/error.log  notice;
 | 
			
		||||
#error_log  logs/error.log  info;
 | 
			
		||||
 | 
			
		||||
#pid        logs/nginx.pid;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
events {
 | 
			
		||||
    worker_connections  1024;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
http {
 | 
			
		||||
    include       mime.types;
 | 
			
		||||
    default_type  application/octet-stream;
 | 
			
		||||
 | 
			
		||||
    #log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
 | 
			
		||||
    #                  '$status $body_bytes_sent "$http_referer" '
 | 
			
		||||
    #                  '"$http_user_agent" "$http_x_forwarded_for"';
 | 
			
		||||
 | 
			
		||||
    #access_log  logs/access.log  main;
 | 
			
		||||
 | 
			
		||||
    sendfile        on;
 | 
			
		||||
    #tcp_nopush     on;
 | 
			
		||||
 | 
			
		||||
    #keepalive_timeout  0;
 | 
			
		||||
    keepalive_timeout  65;
 | 
			
		||||
 | 
			
		||||
    #gzip  on;
 | 
			
		||||
 | 
			
		||||
    server {
 | 
			
		||||
        listen       80;
 | 
			
		||||
        server_name  localhost;
 | 
			
		||||
 | 
			
		||||
        #charset koi8-r;
 | 
			
		||||
 | 
			
		||||
        #access_log  logs/host.access.log  main;
 | 
			
		||||
 | 
			
		||||
        location / {
 | 
			
		||||
            root   html;
 | 
			
		||||
            index  index.html index.htm;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        #error_page  404              /404.html;
 | 
			
		||||
 | 
			
		||||
        # redirect server error pages to the static page /50x.html
 | 
			
		||||
        #
 | 
			
		||||
        error_page   500 502 503 504  /50x.html;
 | 
			
		||||
        location = /50x.html {
 | 
			
		||||
            root   html;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        # proxy the PHP scripts to Apache listening on 127.0.0.1:80
 | 
			
		||||
        #
 | 
			
		||||
        #location ~ \.php$ {
 | 
			
		||||
        #    proxy_pass   http://127.0.0.1;
 | 
			
		||||
        #}
 | 
			
		||||
 | 
			
		||||
        # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
 | 
			
		||||
        #
 | 
			
		||||
        #location ~ \.php$ {
 | 
			
		||||
        #    root           html;
 | 
			
		||||
        #    fastcgi_pass   127.0.0.1:9000;
 | 
			
		||||
        #    fastcgi_index  index.php;
 | 
			
		||||
        #    fastcgi_param  SCRIPT_FILENAME  /scripts$fastcgi_script_name;
 | 
			
		||||
        #    include        fastcgi_params;
 | 
			
		||||
        #}
 | 
			
		||||
 | 
			
		||||
        # deny access to .htaccess files, if Apache's document root
 | 
			
		||||
        # concurs with nginx's one
 | 
			
		||||
        #
 | 
			
		||||
        #location ~ /\.ht {
 | 
			
		||||
        #    deny  all;
 | 
			
		||||
        #}
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    # another virtual host using mix of IP-, name-, and port-based configuration
 | 
			
		||||
    #
 | 
			
		||||
    #server {
 | 
			
		||||
    #    listen       8000;
 | 
			
		||||
    #    listen       somename:8080;
 | 
			
		||||
    #    server_name  somename  alias  another.alias;
 | 
			
		||||
 | 
			
		||||
    #    location / {
 | 
			
		||||
    #        root   html;
 | 
			
		||||
    #        index  index.html index.htm;
 | 
			
		||||
    #    }
 | 
			
		||||
    #}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    # HTTPS server
 | 
			
		||||
    #
 | 
			
		||||
    #server {
 | 
			
		||||
    #    listen       443 ssl;
 | 
			
		||||
    #    server_name  localhost;
 | 
			
		||||
 | 
			
		||||
    #    ssl_certificate      cert.pem;
 | 
			
		||||
    #    ssl_certificate_key  cert.key;
 | 
			
		||||
 | 
			
		||||
    #    ssl_session_cache    shared:SSL:1m;
 | 
			
		||||
    #    ssl_session_timeout  5m;
 | 
			
		||||
 | 
			
		||||
    #    ssl_ciphers  HIGH:!aNULL:!MD5;
 | 
			
		||||
    #    ssl_prefer_server_ciphers  on;
 | 
			
		||||
 | 
			
		||||
    #    location / {
 | 
			
		||||
    #        root   html;
 | 
			
		||||
    #        index  index.html index.htm;
 | 
			
		||||
    #    }
 | 
			
		||||
    #}
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										9
									
								
								文档/request.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								文档/request.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
			
		||||
{
 | 
			
		||||
    "chs_fjs_appid": "",
 | 
			
		||||
    "chs_fjs_appsecret": "",
 | 
			
		||||
    "chs_fjs_token": "",
 | 
			
		||||
    "chs_fjs_funid": "",
 | 
			
		||||
    "chs_fjs_timestamp": "",
 | 
			
		||||
    "chs_fjs_encdata": "",
 | 
			
		||||
    "chs_fjs_sign": ""
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										33
									
								
								文档/sm2_expl.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								文档/sm2_expl.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,33 @@
 | 
			
		||||
{
 | 
			
		||||
    "appId": "43AF047BBA47FC8A1AE8EFB232BDBBCB",
 | 
			
		||||
    "data": {
 | 
			
		||||
        "appId": "43AF047BBA47FC8A1AE8EFB232BDBBCB",
 | 
			
		||||
        "appUserId": "o8z4C5avQXqC0aWFPf1Mzu6D7WCQ_bd",
 | 
			
		||||
        "idNo": "350181199011193519",
 | 
			
		||||
        "idType": "01",
 | 
			
		||||
        "phoneNumber": "13763873033",
 | 
			
		||||
        "userName": "测试"
 | 
			
		||||
    },
 | 
			
		||||
    "encType": "SM4",
 | 
			
		||||
    "signData": "URVQNdVNn5mz2EhKZhLTlXNwAWTSncFoSe8Ilx7jhn81eABJ46sdRRN1ZiAiQjPUTixG9bwqEhiJupHRGmyO5w==",
 | 
			
		||||
    "signType": "SM2",
 | 
			
		||||
    "timestamp": "20200207175759",
 | 
			
		||||
    "transType": "ec.gen.index",
 | 
			
		||||
    "version": "1.0.0"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
appId=43AF047BBA47FC8A1AE8EFB232BDBBCB&data=
 | 
			
		||||
{
 | 
			
		||||
    "appId":"43AF047BBA47FC8A1AE8EFB232BDBBCB",
 | 
			
		||||
    "appUserId":"o8z4C5avQXqC0aWFPf1Mzu6D7WCQ_bd",
 | 
			
		||||
    "idNo":"350181199011193519",
 | 
			
		||||
    "idType":"01",
 | 
			
		||||
    "phoneNumber":"13763873033",
 | 
			
		||||
    "userName":"测试"
 | 
			
		||||
}
 | 
			
		||||
&encType=SM4
 | 
			
		||||
&signType=SM2
 | 
			
		||||
×tamp=20200207175759
 | 
			
		||||
&transType=ec.gen.index
 | 
			
		||||
&version=1.0.0
 | 
			
		||||
&key=4117E877F5FA0A0188891283E4B617D5
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								文档/接口/惠夏保理赔规范v1.4.pdf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								文档/接口/惠夏保理赔规范v1.4.pdf
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								文档/接口/惠夏保理赔规范v1.5.pdf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								文档/接口/惠夏保理赔规范v1.5.pdf
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								文档/接口/福建医疗保障平台商业补充医疗保险接入规范(全)v1.7-20240925.pdf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								文档/接口/福建医疗保障平台商业补充医疗保险接入规范(全)v1.7-20240925.pdf
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
		Reference in New Issue
	
	Block a user