fix request log

This commit is contained in:
2026-03-18 08:37:14 +08:00
parent cdc88ba1e4
commit 58afb7c385
7 changed files with 24 additions and 11 deletions
@@ -59,6 +59,14 @@ class OperationLogController extends AbstractDataController
return 'created_at';
}
/**
* 操作日志表无 store_id/platform_id,跳过 DataScope 过滤
*/
protected function applyDataScope(\Hyperf\Database\Model\Builder $query): void
{
// 操作日志仅限 admin 访问,无需按店铺/平台过滤
}
/**
* 操作日志列表
*/