From 339fccf6d285211bd8db07e14312610d147f71e5 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 25 Jun 2026 15:35:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BA=A7=E5=93=81=E7=B1=BB=E5=88=AB?= =?UTF-8?q?=E5=88=9B=E5=BB=BA=E4=BD=BF=E7=94=A8fields=E8=BF=87=E6=BB=A4?= =?UTF-8?q?=E7=A1=AE=E4=BF=9D=E5=88=97=E6=95=B0=E5=8C=B9=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wwwroot/api/product_category_create.dspy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wwwroot/api/product_category_create.dspy b/wwwroot/api/product_category_create.dspy index 283f7c7..b7806d3 100644 --- a/wwwroot/api/product_category_create.dspy +++ b/wwwroot/api/product_category_create.dspy @@ -44,7 +44,7 @@ try: fields[k] = '' async with DBPools().sqlorContext(dbname) as sor: - await sor.C('product_category', data) + await sor.C('product_category', fields) _new_rows = await sor.sqlExe("SELECT * FROM product_category WHERE id = ${id}$", {'id': data['id']}) _user_data = _new_rows[0] if _new_rows else data