Wang Chen 4 năm trước cách đây
mục cha
commit
52883880d5
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      app/Modules/User/Models/QappPackage.php

+ 5 - 0
app/Modules/User/Models/QappPackage.php

@@ -23,4 +23,9 @@ class QappPackage extends Model
     {
         return self::where('channel_id',$channel_id)->first();
     }
+
+    public static function getPackageByPackage($package)
+    {
+        return self::where('package', $package)->first();
+    }
 }