1、安裝結(jié)束的時候彈出alert,內(nèi)容undefined,我是手動創(chuàng)建 DatabaseSeeder.php 解決的。
2、上傳圖片的時候,比如設(shè)置中上傳企業(yè)logo,首先是:
"message": "syntax error, unexpected token \"<<\"", "exception": "ParseError", "file": "/www/wwwroot/tuoluo.1wy.top/crmeb/services/upload/storage/Local.php", "line": 119,
原因是這里有g(shù)it合并沖突標記 <<<<<<< HEAD 和 >>>>>>> v2.0
之后是400多行報錯,也是沖突標記問題。
3、之后又報錯:
{ "message": "call_user_func_array(): Argument #1 ($callback) must be a valid callback, class App\\Http\\Dao\\Attach\\SystemAttachDao does not have a method \"setOption\"", "exception": "TypeError", "file": "/www/wwwroot/tuoluo.1wy.top/app/Http/Service/BaseService.php", "line": 62,
我在 /app/Http/Controller/AdminApi/Attach/AttachController.php 自己添加了一個 :
public function setOption(array $options)
{
// 實現(xiàn)配置存儲邏輯,例如:
$this->options = $options;
return $this;
}
結(jié)果緊接著上傳時候又報錯:
"message": "Call to undefined method App\\Http\\Dao\\Attach\\SystemAttachDao::upload()",
"exception": "Error",
"file": "/www/wwwroot/tuoluo.1wy.top/app/Http/Controller/AdminApi/Attach/AttachController.php",
"line": 124,
沒有upload方法
不知道是不是我哪里弄錯了,反正感覺這種bug是不應(yīng)該出現(xiàn)的,挺無語的,我是從gitee上用 git clone https://gitee.com/ZhongBangKeJi/tuoluojiang.git 命令克隆的