webman/think-orm1.1 相當(dāng)于thinkphp的什么版本
這里寫問題具體描述
請(qǐng)問這里的think-orm 相當(dāng)于thinkphp的什么版本
可以說2個(gè)版本毫無關(guān)系
我安裝的是現(xiàn)在最新的think-orm 版本,但是許多東西與thinphp 哪個(gè)版本都對(duì)不上<?php
namespace app\controller;
use think\facade\View;
use support\Request;
class UserController
{
public function hello(Request $request)
{
View::assign('name','ThinkPHP');
return view('user/hello');
}
}
hello {$name}
結(jié)果輸出錯(cuò)誤:think\facade\View" not found in ** \webman\app\controller\UserController.php:11
你這個(gè)是think-template的模板引擎View類庫(kù)沒找到的,你看下文檔先的
http://www.wtbis.cn/doc/webman/view.html