|
@@ -93,7 +93,7 @@ namespace GxPress.Api.AppControllers
|
|
|
try
|
|
|
{
|
|
|
var path = Common.Tools.StringUtils.GetWebRootPath(_environment.WebRootPath);
|
|
|
- var filepath = path + "/cache/20200428/1588144602647614.mp4";
|
|
|
+ var filepath = path + "/cache/20200529/1234.mp4";
|
|
|
FileInfo fileInfo = new FileInfo(filepath);
|
|
|
byte[] bytsize = new byte[fileInfo.Length];
|
|
|
var ext = fileInfo.Extension;
|
|
@@ -123,7 +123,7 @@ namespace GxPress.Api.AppControllers
|
|
|
try
|
|
|
{
|
|
|
var path = Common.Tools.StringUtils.GetWebRootPath(_environment.WebRootPath);
|
|
|
- var filepath = path + "/cache/20200428/1588144602647614.mp4";
|
|
|
+ var filepath = path + "/cache/20200529/1234.mp4";
|
|
|
//var filepath = "http://localhost:83/cache/20200428/1588144602647614.mp4";
|
|
|
//从第3个到第12个字节,共10个字节。(0是第一个字节)
|
|
|
var begin = int.Parse(range.Split('-')[0]);
|