|
@@ -68,20 +68,11 @@ public class ProjectSceneController extends BaseController{
|
|
|
if(StringUtils.isBlank(deTxt)){
|
|
|
throw new BusinessException(ResultCode.PARAM_ERROR);
|
|
|
}
|
|
|
- JSONObject jsonObject = JSONObject.parseObject(deTxt);
|
|
|
-
|
|
|
- SceneGpsParam param = new SceneGpsParam();
|
|
|
- param.setUserId(jsonObject.getLong("userId"));
|
|
|
- param.setCompanyId(jsonObject.getLong("companyId"));
|
|
|
+ SceneGpsParam param = JSONObject.parseObject(deTxt, SceneGpsParam.class);
|
|
|
param.setType(type);
|
|
|
-
|
|
|
return Result.success(projectSceneGpsService.allSceneGps(param));
|
|
|
}
|
|
|
|
|
|
- public static void main(String[] args) {
|
|
|
- String ciphertext = URLDecoder.decode("YTpCgd1WVXGvu8SP7BggVQKWn9xb0lCOOaCJQWe6Irbwn0JAHru%2B0LbPAdTplJEEmUEbz7sdsKmcNeKxR%2Bv4nw%3D%3D");
|
|
|
- System.out.println(RsaUtils.decipher(ciphertext, RsaUtils.privateKey));
|
|
|
- }
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
|