提交
This commit is contained in:
parent
7e88d4620e
commit
0d094db7d3
|
|
@ -201,5 +201,19 @@ namespace ZR.Admin.WebApi.Controllers
|
||||||
string fileName = Path.GetFileName(fullPath);
|
string fileName = Path.GetFileName(fullPath);
|
||||||
return DownFile(fullPath, fileName);
|
return DownFile(fullPath, fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// home
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
[Route("/config")]
|
||||||
|
[HttpGet]
|
||||||
|
[AllowAnonymous]
|
||||||
|
public async Task<IActionResult> GetConfig()
|
||||||
|
{
|
||||||
|
var file = await SysFileService.AsQueryable().Where(x => x.ClassifyType == "watermark").FirstAsync();
|
||||||
|
return SUCCESS(new { logo = file?.AccessUrl ?? "" });
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user