moonsflyer 4 bulan lalu
induk
melakukan
2de7fdcbd7
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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)