This commit is contained in:
root
2025-07-12 17:21:49 +08:00
parent 330d3a261e
commit 1afe9026d6
3 changed files with 36 additions and 117 deletions

View File

@@ -1,9 +1,22 @@
# 模板表
from python_core.kv import kv
from .db import Db
from .types import TemplateInfo
class TemplateDb(Db):
def __init__(self):
self.key = "template"
pass
pass
def list(self)->list[TemplateInfo]:
...
def get(self, id: str)->TemplateInfo:
...
def create(self, info: TemplateInfo):
...
def remove(self, id: str):
...