Your Name 3 年之前
父节点
当前提交
9afdb13a35
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      step_question/apis/main.py

+ 1 - 1
step_question/apis/main.py

@@ -166,7 +166,7 @@ app.mount("/a1", StaticFiles(directory="static"), name="static")
 
 @app.get("/coffee")
 async def coffee():
-    val=random.randint()
+    val=random.randint(5,100)
     coffee='0'
     if val%2==0:
         coffee='1'