[update] VipPoint

This commit is contained in:
Lkeme
2023-08-06 16:21:56 +08:00
parent df8f192ac3
commit b827132931
26 changed files with 216 additions and 109 deletions

View File

@@ -0,0 +1,40 @@
<?php declare(strict_types=1);
/**
* Website: https://mudew.com/
* Author: Lkeme
* License: The MIT License
* Email: Useri@live.cn
* Updated: 2023 ~ 2024
*
* _____ _ _ _ _ _ _____ _ _____ _____ _____
* | _ \ | | | | | | | | | | | ____| | | | _ \ | ____| | _ \ & l、
* | |_| | | | | | | | | |_| | | |__ | | | |_| | | |__ | |_| | (゚、 。
* | _ { | | | | | | | _ | | __| | | | ___/ | __| | _ /   \、゙ ~ヽ *
* | |_| | | | | |___ | | | | | | | |___ | |___ | | | |___ | | \ \  じしf_, )
* |_____/ |_| |_____| |_| |_| |_| |_____| |_____| |_| |_____| |_| \_\
*/
trait DressView
{
use CommonTaskInfo;
/**
* @param array $data
* @param string $name
* @return bool
*/
public function dressView(array $data, string $name): bool
{
$title = '日常任务';
$code = 'dress-view';
//
if ($this->isComplete($data, $name, $title, $code)) {
return true;
}
//
$this->worker($data, $name, $title, $code, 1);
return false;
}
}