保存进度

This commit is contained in:
Kane Wang 2025-03-16 09:01:28 +08:00
parent d25f43db18
commit 636974c99c
6 changed files with 47 additions and 49 deletions

View File

@ -59,7 +59,7 @@ public class HuixiabaoConfig
private static final int MAX_COUNT_PER_REQUEST = 500;
private static final int SLEEP_SECONDS = 10;
private static final String url = "http://172.18.1.150:9040/h3c/new/test/api/gafe/rest";
private static final String url = "http://172.18.1.150:9040/h3c/new/api/gafe/rest";
private static final String appid = "hxb-tb";
private static final String appSecret = "60F468FB46170DD4CF6CBECE215DBFC0";
private static final String funId = "XY00.00.00.03";

View File

@ -1,14 +1,13 @@
/**
* @Author: Kane
* @Date: 2025-03-15 21:01:56
* @LastEditors: Kane
* @FilePath: /cpicxim-huixiabao/src/main/java/com/cpic/xim/huixiabao/web/controllers/MediCover/MediCoverController.java
* @Author: Kane Wang <wangkane@qq.com>
* @Date: 2025-03-15 18:40:54
* @LastEditors: Kane Wang
* @LastModified: 2025-03-16 08:59:16
* @FilePath: src/main/java/com/cpic/xim/huixiabao/web/controllers/MediCover/MediCoverController.java
* @Description:
* @
* Copyright (c) ${2023} by Kane, All Rights Reserved.
*
* Copyright (c) 2025 by Kane All rights reserved
*/
package com.cpic.xim.huixiabao.web.controllers.MediCover;
import org.springframework.stereotype.Controller;

View File

@ -1,17 +1,13 @@
/*
* @Author: Kane
*
* @Date: 2025-03-15 12:04:19
*
* @LastEditors: Kane
*
* @FilePath: /cpicxim-huixiabao/src/main/java/com/cpic/xim/utils/secrecy/AESUtils.java
*
/**
* @Author: Kane Wang <wangkane@qq.com>
* @Date: 2025-03-15 12:50:53
* @LastEditors: Kane Wang
* @LastModified: 2025-03-16 08:44:52
* @FilePath: src/main/java/com/cpic/xim/utils/secrecy/AESUtils.java
* @Description:
*
* Copyright (c) ${2023} by Kane, All Rights Reserved.
* Copyright (c) 2025 by Kane All rights reserved
*/
package com.cpic.xim.utils.secrecy;
import javax.crypto.Cipher;
@ -39,7 +35,7 @@ public class AESUtils
{
String key = UUID.randomUUID().toString();
key = key.replace( "-", "" ).substring( 0, 16 );// 替换掉-
return key;
}

View File

@ -1,23 +1,13 @@
/**
* @Author: Kane Wang <wangkane@qq.com>
* @Date: 2025-03-15 12:50:53
* @LastEditors: Kane Wang
* @LastModified: 2025-03-16 08:40:07
* @FilePath: src/main/java/com/cpic/xim/utils/secrecy/Base64Utils.java
* @Description:
*
* Copyright (c) 2025 by Kane All rights reserved
*/
/**
* @Author: Kane
* @Date: 2025-03-15 12:04:19
* @Author: Kane Wang <wangkane@qq.com>
* @Date: 2025-03-15 12:50:53
* @LastEditors: Kane
* @LastModified: 2025-03-16 08:40:07
* @FilePath: /cpicxim-huixiabao/src/main/java/com/cpic/xim/utils/secrecy/Base64Utils.java
* @Description:
*
* Copyright (c) ${2023} by Kane, All Rights Reserved.
* Copyright (c) 2025 by Kane All rights reserved
*/
package com.cpic.xim.utils.secrecy;
import org.apache.commons.codec.binary.Base64;

View File

@ -1,3 +1,13 @@
/**
* @Author: Kane Wang <wangkane@qq.com>
* @Date: 2025-03-15 12:50:53
* @LastEditors: Kane Wang
* @LastModified: 2025-03-16 08:43:56
* @FilePath: src/main/java/com/cpic/xim/utils/secrecy/RSAUtils.java
* @Description:
*
* Copyright (c) 2025 by Kane All rights reserved
*/
package com.cpic.xim.utils.secrecy;
import javax.crypto.Cipher;

View File

@ -1,17 +1,13 @@
/*
* @Author: Kane
*
* @Date: 2025-03-15 11:56:54
*
* @LastEditors: Kane
*
* @FilePath: /cpicxim-huixiabao/src/main/java/com/cpic/xim/web/filters/cros/CrosFilter.java
*
/**
* @Author: Kane Wang <wangkane@qq.com>
* @Date: 2025-03-15 18:40:54
* @LastEditors: Kane Wang
* @LastModified: 2025-03-16 08:56:20
* @FilePath: src/main/java/com/cpic/xim/web/filters/cros/CrosFilter.java
* @Description:
*
* Copyright (c) ${2023} by Kane, All Rights Reserved.
* Copyright (c) 2025 by Kane All rights reserved
*/
package com.cpic.xim.web.filters.cros;
import java.io.IOException;
@ -30,10 +26,17 @@ public class CrosFilter implements Filter
{
private static Logger logger = LoggerFactory.getLogger( CrosFilter.class );
/**
* @param req
*/
@Override
public void doFilter( ServletRequest req, ServletResponse resp, FilterChain chain )
throws ServletException,
IOException
public void doFilter(
ServletRequest req,
ServletResponse resp,
FilterChain chain
)
throws ServletException,
IOException
{
HttpServletRequest request = ( HttpServletRequest ) req;
HttpServletResponse response = ( HttpServletResponse ) resp;