因此,我正在爲我創建的Web應用程序創建一個API,並且試圖將它保留在Eloquent ORM中。還有,我要來一次親子關係: 用戶 - >網站日誌 - >站點 站點類代碼: class Site extends Model {
public function log() {
return $this->hasMany('App\SiteLog', 'site_id', 'id
我正在使用SHDocVw.InternetExplorerClass刮擦網頁。它工作正常,在XP中,但是當我嘗試在Windows 7上運行它,我得到一個錯誤:當我運行在正常工作管理員模式下的Visual Studio The interface is unknown. (Exception from HRESULT: 0x800706B5) ,但已發佈應用程序必須運行在管理員模式下,這也是不可接受