華測(cè)Django WEB系統(tǒng)開發(fā)課程
2022-12-18 22:41 作者:娜娜絡(luò)絡(luò) | 我要投稿
? ?throw new Exception(I18nUtils.message("auth.relogin"));
? ? ? ? ? ?}
? ? ? ? ? ?JSONObject userJsonObject = new JSONObject(URLDecoder.decode(user, Charset.defaultCharset()) );
? ? ? ? ? ?SecurityUserDTO securityDTO = new SecurityUserDTO();
? ? ? ? ? ?securityDTO.setId(Convert.toLong(userJsonObject.get("id")));
? ? ? ? ? ?securityDTO.setUserName(userJsonObject.getStr("username"));
標(biāo)簽: