Commit 951b0098 authored by zw's avatar zw

bug

parent c4d9bb38
......@@ -736,10 +736,10 @@ class User extends Basic
public function userDetail()
{
$params = $this->params;
$params = array(
/* $params = array(
"user_id" => 187,
"agent_id" => 1,
);
);*/
if (!isset($params['user_id']) || !isset($params['agent_id'])) {
return $this->response("101", "参数不全");
......@@ -760,9 +760,11 @@ class User extends Basic
}
/**
* 客户动态
/**客户动态
* @return \think\Response
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
*/
public function userLog(){
$params = $this->params;
......@@ -823,10 +825,10 @@ class User extends Basic
public function userDetailFull()
{
$params = $this->params;
$params = array(
/* $params = array(
"user_id" => 187,
"agent_id" => 1,
);
);*/
if (!isset($params['user_id']) || !isset($params['agent_id'])) {
return $this->response("101", "参数不全");
......
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