ck 4 年之前
父節點
當前提交
45a9ef7ea0
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      handlers/ApiHandler.py

+ 3 - 2
handlers/ApiHandler.py

@@ -7,5 +7,6 @@ class ApiHandler(BaseHandler,MysqlUtils):
     def post(self):
         print(self.get_args())
         path=self.get_args()["path"]
-        self.quchen_text.execute(f"replace into yangguang_path values ({path})")
-        
+        print(path)
+        self.quchen_text.execute(f"replace into yangguang_path (path) values ('{path}')")
+