|
@@ -0,0 +1,19 @@
|
|
|
|
+<?php
|
|
|
|
+
|
|
|
|
+namespace App\Models;
|
|
|
|
+
|
|
|
|
+use Illuminate\Database\Eloquent\Model;
|
|
|
|
+
|
|
|
|
+class NewMediaAccount extends Model
|
|
|
|
+{
|
|
|
|
+ //
|
|
|
|
+ const PLATFORM_DOUYIN = 1;
|
|
|
|
+ const PLATFORM_WECHAT_VIDEO = 2;
|
|
|
|
+
|
|
|
|
+ const PLATFORM_MAP = [
|
|
|
|
+ self::PLATFORM_DOUYIN => '抖音',
|
|
|
|
+ self::PLATFORM_WECHAT_VIDEO => '微信视频号',
|
|
|
|
+ ];
|
|
|
|
+
|
|
|
|
+ protected $table = 'new_media_account';
|
|
|
|
+}
|