Commit c068e329 authored by hujun's avatar hujun

参数调整

parent 606f3947
......@@ -71,7 +71,7 @@ class Users extends Model
* @param $fields
* @return array
*/
public function getUserByWhereValue($param, $fields)
public function getUserByWhereValue($fields, $param)
{
return $this->where($param)
->value($fields);
......
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