修改商户列表数据返回

This commit is contained in:
luofei 2024-03-01 14:42:23 +08:00
parent 9d8f98853a
commit 37bd5326b6

View File

@ -110,7 +110,7 @@ class MerchantRepository extends BaseRepository
'merchantType' 'merchantType'
]) ])
->order('mer_id','desc') ->order('mer_id','desc')
->field('sort, mer_id, mer_name, real_name, mer_phone, mer_address, mark, status, create_time,is_best,is_trader,type_id,category_id,copy_product_num,export_dump_num,is_margin,margin,mer_avatar')->select(); ->field('sort, mer_id, mer_name, real_name, mer_phone, mer_address, mark, status, create_time,is_best,is_trader,type_id,category_id,copy_product_num,export_dump_num,is_margin,margin,mer_avatar,sale_amount,purchase_amount')->select();
return compact('count', 'list'); return compact('count', 'list');
} }