Commit 53c02048 authored by hujun's avatar hujun

userId to agentId

parent df4c5686
......@@ -294,7 +294,7 @@ class Broker extends Basic
if ($this->params['pwd'] || $this->params['old_pwd']) {
$agents = new AAgents();
$result = $agents->editPwd($this->userId, $this->params['pwd'], $this->params['old_pwd']);
$result = $agents->editPwd($this->agentId, $this->params['pwd'], $this->params['old_pwd']);
if (!$result) {
$data['code'] = 101;
$data['msg'] = 'change failed';
......
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