Commit 2f008916 authored by zhuwei's avatar zhuwei

zs

parent bd8ed3f1
......@@ -952,32 +952,6 @@ class User extends Basic
} else {
return $this->response("300", $add_res);
}
// switch ($add_res) {
// case 1 :
// return $this->response("300", "参数不全");
// break;
// case 2 :
// return $this->response("300", "当前客户已经存在绑定关系");
// break;
// case 3 :
// return $this->response("300", "当前客户已经存在绑定关系");
// break;
// case 4 :
// return $this->response("300", "绑定客户关系数超限");
// break;
// case 5 :
// return $this->response("300", "绑定失败");
// break;
// case 6 :
// return $this->response("300", "不得绑定自己");
// break;
// case 0 :
// return $this->response("200", "绑定成功");
// break;
// default :
// return $this->response("300", "绑定失败");
//
// }
}
......@@ -994,9 +968,6 @@ class User extends Basic
$s_index_user = new UserService();
$rm_res = $s_index_user->removeUserBind($this->params['now_user_id'],$this->params['user_id'],$this->agentId);
switch ($rm_res) {
// case 1 :
// return $this->response("300", "操作人不是客方");
// break;
case 2 :
return $this->response("300", "无解除关联权限权限");
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment