flow finished need to test

This commit is contained in:
Cauchy
2023-10-17 13:23:21 +08:00
parent c268fb185d
commit 99484c90e0
14 changed files with 120 additions and 70 deletions

View File

@@ -43,8 +43,7 @@ public class KdUtils {
}
public static String urlEncoder(String str, String charset) throws UnsupportedEncodingException{
String result = URLEncoder.encode(str, charset);
return result;
return URLEncoder.encode(str, charset);
}
/**
@@ -55,7 +54,7 @@ public class KdUtils {
* @throws UnsupportedEncodingException ,Exception
* @return DataSign签名
*/
public static String encrypt (String content, String keyValue, String charset) throws UnsupportedEncodingException, Exception
public static String encrypt (String content, String keyValue, String charset) throws Exception
{
if (keyValue != null)
{