移除部分过时的代码

This commit is contained in:
blackmatrix7
2025-07-10 14:48:47 +08:00
parent f26b88d5cf
commit 593a8466ae
124 changed files with 0 additions and 0 deletions

View File

@ -0,0 +1,72 @@
# 🧸叮咚买菜
叮咚买菜每日自动签到
## 配置说明
### Surge
安装模块
```ini
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong_checkin.sgmodule
```
### Loon
安装插件
```ini
[Remote Script]
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong_checkin.lnplugin
```
### 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]
20 10 * * * https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong_checkin.js, tag=叮咚买菜_每日签到, enabled=true
```
## 获取Cookie
叮咚买菜APP - 我的 - 右上角签到
## 多账户
目前无法在单台iPhone/iPad设备上实现多账户执行每日签到。
多账户更多的作用是在多设备的情况下将Cookies和坐标同步至青龙面板由青龙面板执行多账户作业。
## 脚本变量
根据下表配置magic.json文件的内容
| 名称 | 类型 | 说明 |
| ----------------------------- | ---- | -------------------------------------- |
| dingdongmaicai_checkin_cookie | Json | 多账户叮咚买菜Cookies |
| dingdongmaicai_checkin_body | Json | 多账户叮咚买菜Body |
| dingdongmaicai_sync_qinglong | Bool | 是否将获取的Cookie和Body同步至青龙面板 |
部分属性示例
```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"
}
}
```

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,13 @@
#!name= 叮咚买菜
#!desc= 叮咚买菜每日自动签到
#!openUrl=https://github.com/blackmatrix7/ios_rule_script/tree/master/script/dingdong
#!author= blackmatrix7
#!homepage= https://github.com/blackmatrix7/ios_rule_script
#!icon= https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong.png
[Script]
http-request ^https?:\/\/maicai\.api\.ddxq\.mobi\/point\/home\?api_version requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong_checkin.js,tag=叮咚买菜_获取cookie
cron "20 9 * * *" script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong_checkin.js,timeout=30,tag=叮咚买菜_每日签到
[MITM]
hostname = maicai.api.ddxq.mobi

View File

@ -0,0 +1,5 @@
# 叮咚买菜每日自动签到
^https?:\/\/maicai\.api\.ddxq\.mobi\/point\/home\?api_version url script-request-header https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong_checkin.js
hostname = maicai.api.ddxq.mobi

View File

@ -0,0 +1,10 @@
#!name=叮咚买菜
#!desc=叮咚买菜每日自动签到
#!system=ios
[Script]
叮咚买菜_每日签到 = type=cron,cronexp=20 0 * * *,timeout=30,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong_checkin.js
叮咚买菜_获取cookie = type=http-request,pattern=^https?:\/\/maicai\.api\.ddxq\.mobi\/point\/home\?api_version,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong_checkin.js
[MITM]
hostname = %APPEND% maicai.api.ddxq.mobi