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