|
@@ -219,7 +219,7 @@ namespace Hotline.Api.Controllers
|
|
|
var know = await _knowledgeRepository.GetAsync(dto.Data.Id, HttpContext.RequestAborted);
|
|
|
if (know != null && know.Status == EKnowledgeStatus.OnShelf)
|
|
|
{
|
|
|
- if (_sessionContext.OrgIsCenter)
|
|
|
+ if (_sessionContext.OrgIsCenter || !_appOptions.Value.IsYiBin)
|
|
|
{
|
|
|
know.Status = EKnowledgeStatus.OffShelf;
|
|
|
know.OnShelfTime = null;
|