Commit c068e329 authored by hujun's avatar hujun

参数调整

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