摘要:
1.引入Db不同 TP6 :use think\facade\Db; TP5: use think\Db; 2.引入基类不同 TP6 use app\BaseController; class Index extends BaseController TP5 use \think\Controlle 阅读全文
摘要:
TP5: <?php namespace app\admin\controller; use think\Db; use think\facade\Session; use \think\Controller; class Index extends Controller { // Controll 阅读全文