moonsflyer 4 ماه پیش
والد
کامیت
2de7fdcbd7
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      phalapi/src/app/functions.php

+ 2 - 2
phalapi/src/app/functions.php

@@ -4470,8 +4470,8 @@ namespace App;
             $classid_arr = array_column($rs,'three_classid');
 
             $claasid_str = implode(',',$classid_arr);
-            return $claasid_str;
-            $class_where = " gc_id in ('{$claasid_str}')";
+
+            $class_where = " gc_id in '{$claasid_str}'";
             $res=\PhalApi\DI()->notorm->shop_goods_class
                 ->select("gc_id,gc_name,gc_icon")
                 ->where($class_where)