wugg 7 月之前
父节点
当前提交
f41279926a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/admin/model/OrderCategory.php

+ 1 - 1
app/admin/model/OrderCategory.php

@@ -40,7 +40,7 @@ class OrderCategory extends Model{
     }
 
     public static function GetTaxInfoByCode($code){
-        $info=self::with(['GoodInfo'])->where(["code"=>$code])->field(["code","spuCode","cat_code","cat_name","tax","inv_good_name"])->select();
+        $info=self::with(['GoodInfo'])->where(["code"=>$code])->field(["code","spuCode","cat_code","cat_name","merge_code","short_name","tax","inv_good_name"])->select();
         $temp=[];
         if(!empty($info)){
             if (is_array($code)){