rabin 3 年之前
父节点
当前提交
72ce1721fd
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      app/goods/lib/Info.php

+ 2 - 0
app/goods/lib/Info.php

@@ -459,6 +459,7 @@ class Info
                 $info['code'] = '';
                 $info['code'] = '';
             }
             }
             $info['sku_name'] = '';
             $info['sku_name'] = '';
+            $info['cunhuo_code'] = '';
             if ($sku_id > 0) {
             if ($sku_id > 0) {
                 $sku = Dever::db($this->table_sku)->find($sku_id);
                 $sku = Dever::db($this->table_sku)->find($sku_id);
 
 
@@ -469,6 +470,7 @@ class Info
                     $info['sku_name'] = $info['sku']['string'];
                     $info['sku_name'] = $info['sku']['string'];
                     $info['unit'] = $sku['unit'];
                     $info['unit'] = $sku['unit'];
                     $info['weight'] = $sku['weight'];
                     $info['weight'] = $sku['weight'];
+                    $info['cunhuo_code'] = $sku['cunhuo_code'];
                 }
                 }
             }
             }