|
|
@@ -384,9 +384,12 @@ class AdminIndexController extends AdminBaseController
|
|
|
// $result = Db::name("user")->where(["id" => $id, "user_type" => 2])->setField(array('user_status'=>0,'freezing'=>input('freezing'),'freezing_choose'=>input('freezing_choose')));
|
|
|
$result=Member::checkComplain($result['uid'],$result);
|
|
|
|
|
|
- if ($result && $param['freezing_choose']==3) {
|
|
|
-
|
|
|
- $complain=Db::name('complain')->where('id', 'in', $param['id'])->update(['status' => 2]);
|
|
|
+ if ($result) {
|
|
|
+
|
|
|
+ if($param['freezing_choose']==3){
|
|
|
+ $complain=Db::name('complain')->where('id', 'in', $param['id'])->update(['status' => 2]);
|
|
|
+ }
|
|
|
+
|
|
|
//发送给客户具体冻结的原因。
|
|
|
// $this->success("会员冻结成功!", "adminIndex/index");
|
|
|
echo 1;die;
|