29 lines
587 B
PHP
29 lines
587 B
PHP
<?php
|
|
|
|
namespace app\api\controller;
|
|
|
|
use think\Controller;
|
|
|
|
class Vip extends Common
|
|
{
|
|
|
|
//会员类型列表
|
|
public function get_vip_list(){
|
|
$uid = $this->uid;
|
|
$reslut = model('Vip')->get_vip_list($uid);
|
|
return ajaxReturn($reslut['code'], $reslut['msg'], $reslut['data']);
|
|
|
|
}
|
|
|
|
//换绑信息
|
|
public function get_update_invite_info(){
|
|
$uid = $this->uid;
|
|
$reslut = model('Vip')->get_update_invite_info($uid);
|
|
return ajaxReturn($reslut['code'], $reslut['msg'], $reslut['data']);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|