1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2025-07-25 01:59:47 +02:00

use quicktalk as comment API

This commit is contained in:
lxsang
2020-09-22 16:18:12 +02:00
parent e955d8a244
commit 5dd6da0b29
13 changed files with 747 additions and 176 deletions

View File

@ -0,0 +1,12 @@
BaseModel:subclass("CommentModel", {
registry = {},
name = "comments",
fields = {
pid = "INTEGER",
name = "TEXT",
email = "TEXT",
content = "TEXT",
time = "NUMERIC",
rid = "INTEGER DEFAULT 0"
}
})

View File

@ -0,0 +1,2 @@
BaseModel:subclass("PagesModel",
{registry = {}, name = "pages", fields = {uri = "TEXT"}})