完成导航管理,可用于小程序导航,轮播图

This commit is contained in:
2020-04-17 15:26:51 +08:00
parent d14a506dd4
commit 41308be2a4
8 changed files with 675 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<?php
namespace app\common;
use think\migration\db\Column;
class ColumnFormat
{
public static function timestamp($name){
return Column::make($name,'integer')
->setLimit(10)
->setSigned(false);
}
public static function loadDeleteTime(){
return Column::make('delete_time','integer')
->setLimit(10)
->setSigned(false);
}
}