| | |
| | | response = decryptJsonStr(val);//解密 |
| | | } catch (NoSuchAlgorithmException | InvalidKeySpecException e) { |
| | | e.printStackTrace(); |
| | | response = "{\"code\":412,\"message\":\""+"解密数据出错"+e.getMessage()+"\"}"; |
| | | response = "{\"code\":412,\"msg\":\""+"解密数据出错"+e.getMessage()+"\"}"; |
| | | } catch (JSONException e) { |
| | | e.printStackTrace(); |
| | | response = "{\"code\":414,\"message\":\"非标准json\"}"; |
| | | response = "{\"code\":414,\"msg\":\"非标准json\"}"; |
| | | }catch (Exception e){ |
| | | e.printStackTrace(); |
| | | JsonReader jsonReader = gson.newJsonReader(value.charStream()); |