TP5.1自定義修改模型建立文件

 

修改這個文件便可php

目錄:D:\PHPTutorial\WWW\tp5\thinkphp\library\think\console\command\make\stubsthinkphp

<?php

namespace {%namespace%};

use think\Model;

class {%className%} extends Model
{
    protected $pk = 'id';
}
相關文章
相關標籤/搜索