Your Name 3 年之前
父節點
當前提交
f90517e73a
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      choozmo/urlshorten/main.py

+ 3 - 3
choozmo/urlshorten/main.py

@@ -39,9 +39,9 @@ class kw_req(BaseModel):
 
 @app.post("/urldata")
 async def get_domain_by_keyword(req:kw_req):
-    print(kw_req)
-    print(kw_req.fullurl)
-    print(kw_req.shorturl)
+    print(req)
+    print(req.fullurl)
+    print(req.shorturl)
 
     return "OK"