运行环境:Java8,maven
- ChatGPT接入企业微信成为聊天机器人
- 羊了个羊无限通关,通关教程在公众号卷福同学 最新文章里,所用工具包在公众号里发送
羊了个羊
获取 - 有脚本运行问题可公众号内询问
- 修改application.properties文件的chatgpt开头 和wechat开头的配置
- 使用方法:ChatGPT接入企业微信成为聊天机器人教程
-
羊了个羊:代码在YangService下,启动程序后,浏览器访问
http://localhost:8080/doc.html#/default/yang-service/getYangUsingGET
, 在参数cookie里写入t=【替换为抓包工具抓到的t值】,直接请求即可,抓包教程见公众号最新文章 -
京东脚本:多个账号使用时,修改resources目录下的jd_cookie.txt文件,每行为pt_key,pt_pin的格式
-
掘金脚本:修改application.properties文件的juejin.Cookie为你的掘金cookie
-
运行MultiFunctionApplication类下的main函数启动项目
-
项目启动后,浏览器打开http://localhost:8080/doc.html#/default/jd-service/getJDUsingGET 可调试签到任务,入参和任务关系为:
- 1 : 京东每日签到任务
- 2 : 摇京豆签到
- 3 : 抽京豆
- 4 : plus会员签到
- 5 : 掘金每日签到
- 6 : 掘金每日抽奖
- 在自己电脑或者服务器上建个jd_cookie.txt文件,里面放多个账号的cookie值,格式为pt_key,pt_pin
- 修改docker-compose.yml文件下的volumes变量值,替换为上一步txt文件的绝对路径,Mac电脑示例:/home/admin/opt:/opt
- 运行
maven package
将代码构建为jar文件 - 运行
docker build -t jdou:v1.1 ./
将jar包构建为docker镜像,名称为jdou:v1.1,放在当前路径下 - 运行
docker-compose up
运行上一步构建的镜像即可
- 2023.02.22 修复ChatGPT接入企业微信agentId的bug
- 2023.02.18 增加ChatGPT接入企业微信,成为聊天机器人代码
- 2022.10.15 增加短信轰炸示例代码
- 2022.09.18 增加
羊了个羊
微信小程序通关调用 - 2022.09.10 修改任务脚本,支持多个账号的签到
- 2022.09.04 增加掘金自动签到任务和抽奖任务
- 2022.05.15 增加Dockerfile、docker-compose文件,用于docker构建镜像和运行镜像
- 2022.05.01 新增自动签到定时任务:摇京豆签到、抽京豆任务、plus会员签到。接口文档可视化界面
- 2022.04.27 新增服务探活接口和部署脚本deploy.sh,可用于阿里云云效自动化部署 具体部署步骤见博客:2分钟教你部署2048小游戏到云服务器