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

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

18
app/model/Nav.php Normal file
View File

@@ -0,0 +1,18 @@
<?php
declare (strict_types = 1);
namespace app\model;
use think\Model;
/**
* @mixin think\Model
*/
class Nav extends Model
{
//
public function getImgAttr($value)
{
return get_source_link($value);
}
}