Browse Source

问答不需要token

wuweihao 5 years ago
parent
commit
f0ae78c850

+ 1 - 1
gis_service/src/main/java/com/gis/service/util/ResourceTree.java

@@ -32,7 +32,7 @@ public class ResourceTree {
     @JSONField(serialize = false)
     private String resourceKey;
 
-    @JSONField(serialize = false)
+//    @JSONField(serialize = false)
     private String resourceType;
 
     @JSONField(serialize = false)

+ 0 - 17
gis_web/src/main/java/com/gis/web/controller/ApiController.java

@@ -1,20 +1,11 @@
 package com.gis.web.controller;
 
 
-import com.gis.common.util.FileUtils;
-import com.gis.common.util.RandomUtils;
-import com.gis.common.util.Result;
-import com.gis.service.CelebrityService;
 import io.swagger.annotations.*;
 import lombok.extern.log4j.Log4j2;
-import org.apache.commons.lang3.StringUtils;
-import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.*;
-import org.springframework.web.multipart.MultipartFile;
 import springfox.documentation.annotations.ApiIgnore;
 
-import java.io.IOException;
-import java.util.Map;
 
 /**
  * Created by owen on 2020/6/10 0010 10:44
@@ -28,12 +19,4 @@ public class ApiController extends BaseController {
 
 
 
-
-
-
-
-
-
-
-
 }

+ 1 - 1
gis_web/src/main/java/com/gis/web/controller/WebController.java

@@ -23,7 +23,7 @@ import java.util.*;
 @Log4j2
 @Api(tags = "展示页")
 @RestController
-@RequestMapping("manage/web")
+@RequestMapping("api/web")
 public class WebController extends BaseController {
 
     @Autowired