正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -122,7 +122,7 @@ class Base extends Model | @@ -122,7 +122,7 @@ class Base extends Model | ||
| 122 | * @method :post | 122 | * @method :post |
| 123 | * @time :2024/9/26 10:52 | 123 | * @time :2024/9/26 10:52 |
| 124 | */ | 124 | */ |
| 125 | - public function count($condition){ | 125 | + public function counts($condition){ |
| 126 | $condition = $this->filterRequestData($condition); | 126 | $condition = $this->filterRequestData($condition); |
| 127 | return $this->formatQuery($condition)->count(); | 127 | return $this->formatQuery($condition)->count(); |
| 128 | } | 128 | } |
-
请 注册 或 登录 后发表评论