抖音小程序

ImService.php 405B

123456789101112131415161718
  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Model;
  4. class ImService extends Model
  5. {
  6. protected $table = 'im_service';
  7. public $timestamps = false;
  8. protected static $unguarded = true;
  9. public static function getList($appId) {
  10. return self::query()->select('account')->where('enable', 1)->where('app_id', $appId)
  11. ->orderBy('sort', 'desc')->get();
  12. }
  13. }