Commit 0016cbc8 authored by 734642908@qq.com's avatar 734642908@qq.com

添加type

parent 8c29a65f
......@@ -24,7 +24,7 @@ class ShopController extends BaseController
if($isShow == 1) {
$whereArr['is_show'] = $isShow;
}
$field = 'sysid as id,name,icon,initial_price as price,stock,change_way';
$field = 'sysid as id,name,icon,initial_price as price,stock,change_way,type';
$goodsArr = M("yl_goods","",C("LEWAN_HEZI"))->where($whereArr)->field($field)->limit($skip,$size)->order('sort desc')->select();
if(!empty($goodsArr)) {
$result = array(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment