refactor: 收口 Admin 会话与授权边界

This commit is contained in:
que01 committed 2026-10-19 10:13:13 +08:00
1 parent 0788480ce3
commit 4ef4be2071
67 files changed
+1890 -392

No files matched your search

+23 -5
View File
@@ -43,7 +43,7 @@ overrides:
patchedDependencies:
'@jimp/core@0.16.13':
hash: e3gfmimxpqa7zt2vmxpy4rkhaq
hash: tmgzi2utshrw325qczfuqqr2oq
path: patches/@jimp__core@0.16.13.patch
miniprogram-ci@2.1.31:
hash: y4seosrw3qmysf77ad2tjzhu5e
@@ -120,6 +120,9 @@ importers:
'@aws-sdk/s3-request-presigner':
specifier: ^3.1149.0
version: 3.1149.0
'@fastify/cookie':
specifier: ^11.1.3
version: 11.1.3
'@fastify/multipart':
specifier: ^10.1.3
version: 10.1.3
@@ -2091,6 +2094,9 @@ packages:
'@fastify/busboy@3.2.3':
resolution: {integrity: sha512-fmo/IKgkenPzz3qTKG+sIUXdF/Kv83AkvvOXJHPTHJeKJbat8SsL1ihUaFaDotqoEl4UZ1Lf8Eb/3vK6eaWX2A==}
'@fastify/cookie@11.1.3':
resolution: {integrity: sha512-RBhlMNsmSG6C5KGiTkhSXBF75xIrUMSytDDBcpnVewhJ8XVYnJTu+SV6FYKXClIRsBuRjOfKbBSULvnPD3X/mg==}
'@fastify/cors@11.3.0':
resolution: {integrity: sha512-ggQGua+xHv1MvePbPr0v//xLYEsCXbWspquXCJS9Ot5YoRXq8J8ZWzHnxDBVnbtXosvistXo6LtNzOJswf64Fw==}
@@ -4739,6 +4745,10 @@ packages:
resolution: {integrity: sha512-ei8Aos7ja0weRpFzJnEA9UHJ/7XQmqglbRwnf2ATjcB9Wq874VKH9kfjjirM6UhU2/E5fFYadylyhFldcqSidQ==}
engines: {node: '>=18'}
cookie@2.0.1:
resolution: {integrity: sha512-yuToqVvRrj6pfDXREyQAAv8SkAEk/8GS3jQRTiUMm66TVtBYmqQeoEjL2Lmq8Rpo6271vH76InTChTitEAm65w==}
engines: {node: '>=22'}
copy-anything@2.0.6:
resolution: {integrity: sha512-1j20GZTsvKNkc4BY3NpMOM8tt///wY3FpIzozTOFO2ffuZcV61nojHXVKIy3WM+7ADCy5FVhdZYHYDdgTU0yJw==}
@@ -5525,6 +5535,7 @@ packages:
glob@10.2.6:
resolution: {integrity: sha512-U/rnDpXJGF414QQQZv5uVsabTVxMSwzS5CH0p3DRCIV6ownl4f7PzGnkGmvlum2wB+9RlJWJZ6ACU1INnBqiPA==}
engines: {node: '>=16 || 14 >=14.17'}
deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
hasBin: true
glob@13.0.6:
@@ -5533,11 +5544,11 @@ packages:
glob@7.1.2:
resolution: {integrity: sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==}
deprecated: Glob versions prior to v9 are no longer supported
deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
glob@7.2.3:
resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==}
deprecated: Glob versions prior to v9 are no longer supported
deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
global-modules@2.0.0:
resolution: {integrity: sha512-NGbfmJBp9x8IxyJSd1P+otYK8vonoJactOogrVfFRIAEY1ukil8RSKDz2Yo7wh1oihl51l/r6W4epkeKJHqL8A==}
@@ -10396,6 +10407,11 @@ snapshots:
'@fastify/busboy@3.2.3': {}
'@fastify/cookie@11.1.3':
dependencies:
cookie: 2.0.1
fastify-plugin: 6.0.0
'@fastify/cors@11.3.0':
dependencies:
fastify-plugin: 6.0.0
@@ -10514,7 +10530,7 @@ snapshots:
'@jimp/utils': 0.16.13
bmp-js: 0.1.0
'@jimp/core@0.16.13(patch_hash=e3gfmimxpqa7zt2vmxpy4rkhaq)':
'@jimp/core@0.16.13(patch_hash=tmgzi2utshrw325qczfuqqr2oq)':
dependencies:
'@babel/runtime': 7.26.10
'@jimp/utils': 0.16.13
@@ -10534,7 +10550,7 @@ snapshots:
'@jimp/custom@0.16.13':
dependencies:
'@babel/runtime': 7.26.10
'@jimp/core': 0.16.13(patch_hash=e3gfmimxpqa7zt2vmxpy4rkhaq)
'@jimp/core': 0.16.13(patch_hash=tmgzi2utshrw325qczfuqqr2oq)
transitivePeerDependencies:
- debug
- supports-color
@@ -13574,6 +13590,8 @@ snapshots:
cookie@1.1.1: {}
cookie@2.0.1: {}
copy-anything@2.0.6:
dependencies:
is-what: 3.14.1