Commit 6c9657b1 authored by zhuwei's avatar zhuwei

1

parent 15abbc1b
...@@ -326,7 +326,7 @@ class Member extends Basic{ ...@@ -326,7 +326,7 @@ class Member extends Basic{
//客户编号 //客户编号
if (!empty($params['id'])) { if (!empty($params['id'])) {
$where['a.id'] = []; $where = [];
$where['a.id'] = $params['id']; $where['a.id'] = $params['id'];
} }
...@@ -335,7 +335,7 @@ class Member extends Basic{ ...@@ -335,7 +335,7 @@ class Member extends Basic{
if (strlen($params['phone']) < 4) { if (strlen($params['phone']) < 4) {
return $this->response(101, '手机号最少输入4位'); return $this->response(101, '手机号最少输入4位');
} }
$where['a.user_phone'] = []; $where = [];
$where['a.user_phone'] = [ 'LIKE', '%' . $params['phone'] . '%' ]; $where['a.user_phone'] = [ 'LIKE', '%' . $params['phone'] . '%' ];
} }
......
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