소스 검색

客户端-增加获取商户上架的商品列表接口

sunxbiao 11 달 전
부모
커밋
7b3b9639e4
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/controller/api/store/merchant/Merchant.php

+ 1 - 0
app/controller/api/store/merchant/Merchant.php

@@ -161,6 +161,7 @@ class Merchant extends BaseController
161
         foreach ($result['list'] as $productInfo) {
161
         foreach ($result['list'] as $productInfo) {
162
             $formatList[] = [
162
             $formatList[] = [
163
                 'type' => 0,//京东商品
163
                 'type' => 0,//京东商品
164
+                'merId' => $productInfo['mer_id'],
164
                 'skuId' => '',//itemId 京东官方 已不返回skuId , 使用 联盟商品ID 代替skuId
165
                 'skuId' => '',//itemId 京东官方 已不返回skuId , 使用 联盟商品ID 代替skuId
165
                 'id' => $productInfo['product_id'] ?? '', //id
166
                 'id' => $productInfo['product_id'] ?? '', //id
166
                 'name' => $productInfo['store_name'],//名称
167
                 'name' => $productInfo['store_name'],//名称