姬長信(Redy)

四万人民币帮人订做的 i茅台app 每日自动预约 抢茅台 被放鸽子了 免费放出来吧

# imaotai
i茅台app 每日自动预约 抢茅台
https://github.com/insoxin/imaotai/

# 使用方法
## 1.拉取镜像
```docker
docker pull insoxin/imaotai:latest
```
## 2.创建容器

```docker
docker run -dit --name imaotai -p 1499:1499 -v $PWD/imaotai/config:/go/src/imaotai/config --restart unless-stopped insoxin/imaotai:latest
```

## 3.配置参数

### 配置config.json
下载下载https://github.com/insoxin/imaotai/blob/main/config/config.json 至本地 /root/imaotai/config/config.json

修改本地/root/imaotai/config/config.json参数

User-Agent,Client_Secret,Cookie.必填

还有经纬度不要默认 程序会就近预约最近距离店铺

其他配置不懂的默认即可

默认每天九点执行(淘宝时间库),预约抢购页面获取到的前四个商品.

### 配置sendNotify.js 通知

下载https://github.com/insoxin/imaotai/blob/main/config/sendNotify.js 至本地/root/imaotai/config/sendNotify.js

sendNotify.js是通知文件按需修改

```json
{
"Main": {
"Title": "insoxin/imaotai",
"Open": "1,2,3,4",
"cron": "0 0 9 * * *",
"Tzone": "http://api.m.taobao.com/rest/api3.do?api=mtop.common.getTimestamp",
"MT-APP-Version": "1.0.0",
"GeoN": "26.598194",
"GeoE": "106.707410",
"sendNotify": "/config/sendNotify.js",
"oksendNotify": "true"
},
"user": {
"Cookie": "",
"Origin": "https://h5.moutai519.com.cn",
"Client_Secret": "aaa",
"User-Agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 15_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 moutaiapp/1.0.6 device-id/insoxin/imaotai"
},
"Notice": "通知中的标题"
}

```
## 4.重启 imaotai

退出移动版