|
@@ -65,6 +65,12 @@ namespace Controllers
|
|
|
public IActionResult StaticFiles([FromQuery] AppStaticFilesDto parm)
|
|
|
{
|
|
|
var response = _FileUpdateInfoService.StaticFiles(parm);
|
|
|
+ OssConfigs ossConfigs = new();
|
|
|
+ AppSettings.Bind("OssConfigs", ossConfigs);
|
|
|
+ foreach(var sub in response.Records)
|
|
|
+ {
|
|
|
+ sub.downloadUrl = ossConfigs.Host + "skin/app/" + parm.kind + "/" + sub.path + sub.fileName;
|
|
|
+ }
|
|
|
return SUCCESS(response);
|
|
|
}
|
|
|
|