|
|
@@ -63,7 +63,7 @@ class Shops extends Base
|
|
|
->leftjoin('shop_list b', 'a.shop_id = b.id') //店铺
|
|
|
->leftjoin('stock_config c', 'a.variety_id = c.id') //品种
|
|
|
->leftjoin('product_config d', 'a.spec_id = d.id') //规格
|
|
|
- ->field('a.id,a.num, b.name shop_name,c.title variety_name,d.title spec_name')
|
|
|
+ ->field('a.id,a.shop_id,a.createtime,a.num, b.name shop_name,c.title variety_name,d.title spec_name')
|
|
|
->where($where)
|
|
|
->paginate(15);
|
|
|
$this->success('ok', $result);
|