保存进度
This commit is contained in:
parent
d25f43db18
commit
636974c99c
@ -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";
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user