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