1 Star 0 Fork 0

STENLIN/pojie

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Noto_biji.js 945 Bytes
一键复制 编辑 原始数据 按行查看 历史
LTribeSkyx 提交于 2020-09-25 01:01 . Create
/*
Quantumult X 脚本:
[rewrite_local]
# Fantastical Unlock Pro (by LTribe)
^https?:\/\/api\.revenuecat\.com\/v1\/(subscribers*|receipts) url script-response-body Noto_biji.js
[mitm]
hostname = api.revenuecat.com,
*/
let obj = JSON.parse($response.body);
obj.subscriber.entitlements = {
"pro": {
"expires_date": "2100-01-01T01:01:01Z",
"product_identifier": "com.lkzhao.editor.pro.ios.yearly",
"purchase_date": "2020-01-01T01:01:01Z"
}
};
obj.subscriber.subscriptions = {
"com.lkzhao.editor.pro.ios.yearly": {
"billing_issues_detected_at": null,
"expires_date": "2100-01-01T01:01:01Z",
"is_sandbox": false,
"original_purchase_date": "2020-01-01T01:01:01Z",
"period_type": "trial",
"purchase_date": "2020-01-01T01:01:01Z",
"store": "app_store",
"unsubscribe_detected_at": null
}
};
$done({body: JSON.stringify(obj)});
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/stenlin/pojie.git
git@gitee.com:stenlin/pojie.git
stenlin
pojie
pojie
master

搜索帮助