用户编辑优化

master
chenzhi 5 years ago
parent 80f8eb431c
commit bd53d01a0e

@ -1014,7 +1014,7 @@ class MemberController extends ThinkController
->where($map) ->where($map)
->setField('phone', $_POST['phone']); ->setField('phone', $_POST['phone']);
if ($pro !== false) { if ($pro !== false) {
$this->userEditOperationLog($user['id']); $this->userEditOperationLog($_POST['id']);
$this->ajaxReturn(array("status" => 1, "msg" => "手机修改成功")); $this->ajaxReturn(array("status" => 1, "msg" => "手机修改成功"));
} else { } else {
$this->ajaxReturn(array("status" => 0, "msg" => "手机修改失败")); $this->ajaxReturn(array("status" => 0, "msg" => "手机修改失败"));

Loading…
Cancel
Save