|
|
- public static function getListAll($offset = 0, $limit = 10, $field = 'id,product_id,image,title,price,integral,ot_price,start_time,stop_time,stock,sales')
|
|
|
+ public static function getListAll($offset = 0, $limit = 10, $field = 'id,product_id,image,title,price,ot_price,start_time,stop_time,stock,sales')
|
|
|
$model = self::where('is_del', 0)->where('status', 1)->where('stock', '>', 0)->field($field)
|