| 1234567891011121314151617181920212223242526272829303132 | <?phpnamespace App\Http\Models;use Illuminate\Database\Eloquent\Model;use Illuminate\Database\Eloquent\SoftDeletes;class SocialPublish extends Model{    use SoftDeletes;    protected $primaryKey = 'id';    protected $table = 'social_publish';    public $guarded = [];    protected $casts = [        'result' => 'array',        'scopes' => 'array',        'result_status' => 'array',        'err' => 'array'    ];    const STATUS_NO_NEED = 1; //不用发    const STATUS_SUCCESS = 2; //成功    const STATUS_FAILURE = 3; //失败    const STATUS_TITLE = [        1 => '未发',        2 => '成功',        3 => '失败',    ];}
 |