29 lines
632 B
PHP
29 lines
632 B
PHP
<?php
|
|
|
|
namespace app\czg\app\controller;
|
|
|
|
|
|
|
|
use app\common\controller\Frontend;
|
|
|
|
class InviteController extends Frontend
|
|
{
|
|
|
|
// 我的收益
|
|
public function selectInviteMoney()
|
|
{
|
|
$res = \app\api\model\Invite::selectInviteMoney($this->auth->getUser());
|
|
return $this->ApiDataReturn($res);
|
|
}
|
|
|
|
|
|
|
|
// 查看我邀请的人员列表(查看所有邀请列表)
|
|
public function selectInviteByUserIdLists()
|
|
{
|
|
$get = $this->request->get();
|
|
$res = \app\api\model\Invite::selectInviteByUserIdLists($this->auth->getUser(), $get, 'api');
|
|
return $this->ApiDataReturn($res);
|
|
}
|
|
|
|
} |