保存进度!
This commit is contained in:
parent
dc81a17b9c
commit
dce9bfd3ea
@ -92,6 +92,14 @@
|
||||
<artifactId>ojdbc8</artifactId>
|
||||
<version>19.3.0.0.0</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.shiro</groupId>
|
||||
<artifactId>shiro-all</artifactId>
|
||||
<version>1.11.0</version>
|
||||
<type>pom</type>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
<build>
|
||||
<finalName>desktop_archievement_backend</finalName>
|
||||
|
@ -0,0 +1,9 @@
|
||||
/*
|
||||
* @Author: Kane
|
||||
* @Date: 2023-05-25 11:14:03
|
||||
* @LastEditors: Kane
|
||||
* @FilePath: /NewCitizenQueryResult/src/main/java/com/cpic/xim/utils/decryption/DecryptionUtils.java
|
||||
* @Description:
|
||||
*
|
||||
* Copyright (c) ${2022} by Kane, All Rights Reserved.
|
||||
*/
|
@ -0,0 +1,20 @@
|
||||
/*
|
||||
* @Author: Kane
|
||||
* @Date: 2023-05-25 11:13:17
|
||||
* @LastEditors: Kane
|
||||
* @FilePath: /NewCitizenQueryResult/src/main/java/com/cpic/xim/utils/encryption/EncryptionUtils.java
|
||||
* @Description:
|
||||
*
|
||||
* Copyright (c) ${2022} by Kane, All Rights Reserved.
|
||||
*/
|
||||
package com.cpic.xim.utils.encryption;
|
||||
|
||||
public class EncryptionUtils
|
||||
{
|
||||
static public String md5Hash( String value )
|
||||
{
|
||||
String result = "";
|
||||
|
||||
return result;
|
||||
}
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
|
||||
package com.cpic.xim.web.controllers.NewCitizen;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
|
||||
@Controller
|
||||
public class QueryResultController
|
||||
{
|
||||
@RequestMapping("/save_score.do")
|
||||
public void saveQueryResult( @RequestParam QueryResultRequest result )
|
||||
{{
|
||||
|
||||
}}
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
|
||||
package com.cpic.xim.web.controllers.NewCitizen;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
public class QueryResultRequest
|
||||
{
|
||||
public QueryResultRequest() {}
|
||||
|
||||
|
||||
public String getIdCardMD5()
|
||||
{
|
||||
return idCardMD5;
|
||||
}
|
||||
|
||||
public void setIdCardMD5( String idCardMD5 )
|
||||
{
|
||||
this.idCardMD5 = idCardMD5;
|
||||
}
|
||||
|
||||
public String getScore()
|
||||
{
|
||||
return score;
|
||||
}
|
||||
|
||||
public void setScore( String score )
|
||||
{
|
||||
this.score = score;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@JsonProperty("idcardmd5")
|
||||
private String idCardMD5;
|
||||
|
||||
@JsonProperty("score")
|
||||
private String score;
|
||||
}
|
@ -7,16 +7,8 @@
|
||||
*
|
||||
* Copyright (c) ${2022} by Kane, All Rights Reserved.
|
||||
*/
|
||||
/*
|
||||
* @Author: Kane
|
||||
* @Date: 2023-02-28 22:52:32
|
||||
* @LastEditors: Kane
|
||||
* @FilePath: /desktop_archievement_backend/src/main/java/com/cpic/xim/web/filters/cros/CrosFilter.java
|
||||
* @Description:
|
||||
*
|
||||
* Copyright (c) ${2022} by Kane, All Rights Reserved.
|
||||
*/
|
||||
package com.cpic.xim.web.filters.cros;
|
||||
|
||||
package com.cpic.xim.web.filters;
|
||||
|
||||
import java.io.IOException;
|
||||
import javax.servlet.Filter;
|
||||
|
@ -12,6 +12,8 @@
|
||||
package com.cpic.xim.test;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.apache.shiro.crypto.SecureRandomNumberGenerator;
|
||||
import org.apache.shiro.crypto.hash.Md5Hash;
|
||||
|
||||
public class NewCitizenQueryResultTest
|
||||
{
|
||||
@ -20,4 +22,14 @@ public class NewCitizenQueryResultTest
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testMd5Hash()
|
||||
{
|
||||
String idCardNo = "350402198106130016";
|
||||
|
||||
Md5Hash idCardNoHash = new Md5Hash(idCardNo);
|
||||
|
||||
System.out.println("身份证hash值:" + idCardNoHash.toString() );
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user