<?php
/**
 * Created by PhpStorm.
 * User: hp
 * Date: 2017/11/21
 * Time: 11:00
 */

namespace App\Modules\Promotion\Models;
use Illuminate\Database\Eloquent\Model;


class OriginalGuides extends Model
{
	protected $connection = 'api_mysql';
	
    protected  $table = 'original_guides';

    /**
     * @return mixed  获取所有的原文引导
     */
    static function getAllOriginalGuides()
    {
        return $originalGuidesResult =self::select('id','content')->get();
    }
}