mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2025-12-13 02:02:48 +00:00
升级核心依赖
This commit is contained in:
parent
ce398e040e
commit
64c00cbf16
@ -4,7 +4,7 @@
|
|||||||
"description": "一个项目用COOL就够了",
|
"description": "一个项目用COOL就够了",
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@cool-midway/core": "^7.1.13",
|
"@cool-midway/core": "^7.1.14",
|
||||||
"@cool-midway/rpc": "^7.0.0",
|
"@cool-midway/rpc": "^7.0.0",
|
||||||
"@cool-midway/task": "^7.0.0",
|
"@cool-midway/task": "^7.0.0",
|
||||||
"@midwayjs/bootstrap": "^3.15.0",
|
"@midwayjs/bootstrap": "^3.15.0",
|
||||||
|
|||||||
@ -17,13 +17,12 @@ export class DemoGoodsService extends BaseService {
|
|||||||
*/
|
*/
|
||||||
async sqlPage(query) {
|
async sqlPage(query) {
|
||||||
await this.demoGoodsEntity.save({
|
await this.demoGoodsEntity.save({
|
||||||
id: 11,
|
id: 1,
|
||||||
title: '标题',
|
title: '标题',
|
||||||
price: 99.0,
|
price: 99.0,
|
||||||
description: '商品描述',
|
description: '商品描述',
|
||||||
mainImage: 'https://cool-js.com/logo.png',
|
mainImage: 'https://cool-js.com/logo.png',
|
||||||
});
|
});
|
||||||
await this.demoGoodsEntity.delete({ id: 11 });
|
|
||||||
return this.sqlRenderPage(
|
return this.sqlRenderPage(
|
||||||
'select * from demo_goods ORDER BY id ASC',
|
'select * from demo_goods ORDER BY id ASC',
|
||||||
query,
|
query,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user