From b827132931b9db8bac58824564ff3a750ac93a2d Mon Sep 17 00:00:00 2001
From: Lkeme <19500576+lkeme@users.noreply.github.com>
Date: Sun, 6 Aug 2023 16:21:56 +0800
Subject: [PATCH] [update] VipPoint
---
README.md | 19 +++---
captcha/index.php | 7 +-
captcha/static/css/style.css | 4 +-
captcha/static/index.html | 76 +++++++++++-----------
captcha/static/js/gt.js | 9 +--
captcha/static/js/index.js | 2 +-
docs/CAPTCHA.md | 6 +-
docs/DOC.md | 45 +++++++------
plugin/DailyGold/DailyGold.php | 2 +-
plugin/MainSite/MainSite.php | 2 +-
plugin/VipPoint/Traits/Bonus.php | 3 +-
plugin/VipPoint/Traits/DressBuyAmount.php | 39 +++++++++++
plugin/VipPoint/Traits/DressView.php | 40 ++++++++++++
plugin/VipPoint/Traits/PointInfo.php | 13 +++-
plugin/VipPoint/Traits/Privilege.php | 5 +-
plugin/VipPoint/Traits/ViewAnimate.php | 1 -
plugin/VipPoint/Traits/ViewFilmChannel.php | 3 +-
plugin/VipPoint/Traits/ViewVipMall.php | 3 +-
plugin/VipPoint/VipPoint.php | 27 ++++++--
src/Api/Api/Pgc/Activity/Score/ApiTask.php | 2 +
src/Api/Passport/ApiCaptcha.php | 5 +-
src/Api/PassportTv/ApiQrcode.php | 2 +-
src/Request/MultiRequest.php | 4 +-
src/Task/Task.php | 2 +-
src/TimeLock/TimeLock.php | 2 +-
src/Util/Qrcode/Lib/QrSpec.php | 2 +-
26 files changed, 216 insertions(+), 109 deletions(-)
create mode 100644 plugin/VipPoint/Traits/DressBuyAmount.php
create mode 100644 plugin/VipPoint/Traits/DressView.php
diff --git a/README.md b/README.md
index c90b665..1c24342 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,8 @@
-
+
[](https://github.com/lkeme/ )

@@ -27,7 +27,7 @@
[//]: # (
)
-
+
@@ -53,8 +53,8 @@
## 👤 游客访问
-
-
+
+
[//]: # (
)
@@ -77,7 +77,7 @@
如果觉得本项目好用,对你有所帮助,欢迎打赏支持本项目,请作者喝杯奶茶可乐哦。
-

+

[comment]: <> ()
@@ -92,7 +92,7 @@ Group: [602815575](https://jq.qq.com/?_wv=1027&k=UaalVexM) | **请不要来问
以下任务都是按设定周期自动执行,`true`为正常使用,`false`为暂停使用或抛弃。
[//]: # (
点击展开
)
-已经藏起来啦~~ 点击展开 嘻嘻~
+已经藏起来啦~~ 点击展开 嘻嘻~
@@ -117,7 +117,6 @@ Group: [602815575](https://jq.qq.com/?_wv=1027&k=UaalVexM) | **请不要来问
| DailyGold | 0.0.1 | 每日电池(APP) | Lkeme | 1114 | 24(小时) | √ |
| PolishMedal | 0.0.1 | 点亮灰色勋章 | possible318/Lkeme | 1115 | 1(小时) | √ |
-
## 🖥️星图
@@ -130,7 +129,7 @@ Group: [602815575](https://jq.qq.com/?_wv=1027&k=UaalVexM) | **请不要来问
效果图不代表当前版本,请以当前最新版本运行结果为准。
-
+
[comment]: <> ()
diff --git a/captcha/index.php b/captcha/index.php
index f5a5770..62ee484 100644
--- a/captcha/index.php
+++ b/captcha/index.php
@@ -15,7 +15,6 @@
* | |_| | | | | |___ | | | | | | | |___ | |___ | | | |___ | | \ \ じしf_, )ノ
* |_____/ |_| |_____| |_| |_| |_| |_____| |_____| |_| |_____| |_| \_\
*/
-
class JsonFileManager
{
private string $filename;
@@ -109,7 +108,7 @@ class HttpServer
'seccode' => $seccode,
];
$this->json->write($data);
- $this->toResponse(10003);
+ $this->toResponse(10003);
return;
}
if ($path === '/fetch' && $method === 'GET') {
@@ -117,9 +116,9 @@ class HttpServer
$challenge = $_GET['challenge'];
$data = $this->json->read();
if (empty($data[$challenge])) {
- $this->toResponse(10001, '暂未获取到验证结果');
+ $this->toResponse(10001, '暂未获取到验证结果');
} else {
- $this->toResponse(10000, '成功获取到验证结果', $data[$challenge]);
+ $this->toResponse(10000, '成功获取到验证结果', $data[$challenge]);
}
return;
}
diff --git a/captcha/static/css/style.css b/captcha/static/css/style.css
index 4701602..b121e53 100644
--- a/captcha/static/css/style.css
+++ b/captcha/static/css/style.css
@@ -90,6 +90,7 @@ a {
outline: 0;
box-shadow: 0 0 0 4px rgb(32 107 196 / 25%);
}
+
.form-control:disabled {
background-color: #f1f5f9;
opacity: 1;
@@ -123,6 +124,7 @@ a {
background-color: #437cff;
border-color: transparent;
}
+
#success {
background-color: #2fb344;
cursor: default;
@@ -188,4 +190,4 @@ a {
.geetest_radar_btn {
border-radius: 4px !important;
-}
\ No newline at end of file
+}
diff --git a/captcha/static/index.html b/captcha/static/index.html
index cf848cb..a75249a 100644
--- a/captcha/static/index.html
+++ b/captcha/static/index.html
@@ -14,49 +14,49 @@
-
-
极验手动验证
-
-
-
-
-
-
-
-
+
+
极验手动验证
+
+
+
+
+
+
+
+
-
-
生成验证码
-
验证成功
-
-
+
+
生成验证码
+
验证成功
+
-
-
-
验证结果
-
-
-
-
-
-
-
-
-
-
-
-
-
提交反馈结果
-
-
消息
+
+
验证结果
+
+
+
+
+
+
+
+
+
+
+
+
+
提交反馈结果
+
+
+
+
消息