mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
update 固件上传到FTP服务器
This commit is contained in:
@@ -94,7 +94,7 @@ public class CommonController {
|
||||
* 上传固件、固件上传
|
||||
*/
|
||||
@PostMapping("/uploadFirmware")
|
||||
public AjaxResult uploadFirmware(MultipartFile file) throws Exception {
|
||||
public AjaxResult uploadFirmware(MultipartFile file) {
|
||||
try {
|
||||
// 上传文件路径
|
||||
String filePath = JsowellConfig.getUploadPath();
|
||||
|
||||
Reference in New Issue
Block a user