store_product表中type的含义是0.实体商品,1.虚拟商品,2.网盘/卡密
app/controller/api/server/StoreProduct::lst,受$where['type']影响,查询条件有误
如下文加入unset($where['type'])即可避免影响
public function lst($merId)
{
[$page, $limit] = $this->getPage();
$where = $this->request->params(['cate_id', 'keyword', ['type',20], 'mer_cate_id', 'is_gift_bag', 'status', 'us_status', 'product_id', 'mer_labels',['order','sort']]);
$where = array_merge($where, $this->repository->switchType($where['type'], $merId, 0));
unset($where['type']);
return app('json')->success($this->repository->getList($merId, $where, $page, $limit));
}