# appmt **Repository Path**: adminteng/appmt ## Basic Information - **Project Name**: appmt - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2022-04-08 - **Last Updated**: 2022-04-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # appmt 每日自动预约 抢茅台 使用方法 ### 1. 拉取镜像 docker pull insoxin/imaotai:latest ### 2. 创建容器 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://gitee.com/adminteng/appmt/tree/master/config/config.json](http://) 至本地 /root/imaotai/config/config.json 修改本地/root/imaotai/config/config.json参数 **User-Agent,Client_Secret,Cookie.必填** 还有经纬度不要默认 程序会就近预约最近距离店铺 若不想预约太远店铺,可设置GeoKM参数 默认0无限制 其他配置不懂的默认即可 默认每天九点执行(淘宝时间库),预约抢购页面获取到的前四个商品. 配置sendNotify.js 通知 下载[https://gitee.com/adminteng/appmt/tree/master/config/sendNotify.js](http://) 至本地/root/imaotai/config/sendNotify.js sendNotify.js是通知文件按需修改 1. { 1. "Main": { 1. "Title": "insoxin/imaotai", 1. "Open": "1,2,3,4", 1. "cron": "0 0 9 * * *", 1. "Tzone": "http://api.m.taobao.com/rest/api3.do?api=mtop.common.getTimestamp", 1. "MT-APP-Version": "1.0.0", 1. "GeoN": "26.598194", 1. "GeoE": "106.707410", 1. "GeoKM":"0", 1. "sendNotify": "/config/sendNotify.js", 1. "oksendNotify": "true" 1. }, 1. "user": { 1. "Cookie": "", 1. "Origin": "https://h5.moutai519.com.cn", 1. "Client_Secret": "aaa", 1. "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" 1. }, 1. "Notice": "通知中的标题" 1. } 1. ### 4. 重启