初始版本

This commit is contained in:
贾祥聪
2025-08-19 14:16:51 +08:00
commit f937a1f9b9
4373 changed files with 359728 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
<?php
namespace app\common\model\coach;
use app\common\model\BaseModel;
use app\common\service\FileService;
/**
* 技师生活照模型类
* Class CoachLifePhoto
* @package app\common\model\coach
*/
class CoachLifePhoto extends BaseModel
{
/**
* @notes 补全图片路径
* @param $value
* @param $data
* @return string
* @author ljj
* @date 2022/2/17 6:11 下午
*/
public function getUriAttr($value,$data)
{
return FileService::getFileUrl($value);
}
/**
* @notes 去掉图片路径
* @param $value
* @param $data
* @return string
* @author ljj
* @date 2022/2/17 6:11 下午
*/
public function setUriAttr($value,$data)
{
return FileService::setFileUrl($value);
}
}