任务功能提交。

This commit is contained in:
2025-12-10 14:05:30 +08:00
parent 671c659076
commit d261d7ff65
2 changed files with 12 additions and 6 deletions

2
.env
View File

@@ -14,7 +14,7 @@ hostport = 3306
prefix = fa_
#正式
#hostname = 1.13.101.98
#hostname = 1.13.20.30
#database = yusheng
#username = yusheng
#password = GEDYGj3HbZfKYBjp

View File

@@ -19,13 +19,19 @@ class Tasks extends adminApi
protected $noNeedLogin = [];
protected $noNeedRight = [];
protected $table = 'vs_daily_tasks';
// public $task_type = [
// '1' => '每日任务',
// '2' => '每日特殊任务',
// '3' => '平台常规任务',
// '4' => '师徒任务'
// ];
public $task_type = [
'1' => '每日任务',
'2' => '每日特殊任务',
'3' => '平台常规任务',
'4' => '师徒任务'
'1' => '新手任务',
'2' => '每日任务',
'3' => '师徒任务',
'4' => '情侣任务',
'5' => '签到任务',
];
public function _initialize()
{
parent::_initialize();