uploadFirmware 上传固件接口

This commit is contained in:
Guoqs
2024-05-21 15:18:39 +08:00
parent 5832610f74
commit 724d3ca4b7
7 changed files with 34 additions and 14 deletions

View File

@@ -11,6 +11,7 @@ import com.jsowell.framework.config.ServerConfig;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
@@ -39,6 +40,9 @@ public class CommonController {
private static final String FILE_DELIMETER = ",";
@Value("${remoteUpdate.path}")
private String FIRMWARE_FILEPATH;
/**
* 通用下载请求
*