跟进记录

This commit is contained in:
“wanyongkang”
2021-11-16 16:39:13 +08:00
parent e8228c414c
commit a8ee1979ec
2 changed files with 40 additions and 4 deletions

View File

@@ -14,9 +14,9 @@ class FollowRecord extends Model
* @param {*}
* @return {*}
*/
public function getNewRecord($where)
public function getNewRecord($where,$limit = '3')
{
return $this->where($where)->order()->limit('3')->fetchAll();
return $this->where($where)->order()->limit($limit)->fetchAll();
}
/**