mirror of
https://github.com/lkeme/BiliHelper-personal.git
synced 2025-12-19 01:20:08 +08:00
40 lines
1.1 KiB
PHP
40 lines
1.1 KiB
PHP
<?php declare(strict_types=1);
|
||
|
||
/**
|
||
* Website: https://mudew.com/
|
||
* Author: Lkeme
|
||
* License: The MIT License
|
||
* Email: Useri@live.cn
|
||
* Updated: 2024 ~ 2025
|
||
*
|
||
* _____ _ _ _ _ _ _____ _ _____ _____ _____
|
||
* | _ \ | | | | | | | | | | | ____| | | | _ \ | ____| | _ \ & /l、
|
||
* | |_| | | | | | | | | |_| | | |__ | | | |_| | | |__ | |_| | (゚、 。 7
|
||
* | _ { | | | | | | | _ | | __| | | | ___/ | __| | _ / \、゙ ~ヽ *
|
||
* | |_| | | | | |___ | | | | | | | |___ | |___ | | | |___ | | \ \ じしf_, )ノ
|
||
* |_____/ |_| |_____| |_| |_| |_| |_____| |_____| |_| |_____| |_| \_\
|
||
*/
|
||
trait BuyVipMall
|
||
{
|
||
use CommonTaskInfo;
|
||
|
||
/**
|
||
* @param array $data
|
||
* @param string $name
|
||
* @return bool
|
||
*/
|
||
public function buyVipMall(array $data, string $name): bool
|
||
{
|
||
$title = '日常任务';
|
||
$code = 'vipmallbuy';
|
||
//
|
||
if ($this->isComplete($data, $name, $title, $code)) {
|
||
return true;
|
||
}
|
||
//
|
||
return $this->worker($data, $name, $title, $code, 4);
|
||
}
|
||
|
||
|
||
}
|