# lotteryTicket_winningAlgorithm **Repository Path**: changcheng-web/lottery-ticket_winning-algorithm ## Basic Information - **Project Name**: lotteryTicket_winningAlgorithm - **Description**: 彩票中奖算法服务 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-08-17 - **Last Updated**: 2024-10-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 创建 虚拟环境 ``` python3 -m env ./env ``` # 激活 虚拟环境 ``` source ./env/bin/activate ``` # 安装依赖 ``` pip install -r requirements.txt ``` # 运行 ``` python app.py ``` # 测试 ``` curl -X POST -H "Content-Type: application/json" -d '{"name":"John", "age":30, "city":"New York"}' http://localhost:5000/users ``` # 查询 ```