lyhzzz 1 년 전
부모
커밋
ec8685570b
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/main/java/com/fdkankan/manage_jp/controller/ProjectSceneController.java

+ 3 - 0
src/main/java/com/fdkankan/manage_jp/controller/ProjectSceneController.java

@@ -12,6 +12,7 @@ import com.fdkankan.manage_jp.service.IProjectService;
 import com.fdkankan.manage_jp.util.RsaUtils;
 import com.fdkankan.manage_jp.vo.request.ProjectParam;
 import com.fdkankan.manage_jp.vo.request.SceneGpsParam;
+import lombok.extern.slf4j.Slf4j;
 import org.apache.commons.lang3.StringUtils;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.*;
@@ -29,6 +30,7 @@ import java.net.URLEncoder;
  */
 @RestController
 @RequestMapping("/manage_jp/projectScene")
+@Slf4j
 public class ProjectSceneController extends BaseController{
 
     @Autowired
@@ -58,6 +60,7 @@ public class ProjectSceneController extends BaseController{
         if (StringUtils.isBlank(ciphertext)){
             throw new BusinessException(ResultCode.PARAM_ERROR);
         }
+        log.info("ciphertext:{},type:{}",ciphertext,type);
         String deTxt = RsaUtils.decipher(ciphertext, RsaUtils.privateKey);
         SceneGpsParam param = JSONObject.parseObject(deTxt, SceneGpsParam.class);
         param.setType(type);