ios13.1绑定提示修改

master
chenxiaojun 5 years ago
parent cff2dc911a
commit a29d153581

@ -237,13 +237,13 @@ class UserController extends BaseController
$saveRes = M('User', 'tab_')->where(array('id' => $userData['id']))->save($saveData); $saveRes = M('User', 'tab_')->where(array('id' => $userData['id']))->save($saveData);
if ($saveRes) { if ($saveRes) {
$data = array('status' => 2, 'msg' => '登录成功!绑定成功'); $data = array('status' => 2, 'msg' => '登录成功');
} else { } else {
$data = array('status' => 0, 'msg' => '绑定失败'); $data = array('status' => 0, 'msg' => '绑定失败');
} }
} else { } else {
if ($userData['promote_id'] == $promoteId) { if ($userData['promote_id'] == $promoteId) {
$data = array('status' => 2, 'msg' => '登录成功!绑定成功'); $data = array('status' => 2, 'msg' => '登录成功');
} else { } else {
$data = array('status' => 2, 'msg' => '登录成功'); $data = array('status' => 2, 'msg' => '登录成功');
} }

Loading…
Cancel
Save