Commit daddd249 authored by luhongguang's avatar luhongguang

update:我的商品管理问题

parent 7f2af171
...@@ -937,11 +937,11 @@ class GoodsService ...@@ -937,11 +937,11 @@ class GoodsService
} }
if (!empty($lastId)) { if (!empty($lastId)) {
$where["goods_spu_id[>]"] = $lastId; $where["goods_spu_id[<]"] = $lastId;
} }
$where["life_account_id"] = $lifeAccountId; $where["life_account_id"] = $lifeAccountId;
$where["LIMIT"] = $limit; $where["LIMIT"] = $limit;
$where["ORDER"] = ["update_time" => "DESC"]; $where["ORDER"] = ["goods_spu_id" => "DESC"];
$list = GoodsSku::select(["goods_spu_id", "goods_sku_id", "goods_name", "desc", "desc_pic_url", "total_amount_sold", "inventory_rest", "original_price", $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); "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