mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-22 03:55:17 +08:00
uploadFirmware 上传固件接口
This commit is contained in:
@@ -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;
|
||||
|
||||
/**
|
||||
* 通用下载请求
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user