Commit 3c55bb12 authored by luhongguang's avatar luhongguang

update: c端我的商品列表

parent f40affbd
......@@ -940,8 +940,9 @@ class GoodsService
$where["goods_spu_id[>]"] = $lastId;
}
$where["life_account_id"] = $lifeAccountId;
$where["inventory_rest[>]"] = 0;
$where["LIMIT"] = $limit;
$where["ORDER"] = ["goods_spu_id" => "ASC"];
$where["ORDER"] = ["update_time" => "DESC"];
$list = GoodsSku::select(["goods_spu_id", "goods_sku_id", "goods_name", "desc", "desc_pic_url", "total_amount_sold", "inventory_rest", "original_price",
"price", "audit_status", "online_status"], $where);
......
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