|
@@ -58,12 +58,11 @@ public class ProjectSceneController extends BaseController{
|
|
|
|
|
|
@GetMapping("/getSceneMap/{ciphertext}/{type}")
|
|
|
public Result getSceneMap(@PathVariable String ciphertext,
|
|
|
- @PathVariable Integer type) throws UnsupportedEncodingException {
|
|
|
+ @PathVariable Integer type) {
|
|
|
if (StringUtils.isBlank(ciphertext)){
|
|
|
throw new BusinessException(ResultCode.PARAM_ERROR);
|
|
|
}
|
|
|
log.info(ciphertext);
|
|
|
- ciphertext = URLDecoder.decode(ciphertext,"utf-8");
|
|
|
log.info("ciphertext:{},type:{}",ciphertext,type);
|
|
|
String deTxt = RsaUtils.decipher(ciphertext, RsaUtils.privateKey);
|
|
|
SceneGpsParam param = JSONObject.parseObject(deTxt, SceneGpsParam.class);
|