退款公用接口
This commit is contained in:
@@ -25,4 +25,9 @@ class ProductOrder extends Model
|
||||
{
|
||||
return $this->field($fields)->where($where)->where($where2)->order($order)->limit($limit)->fetchAll();
|
||||
}
|
||||
|
||||
public function getOpenCount($where = [],$where2 = '')
|
||||
{
|
||||
return $this->field('count(1) as count')->where($where)->where($where2)->fetch();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user