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