Commit ebdc5f6a authored by hujun's avatar hujun

密码验证

parent 54d6403c
...@@ -33,7 +33,7 @@ class AAgents extends BaseModel ...@@ -33,7 +33,7 @@ class AAgents extends BaseModel
$where['phone'] = $phone; $where['phone'] = $phone;
if ($pwd != '') { if ($pwd != '') {
$where['password'] = $pwd; $where['password'] = md5($pwd);
} }
$agents_data = $this->field($field)->where($where)->find(); $agents_data = $this->field($field)->where($where)->find();
......
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