Browse Source

checkredis

yijia
娄梦宁 3 years ago
parent
commit
0544968b7f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      addons/unishop/controller/Product.php

+ 1
- 1
addons/unishop/controller/Product.php View File

@@ -113,7 +113,7 @@ class Product extends Base
}

$result = $productModel
->where(['switch' => productModel::SWITCH_ON,'stock'=>[">=",0]])
->where(['switch' => productModel::SWITCH_ON,'stock'=>[">",0]])
->page($page, $pagesize)
->order($by, $desc)
->field('id,title,image,sales_price,sales,real_sales')


Loading…
Cancel
Save