| | |
| | | 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; |
| | |
| | | |
| | | 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>(){ |
| | |
| | | } |
| | | }; |
| | | |
| | | @Autowired |
| | | @Resource |
| | | private User_ChartService service; |
| | | |
| | | // private List<File> files; |
| | |
| | | } |
| | | |
| | | @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; |
| | |
| | | |
| | | //修改班组的logo |
| | | @PutMapping("serverRootLogo") |
| | | @ApiOperation(notes = "",value="修改班组的logo") |
| | | public boolean updateServerRootLogo(HashMap<String,String> s){ |
| | | boolean res=false; |
| | | boolean isSuccess = false; |