2026-03-21 02:55:24 +08:00
|
|
|
<?php
|
|
|
|
|
// +----------------------------------------------------------------------
|
2026-03-29 11:22:52 +08:00
|
|
|
// | Author: ScottPan Team
|
2026-03-21 02:55:24 +08:00
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
namespace app\controller\api\v1\work;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
use app\services\work\WorkClientServices;
|
|
|
|
|
use think\annotation\Inject;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 客户
|
|
|
|
|
* Class SidebarController
|
|
|
|
|
* @package app\controller\api\v1\work
|
|
|
|
|
*/
|
|
|
|
|
class Client extends BaseWork
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @var WorkClientServices
|
|
|
|
|
*/
|
|
|
|
|
#[Inject]
|
|
|
|
|
protected WorkClientServices $service;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @return mixed
|
|
|
|
|
*/
|
|
|
|
|
public function getClientInfo()
|
|
|
|
|
{
|
|
|
|
|
return $this->success($this->service->getClientInfo($this->userid, $this->clientInfo));
|
|
|
|
|
}
|
|
|
|
|
}
|