rm console.log
This commit is contained in:
父節點
8fc2880a41
當前提交
660dfb10fd
@ -27,7 +27,7 @@ export class PostModel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async setStatusByPostId(id: number, status: TPostStatus) {
|
async setStatusByPostId(id: number, status: TPostStatus) {
|
||||||
console.log(await db.query('update posts set status=? where id=?', [status, id]))
|
await db.query('update posts set status=? where id=?', [status, id])
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
載入中…
x
新增問題並參考
Block a user