2022-09-15 21:15:39 +08:00
|
|
|
|
# 🧸叮咚买菜
|
2021-04-09 19:34:05 +08:00
|
|
|
|
|
|
|
|
|
叮咚买菜每日自动签到
|
|
|
|
|
|
|
|
|
|
## 配置说明
|
|
|
|
|
|
|
|
|
|
### Surge
|
|
|
|
|
|
2022-09-15 21:15:39 +08:00
|
|
|
|
安装模块
|
2021-04-09 19:34:05 +08:00
|
|
|
|
|
2022-09-15 21:15:39 +08:00
|
|
|
|
```ini
|
2021-04-09 19:34:05 +08:00
|
|
|
|
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong_checkin.sgmodule
|
2022-09-15 21:15:39 +08:00
|
|
|
|
```
|
2021-04-09 19:34:05 +08:00
|
|
|
|
|
|
|
|
|
### Loon
|
|
|
|
|
|
2022-09-15 21:15:39 +08:00
|
|
|
|
安装插件
|
2021-04-09 19:34:05 +08:00
|
|
|
|
|
|
|
|
|
```ini
|
|
|
|
|
[Remote Script]
|
2022-09-15 21:15:39 +08:00
|
|
|
|
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong_checkin.lnplugin
|
2021-04-09 19:34:05 +08:00
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### Quantumult X
|
|
|
|
|
|
|
|
|
|
配置文件
|
|
|
|
|
|
|
|
|
|
```ini
|
|
|
|
|
[rewrite_remote]
|
|
|
|
|
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong_checkin.qxrewrite, tag=叮咚买菜_获取Cookie, enabled=true
|
|
|
|
|
|
|
|
|
|
[task_local]
|
2022-09-15 21:15:39 +08:00
|
|
|
|
20 10 * * * https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong_checkin.js, tag=叮咚买菜_每日签到, enabled=true
|
2021-04-09 19:34:05 +08:00
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## 获取Cookie
|
|
|
|
|
|
|
|
|
|
叮咚买菜APP - 我的 - 右上角签到
|
|
|
|
|
|
2022-09-15 21:15:39 +08:00
|
|
|
|
## 多账户
|
2021-04-09 19:34:05 +08:00
|
|
|
|
|
2022-09-15 21:15:39 +08:00
|
|
|
|
目前无法在单台iPhone/iPad设备上实现多账户执行每日签到。
|
2021-04-09 19:34:05 +08:00
|
|
|
|
|
2022-09-15 21:15:39 +08:00
|
|
|
|
多账户更多的作用是在多设备的情况下,将Cookies和坐标同步至青龙面板,由青龙面板执行多账户作业。
|
2021-04-09 19:34:05 +08:00
|
|
|
|
|
2022-09-15 21:15:39 +08:00
|
|
|
|
## 脚本变量
|
2021-04-09 19:34:05 +08:00
|
|
|
|
|
2022-09-15 21:15:39 +08:00
|
|
|
|
根据下表配置magic.json文件的内容
|
2021-04-09 19:34:05 +08:00
|
|
|
|
|
2022-09-15 21:15:39 +08:00
|
|
|
|
| 名称 | 类型 | 说明 |
|
|
|
|
|
| ----------------------------- | ---- | -------------------------------------- |
|
|
|
|
|
| dingdongmaicai_checkin_cookie | Json | 多账户叮咚买菜Cookies |
|
2022-09-15 21:32:08 +08:00
|
|
|
|
| dingdongmaicai_checkin_body | Json | 多账户叮咚买菜Body |
|
2022-09-15 21:15:39 +08:00
|
|
|
|
| dingdongmaicai_sync_qinglong | Bool | 是否将获取的Cookie和Body同步至青龙面板 |
|
2021-04-09 19:34:05 +08:00
|
|
|
|
|
2022-09-15 21:15:39 +08:00
|
|
|
|
部分属性示例
|
2021-04-09 19:34:05 +08:00
|
|
|
|
|
2022-09-15 21:15:39 +08:00
|
|
|
|
```json
|
|
|
|
|
{
|
|
|
|
|
"dingdongmaicai_checkin_cookie": {
|
|
|
|
|
"magic_session": true,
|
|
|
|
|
"user_id1": "cookie_1",
|
|
|
|
|
"user_id2": "cookie_2"
|
|
|
|
|
},
|
|
|
|
|
"dingdongmaicai_checkin_body":{
|
|
|
|
|
"magic_session": true,
|
|
|
|
|
"user_id1": "body_1",
|
|
|
|
|
"user_id2": "body_2"
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-04-09 19:34:05 +08:00
|
|
|
|
```
|
|
|
|
|
|