初始版本

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,43 @@
<?php
namespace app\common\model\coach;
use app\common\model\BaseModel;
use app\common\service\FileService;
/**
* 技师账号逻辑类
* Class UserCoach
* @package app\common\model\coach
*/
class CoachUser extends BaseModel
{
/**
* @notes 去掉图片路径
* @param $value
* @param $data
* @return string
* @author ljj
* @date 2022/2/17 6:11 下午
*/
public function setAvatarAttr($value,$data)
{
return FileService::setFileUrl($value);
}
/**
* @notes 补全图片路径
* @param $value
* @param $data
* @return string
* @author ljj
* @date 2022/2/17 6:11 下午
*/
public function getAvatarAttr($value,$data)
{
return FileService::getFileUrl($value);
}
}