fix request log
This commit is contained in:
@@ -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 访问,无需按店铺/平台过滤
|
||||
}
|
||||
|
||||
/**
|
||||
* 操作日志列表
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user