cp等级
This commit is contained in:
@@ -27,6 +27,23 @@ class UserCp extends adminApi
|
|||||||
return V(1,"成功", $return_data);
|
return V(1,"成功", $return_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//用户CP等级详情
|
||||||
|
public function userCpLevelInfo()
|
||||||
|
{
|
||||||
|
$id = input('id', '');
|
||||||
|
$where=['deletetime' => 0,'id'=>$id];
|
||||||
|
$list = db::name('user_cp_level')->where($where)->find();
|
||||||
|
if(empty($list)){
|
||||||
|
return V(0,"数据不存在");
|
||||||
|
}
|
||||||
|
$list['rights_icon'] = db::name('vs_decorate')->where('did',$list['rights_icon_id'])->value('base_image');
|
||||||
|
$list['dress'] = db::name('vs_decorate')->where('did',$list['dress_id'])->value('base_image');
|
||||||
|
$list['jiajia'] = db::name('vs_decorate')->where('did',$list['jiajia_id'])->value('base_image');
|
||||||
|
$list['guajian'] = db::name('vs_decorate')->where('did',$list['guajian_id'])->value('base_image');
|
||||||
|
return V(1,"成功", $list);
|
||||||
|
}
|
||||||
|
|
||||||
//编辑用户CP等级
|
//编辑用户CP等级
|
||||||
public function userCpLevelEdit()
|
public function userCpLevelEdit()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user