|
@@ -693,13 +693,14 @@ class Member extends BaseController
|
|
public function setAuthShow($uid){
|
|
public function setAuthShow($uid){
|
|
$show = InfoAudit::where('uid',$uid)->find();
|
|
$show = InfoAudit::where('uid',$uid)->find();
|
|
$is_show =$show['is_show'];
|
|
$is_show =$show['is_show'];
|
|
-
|
|
|
|
|
|
+ var_dump('1:'.$is_show);
|
|
if($is_show == 0){
|
|
if($is_show == 0){
|
|
$chen_show = 1;
|
|
$chen_show = 1;
|
|
}
|
|
}
|
|
else{
|
|
else{
|
|
$chen_show = 0;
|
|
$chen_show = 0;
|
|
}
|
|
}
|
|
|
|
+ var_dump(' 2:'.$chen_show);
|
|
$res = InfoAudit::where('uid',$uid)->update(['is_show'=>$chen_show]);
|
|
$res = InfoAudit::where('uid',$uid)->update(['is_show'=>$chen_show]);
|
|
if($res)return app('json')->success('OK');
|
|
if($res)return app('json')->success('OK');
|
|
|
|
|