first commit

This commit is contained in:
Your Name
2026-01-19 14:19:22 +08:00
commit fe2d9c1868
4777 changed files with 665503 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
<?php
namespace app\common\model\lh;
use app\common\model\BaseModel;
use think\model\concern\SoftDelete;
use app\common\service\FileService;
/**
* 量化货币模型
* Class LhCoin
* @package app\common\model\lh
*/
class LhCoin extends BaseModel
{
use SoftDelete;
protected $name = 'lh_coin';
protected $deleteTime = 'delete_time';
/**
* @notes 图片域名替换
* @param $value
* @return string
* @author Tab
* @date 2021/7/17 14:28
*/
public function getLogoAttr($value)
{
return trim($value) ? FileService::getFileUrl($value) : '';
}
}

View File

@@ -0,0 +1,32 @@
<?php
namespace app\common\model\lh;
use app\common\model\BaseModel;
use think\model\concern\SoftDelete;
use app\common\service\FileService;
/**
* 量化记录模型
* Class LhRecord
* @package app\common\model\lh
*/
class LhRecord extends BaseModel
{
use SoftDelete;
protected $name = 'lh_record';
protected $deleteTime = 'delete_time';
/**
* @notes 图片域名替换
* @param $value
* @return string
* @author Tab
* @date 2021/7/17 14:28
*/
public function getLogoAttr($value)
{
return trim($value) ? FileService::getFileUrl($value) : '';
}
}