flow finished need to test
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user