add - Upyso

This commit is contained in:
yangqiang3504
2022-09-05 15:32:42 +08:00
parent c6c04d4bee
commit ca8d8d2759
5 changed files with 166 additions and 109 deletions
@@ -44,6 +44,11 @@ public class JsonBasic {
return new JSONObject();
}
public static String getBase64(String json){
json = new String(Base64.decode(json, Base64.DEFAULT | Base64.URL_SAFE | Base64.NO_WRAP));
return json;
}
public static HashMap<String, String> getReqHeader(String url) {
HashMap<String, String> reqHeaders = new HashMap<>();
reqHeaders.put("url", url);