From ded6a26774a9df287f341dba52ae531ca2858054 Mon Sep 17 00:00:00 2001 From: Lkeme <19500576+lkeme@users.noreply.github.com> Date: Sat, 11 Mar 2023 21:48:44 +0800 Subject: [PATCH] [fix] coin fixed #206 --- README.md | 2 +- composer.json | 12 ------------ docs/CHANGELOG.md | 19 +++++++++++++++++++ plugin/MainSite/MainSite.php | 3 +++ profile/example/device/device.yaml | 6 +++--- resources/version.json | 6 +++--- 6 files changed, 29 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 5ffa1b0..c618bdd 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@

- + diff --git a/composer.json b/composer.json index 37fe30a..a46348e 100644 --- a/composer.json +++ b/composer.json @@ -22,18 +22,6 @@ "source": "https://github.com/lkeme/BiliHelper-personal" }, "repositories": [ - { - "description": "阿里云(全量)/1Min", - "type": "composer", - "url": "https://mirrors.aliyun.com/composer/", - "canonical": false - }, - { - "description": "华为云(全量)", - "type": "composer", - "url": "https://mirrors.huaweicloud.com/repository/php/", - "canonical": false - }, { "description": "PhpComposer(全量)", "type": "composer", diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 60f6d62..33db57c 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -8,6 +8,25 @@ [comment]: <> () +## v2.0.7.230311 alpha (2023-03-11) + +### Added + +- + +### Changed + +- 更新设备信息 + +### Fixed + +- 修复主站任务(投币) +- + +### Remarks + +- 请注意配置文件有所变动,注意更新。 + ## v2.0.6.230127 alpha (2023-01-27) ### Added diff --git a/plugin/MainSite/MainSite.php b/plugin/MainSite/MainSite.php index f51f0dd..04d131d 100644 --- a/plugin/MainSite/MainSite.php +++ b/plugin/MainSite/MainSite.php @@ -143,6 +143,9 @@ class MainSite extends BasePlugin } // 稿件列表 $aids = $this->fetchCustomArchives($actual_num); + // 从二维数组里取出aid + $aids = array_column($aids, 'aid'); + var_dump($aids); // Log::info("主站任务: 预投币稿件 " . implode(" ", $aids)); // 投币 diff --git a/profile/example/device/device.yaml b/profile/example/device/device.yaml index cee49c3..82d37be 100644 --- a/profile/example/device/device.yaml +++ b/profile/example/device/device.yaml @@ -3,8 +3,8 @@ device_version: 0.0.1 app: bili_a: # Android package: "tv.danmaku.bili" - version: "7.14.1" - build: "7141100" + version: "7.20.0" + build: "7200300" channel: "bili" device: "phone" mobi_app: "android" @@ -15,7 +15,7 @@ app: secret_key: "NTYwYzUyY2NkMjg4ZmVkMDQ1ODU5ZWQxOGJmZmQ5NzM" app_key_n: "NzgzYmJiNzI2NDQ1MWQ4Mg==" secret_key_n: "MjY1MzU4M2M4ODczZGVhMjY4YWI5Mzg2OTE4YjFkNjU=" - statistics: '{"appId":1,"platform":3,"version":"7.14.1","abtest":""}' + statistics: '{"appId":1,"platform":3,"version":"7.20.0","abtest":""}' bili_i: # IOS app_key: "MjdlYjUzZmM5MDU4ZjhjMw==" secret_key: "YzJlZDUzYTc0ZWVlZmUzY2Y5OWZiZDAxZDhjOWMzNzU=" diff --git a/resources/version.json b/resources/version.json index 14111c2..0b4ad51 100644 --- a/resources/version.json +++ b/resources/version.json @@ -7,10 +7,10 @@ "dev_raw_url": "https://gh.notifyplus.cf/https://github.com/lkeme/BiliHelper-personal/blob/dev/resources/version.json", "master_purge_url": "https://cdn.staticaly.com/gh/lkeme/BiliHelper-personal/master/resources/version.json", "dev_purge_url": "https://cdn.staticaly.com/gh/lkeme/BiliHelper-personal/dev/resources/version.json", - "version": "2.0.6.230127", + "version": "2.0.7.230311", "des": "程序有更新,请及时线上查看更新哦~", - "time": "2023年01月27日", + "time": "2023年03月11日", "ini_version": "0.0.1", "ini_des": "配置有更新,请及时线上查看更新哦~", - "ini_time": "2023年01月27日" + "ini_time": "2023年03月11日" }