Commit 620be3c0 authored by zhuwei's avatar zhuwei

test

parent 8f0ae8c1
......@@ -177,46 +177,9 @@ class ImageDepot extends Basic
public function ceshi()
{
$s = new UserService();
//查询
$user_info_list = $s->userBindInfo(1);
return $this->response("200", "成功",$user_info_list);
//新增
// $user_id = 3;
// $bind_id = 1;
// $add_res = $s->addUserBind($user_id,$bind_id);
// 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 0 :
// return $this->response("200", "绑定成功");
// break;
// default :
// return $this->response("300", "绑定失败");
//
// }
//解除
// $rm_res = $s->removeUserBind($user_id);
// if($rm_res == 1){
// return $this->response("200", "解绑成功");
// }else{
// return $this->response("200", "解绑失败");
// }
$we_chat_last_notice_lime = time();
return $this->response("200", "成功",$we_chat_last_notice_lime);
}
......
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