任务功能提交。
This commit is contained in:
2
.env
2
.env
@@ -14,7 +14,7 @@ hostport = 3306
|
||||
prefix = fa_
|
||||
|
||||
#正式
|
||||
#hostname = 1.13.101.98
|
||||
#hostname = 1.13.20.30
|
||||
#database = yusheng
|
||||
#username = yusheng
|
||||
#password = GEDYGj3HbZfKYBjp
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user