mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 07:22:49 +08:00
23 lines
323 B
PHP
23 lines
323 B
PHP
<?php
|
|
|
|
namespace app\model;
|
|
|
|
use think\Model;
|
|
use think\model\concern\SoftDelete;
|
|
|
|
/**
|
|
* @mixin think\Model
|
|
*/
|
|
class UploadFiles extends Model
|
|
{
|
|
//
|
|
use SoftDelete;
|
|
|
|
protected $defaultSoftDelete = 0;
|
|
|
|
public function getSrcAttr()
|
|
{
|
|
return \get_source_link($this->getData('save_name'));
|
|
}
|
|
}
|