# mgd **Repository Path**: yunyingup/mgd ## Basic Information - **Project Name**: mgd - **Description**: 基于nodejs v12的蘑菇丁自动签到 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 5 - **Forks**: 0 - **Created**: 2021-03-10 - **Last Updated**: 2021-12-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 蘑菇丁自动签到脚本 ### ___基于node.js v12 的蘑菇丁自动签到项目___
## 使用说明 ## 首先登录[腾讯云](https://cloud.tencent.com/) ## 一、 右上角点击控制台 进入控制台 ![1](https://gitee.com/yunyingup/mgd/raw/master/img/1.png) ## 二、 搜索框搜索云函数 ![2](https://gitee.com/yunyingup/mgd/raw/master/img/2.png) ## 三、 函数服务 -> 点击新建 ![3](https://gitee.com/yunyingup/mgd/raw/master/img/3.png) ## 四、 按图顺序配置 ->完成 ![4](https://gitee.com/yunyingup/mgd/raw/master/img/4.png) **重要:上图第四步 不要漏** 上图中**index.js**文件创建完毕后,创建**package.json**文件 **__package.json__** 文件内容: ``` { "dependencies": { "axios": "^0.21.1" } } ``` ![5](https://gitee.com/yunyingup/mgd/raw/master/img/5.png) ![6](https://gitee.com/yunyingup/mgd/raw/master/img/6.png) ## 五、 关闭自动签到 ![7](https://gitee.com/yunyingup/mgd/raw/master/img/7.png) ## 关于腾讯云函数费用 温馨提示!!! 腾讯云函数,外网出流量需要一定费用(是腾讯收的流量钱) 每签到一次消耗1-2kb流量 腾讯云函数的收费标准是0.8元/1GB 众所周知:1kb*1024*1024 = 1GB 也就是说8毛钱大约可以签到1048576次 其他收费项目都有充足的免费额度,无需付费 ## 最后: 强烈建议开启'告警策略' 可以在腾讯控制台搜索'告警策略' 自定义设置阈值,防止意外故障导致多用流量