This commit is contained in:
xiaopeng 2025-02-27 21:27:19 +08:00
parent 3a31939f80
commit 68b9d86500
8 changed files with 18 additions and 18 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@cool-midway/core", "name": "@cool-midway/core",
"version": "8.0.0", "version": "8.0.1",
"description": "cool-admin midway core", "description": "cool-admin midway core",
"main": "dist/index.js", "main": "dist/index.js",
"typings": "index.d.ts", "typings": "index.d.ts",

View File

@ -162,7 +162,7 @@ export abstract class BaseMysqlService {
find.addOrderBy(order, sort.toUpperCase()); find.addOrderBy(order, sort.toUpperCase());
} }
return { return {
list: await dataFind.getRawMany(), list: await dataFind.getMany(),
pagination: { pagination: {
page: parseInt(page), page: parseInt(page),
size: parseInt(size), size: parseInt(size),

View File

@ -191,7 +191,7 @@ export abstract class BasePgService {
find.addOrderBy(order, sort.toUpperCase()); find.addOrderBy(order, sort.toUpperCase());
} }
return { return {
list: await dataFind.getRawMany(), list: await dataFind.getMany(),
pagination: { pagination: {
page: parseInt(page), page: parseInt(page),
size: parseInt(size), size: parseInt(size),

View File

@ -193,7 +193,7 @@ export abstract class BaseSqliteService {
find.addOrderBy(order, sort.toUpperCase()); find.addOrderBy(order, sort.toUpperCase());
} }
return { return {
list: await dataFind.getRawMany(), list: await dataFind.getMany(),
pagination: { pagination: {
page: parseInt(page), page: parseInt(page),
size: parseInt(size), size: parseInt(size),

View File

@ -1,6 +1,6 @@
{ {
"name": "@cool-midway/rpc", "name": "@cool-midway/rpc",
"version": "8.0.0", "version": "8.0.1",
"description": "cool-admin midway rpc", "description": "cool-admin midway rpc",
"main": "dist/index.js", "main": "dist/index.js",
"typings": "index.d.ts", "typings": "index.d.ts",
@ -29,7 +29,7 @@
"url": "https://cool-js.com" "url": "https://cool-js.com"
}, },
"devDependencies": { "devDependencies": {
"@cool-midway/core": "8.0.0-beta.1", "@cool-midway/core": "8.0.1",
"@midwayjs/core": "^3.20.0", "@midwayjs/core": "^3.20.0",
"@midwayjs/koa": "^3.20.0", "@midwayjs/koa": "^3.20.0",
"@midwayjs/logger": "^3.4.2", "@midwayjs/logger": "^3.4.2",

10
rpc/pnpm-lock.yaml generated
View File

@ -16,8 +16,8 @@ importers:
version: 0.14.35(debug@4.4.0)(ioredis@5.4.2) version: 0.14.35(debug@4.4.0)(ioredis@5.4.2)
devDependencies: devDependencies:
'@cool-midway/core': '@cool-midway/core':
specifier: 8.0.0-beta.1 specifier: 8.0.1
version: 8.0.0-beta.1(debug@4.4.0) version: 8.0.1(debug@4.4.0)
'@midwayjs/core': '@midwayjs/core':
specifier: ^3.20.0 specifier: ^3.20.0
version: 3.20.0 version: 3.20.0
@ -258,8 +258,8 @@ packages:
resolution: {integrity: sha512-Bl43bVCUm0V+w1wkfOicRfiHHZtaH1mQCp06baNapG86uC7OiXwMrml5+cvZD+mYSHdP07qUxtqkL8oUhrgAfg==} resolution: {integrity: sha512-Bl43bVCUm0V+w1wkfOicRfiHHZtaH1mQCp06baNapG86uC7OiXwMrml5+cvZD+mYSHdP07qUxtqkL8oUhrgAfg==}
engines: {node: '>=8.0.0'} engines: {node: '>=8.0.0'}
'@cool-midway/core@8.0.0-beta.1': '@cool-midway/core@8.0.1':
resolution: {integrity: sha512-3pNmtB2f3MrkBPCJlFiizWui1FqGxti8VBaBtOWJhg66tZeNdsSQsnG4/o1R2WfLHjlMkSMsCL0Jrl7HC7/Aig==} resolution: {integrity: sha512-iRC1bU2h3udsXAEnnNmY1TjY7lvEuPYLXILOLBk33in0MYgIxQfaMTNAJqGSKMaOJMiWEk83pt/1jLyzHNVABg==}
hasBin: true hasBin: true
'@cspotcode/source-map-support@0.8.1': '@cspotcode/source-map-support@0.8.1':
@ -4192,7 +4192,7 @@ snapshots:
dependencies: dependencies:
lockfile: 1.0.4 lockfile: 1.0.4
'@cool-midway/core@8.0.0-beta.1(debug@4.4.0)': '@cool-midway/core@8.0.1(debug@4.4.0)':
dependencies: dependencies:
'@cool-midway/cache-manager-fs-hash': 7.0.0 '@cool-midway/cache-manager-fs-hash': 7.0.0
'@midwayjs/cache-manager': 3.20.0 '@midwayjs/cache-manager': 3.20.0

View File

@ -1,6 +1,6 @@
{ {
"name": "@cool-midway/task", "name": "@cool-midway/task",
"version": "8.0.0", "version": "8.0.1",
"description": "cool-admin midway task", "description": "cool-admin midway task",
"main": "dist/index.js", "main": "dist/index.js",
"typings": "index.d.ts", "typings": "index.d.ts",
@ -29,7 +29,7 @@
"url": "https://cool-js.com" "url": "https://cool-js.com"
}, },
"devDependencies": { "devDependencies": {
"@cool-midway/core": "8.0.0-beta.1", "@cool-midway/core": "8.0.1",
"@midwayjs/core": "^3.20.0", "@midwayjs/core": "^3.20.0",
"@midwayjs/mock": "^3.20.0", "@midwayjs/mock": "^3.20.0",
"@midwayjs/redis": "^3.20.0", "@midwayjs/redis": "^3.20.0",

10
task/pnpm-lock.yaml generated
View File

@ -16,8 +16,8 @@ importers:
version: 5.4.2 version: 5.4.2
devDependencies: devDependencies:
'@cool-midway/core': '@cool-midway/core':
specifier: 8.0.0-beta.1 specifier: 8.0.1
version: 8.0.0-beta.1 version: 8.0.1
'@midwayjs/core': '@midwayjs/core':
specifier: ^3.20.0 specifier: ^3.20.0
version: 3.20.0 version: 3.20.0
@ -237,8 +237,8 @@ packages:
resolution: {integrity: sha512-Bl43bVCUm0V+w1wkfOicRfiHHZtaH1mQCp06baNapG86uC7OiXwMrml5+cvZD+mYSHdP07qUxtqkL8oUhrgAfg==} resolution: {integrity: sha512-Bl43bVCUm0V+w1wkfOicRfiHHZtaH1mQCp06baNapG86uC7OiXwMrml5+cvZD+mYSHdP07qUxtqkL8oUhrgAfg==}
engines: {node: '>=8.0.0'} engines: {node: '>=8.0.0'}
'@cool-midway/core@8.0.0-beta.1': '@cool-midway/core@8.0.1':
resolution: {integrity: sha512-3pNmtB2f3MrkBPCJlFiizWui1FqGxti8VBaBtOWJhg66tZeNdsSQsnG4/o1R2WfLHjlMkSMsCL0Jrl7HC7/Aig==} resolution: {integrity: sha512-iRC1bU2h3udsXAEnnNmY1TjY7lvEuPYLXILOLBk33in0MYgIxQfaMTNAJqGSKMaOJMiWEk83pt/1jLyzHNVABg==}
hasBin: true hasBin: true
'@cspotcode/source-map-support@0.8.1': '@cspotcode/source-map-support@0.8.1':
@ -3775,7 +3775,7 @@ snapshots:
dependencies: dependencies:
lockfile: 1.0.4 lockfile: 1.0.4
'@cool-midway/core@8.0.0-beta.1': '@cool-midway/core@8.0.1':
dependencies: dependencies:
'@cool-midway/cache-manager-fs-hash': 7.0.0 '@cool-midway/cache-manager-fs-hash': 7.0.0
'@midwayjs/cache-manager': 3.20.0 '@midwayjs/cache-manager': 3.20.0