Commit 568a6a8f authored by hujun's avatar hujun

判断

parent 9bc76526
...@@ -154,15 +154,14 @@ class Remark extends Basic ...@@ -154,15 +154,14 @@ class Remark extends Basic
* 客户动态展示加搜索加客户详情 * 客户动态展示加搜索加客户详情
* *
* @return \think\Response * @return \think\Response
* @throws \think\db\exception\DataNotFoundException * @throws \think\Exception
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException * @throws \think\exception\DbException
*/ */
public function useraction_search() public function useraction_search()
{ {
header('Access-Control-Allow-Origin:*'); header('Access-Control-Allow-Origin:*');
if (empty($params['user_id'])) { if (empty($this->params['user_id'])) {
return $this->response(101,'客户信息错误'); return $this->response(101,'客户信息错误');
} }
$params = $this->params; $params = $this->params;
......
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