whycrzh
2021-01-28 c8332186836b3dfe1fbd32d7bec7cd29a57e1888
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;
@@ -18,7 +19,7 @@
@RequestMapping("chart")
@RestController
@Api
@Api(tags = "chart接口")
public class ChartController{
   private static Map<String,String> fileUtil = new HashMap<String, String>(){
@@ -81,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;
@@ -105,6 +107,7 @@
    
   //修改班组的logo
   @PutMapping("serverRootLogo")
   @ApiOperation(notes = "",value="修改班组的logo")
   public boolean updateServerRootLogo(HashMap<String,String> s){
      boolean res=false;
      boolean isSuccess = false;