在项目根目录下执行这两条命令
php think make:model api/Banner
查看生成的文件
application\api\model\Banner.php
<?php
namespace app\api\model;
use think\Model;
class Banner extends Model
{
}
2021-10-08 05:26:48
php think make:model api/Banner
application\api\model\Banner.php
<?php
namespace app\api\model;
use think\Model;
class Banner extends Model
{
}