lyhzzz hai 1 ano
pai
achega
ec8685570b

+ 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);