由3.3.1升級(jí)到3.5.0之后,短信和個(gè)推都不可用,顯示是沒(méi)有調(diào)用到方法。代碼如圖

這是在訂單中的Model文件夾下的代碼
在Order.php文件中引入圖中兩個(gè)文件,然后在
public function __construct() {
parent::__construct();
$this->prefix = $this->db->dbprefix(SITE_ID.'_order_');
$this->cache_file = md5($this->duri->uri(1).$this->uid.SITE_ID.$this->input->ip_address().$this->input->user_agent());
$this->getui = new D_Getui();
}
聲明了 $this->getui = new D_Getui();系統(tǒng)報(bào)錯(cuò)
比較笨的方法是:
$this->getui = new \D_Getui();
這種比較落后了,放在my目錄cms會(huì)自動(dòng)加載,效率比較高
我的短信接口一樣可以使用。。沒(méi)有影響呢