29 lines
732 B
PHP
29 lines
732 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace app\adminapi\controller\stats;
|
|
|
|
use app\adminapi\controller\BaseAdminController;
|
|
use app\adminapi\logic\stats\SelfInputLogic;
|
|
|
|
class SelfInputController extends BaseAdminController
|
|
{
|
|
public function overview()
|
|
{
|
|
$result = SelfInputLogic::overview($this->request->get(), $this->adminId, $this->adminInfo);
|
|
|
|
return $this->data($result);
|
|
}
|
|
|
|
/**
|
|
* 自媒体来源下拉:从已录入业绩/账户消耗去重提取(随录入动态变化)
|
|
*/
|
|
public function mediaSourceOptions()
|
|
{
|
|
$list = SelfInputLogic::mediaSourceOptions($this->adminId, $this->adminInfo);
|
|
|
|
return $this->data($list);
|
|
}
|
|
}
|