迅睿開源框架是一款PHP8高性能·簡(jiǎn)單易用的PHP開源開發(fā)框架, 基于MIT開源許可協(xié)議發(fā)布,不限制商業(yè)使用,以多端互聯(lián)為設(shè)計(jì)理念, 支持的微信公眾號(hào)、小程序、APP客戶端、移動(dòng)端網(wǎng)站、PC網(wǎng)站等多終端式管理系統(tǒng)。
業(yè)務(wù)經(jīng)理
微信掃描以上二維碼
028-61286886
在線咨詢
我想修改系統(tǒng)核心文件,\dayrui\Fcms\Extend\Admin\Category.php 復(fù)制到app目錄后,無(wú)反應(yīng)
不能把這個(gè)文件復(fù)制過(guò)去,而是把文件中的函數(shù)體復(fù)制過(guò)去
開源是一種精神,但不是義務(wù),幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問(wèn)題!
回復(fù)迅??蚣軇?chuàng)始人
你好老大,請(qǐng)問(wèn)
\dayrui\Fcms\Extend\Admin\Category.php里的
protected function _get_tree_list($data){}
是復(fù)制到
\dayrui\App\Danwei\Controllers\Admin\Category.php
還是?
\dayrui\App\Danwei\Extend\Admin\Category.php
我更想到復(fù)制到
\dayrui\App\Danwei\Extend\Admin
,因?yàn)殛P(guān)聯(lián)的函數(shù)有好幾個(gè),這樣不會(huì)亂,但好像行不通,沒(méi)加載
\dayrui\App\Danwei\Controllers\Admin\Category.php 就可以了,因?yàn)檫@是php的特性
相關(guān)的寫函數(shù)方法最好復(fù)制到子文件,自己多實(shí)踐
老大用的這什么編輯器,一點(diǎn)函數(shù)就跳過(guò)去了
不能把這個(gè)文件復(fù)制過(guò)去,而是把文件中的函數(shù)體復(fù)制過(guò)去
開源是一種精神,但不是義務(wù),幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問(wèn)題!
回復(fù)迅??蚣軇?chuàng)始人
你好老大,請(qǐng)問(wèn)
\dayrui\Fcms\Extend\Admin\Category.php里的
protected function _get_tree_list($data){}
是復(fù)制到
\dayrui\App\Danwei\Controllers\Admin\Category.php
還是?
\dayrui\App\Danwei\Extend\Admin\Category.php
我更想到復(fù)制到
\dayrui\App\Danwei\Extend\Admin
,因?yàn)殛P(guān)聯(lián)的函數(shù)有好幾個(gè),這樣不會(huì)亂,但好像行不通,沒(méi)加載
\dayrui\Fcms\Extend\Admin\Category.php里的
protected function _get_tree_list($data){}
是復(fù)制到
\dayrui\App\Danwei\Controllers\Admin\Category.php 就可以了,因?yàn)檫@是php的特性
相關(guān)的寫函數(shù)方法最好復(fù)制到子文件,自己多實(shí)踐
開源是一種精神,但不是義務(wù),幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問(wèn)題!
回復(fù)迅??蚣軇?chuàng)始人
老大用的這什么編輯器,一點(diǎn)函數(shù)就跳過(guò)去了