Wang Chen %!s(int64=4) %!d(string=hai) anos
pai
achega
52883880d5
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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();
+    }
 }