whycrzg
2021-02-23 351b9a53cb9ecebdf8f79db0117f540d9c42c2a4
src/main/java/com/fgkj/controller/ChartController.java
@@ -5,6 +5,7 @@
import com.fgkj.dto.User_Chart;
import com.fgkj.services.User_ChartService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
@@ -14,9 +15,11 @@
import java.io.*;
import java.util.*;
import javax.annotation.Resource;
@RequestMapping("chart")
@RestController
@Api
@Api(tags = "chart接口")
public class ChartController{
   private static Map<String,String> fileUtil = new HashMap<String, String>(){
@@ -29,7 +32,7 @@
      }      
   };
   @Autowired
   @Resource
   private User_ChartService service;
   // private List<File> files;
@@ -79,6 +82,7 @@
   }
   @PutMapping("form")
   @ApiOperation(notes = "",value="form")
   public boolean uploadform(@RequestBody User_Chart uchart,@RequestBody List<File> files,@RequestBody List<String> filesFileName){
      // User_Chart uchart=ActionUtil.getGson().fromJson(json, User_Chart.class);
      boolean res=false;
@@ -103,6 +107,7 @@
    
   //修改班组的logo
   @PutMapping("serverRootLogo")
   @ApiOperation(notes = "",value="修改班组的logo")
   public boolean updateServerRootLogo(HashMap<String,String> s){
      boolean res=false;
      boolean isSuccess = false;