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,21 @@
<?php
namespace app\common\model\mall;
use app\common\model\BaseModel;
/**
* 积分、抽奖奖品模型
* Class MallGoods
* @package app\common\model\mall
*/
class MallGoods extends BaseModel
{
protected $name = 'mall_goods';
}

View File

@@ -0,0 +1,31 @@
<?php
namespace app\common\model\mall;
use app\common\model\BaseModel;
use app\common\service\FileService;
/**
* 奖品记录模型
* Class MallGoodsRecord
* @package app\common\model\mall
*/
class MallGoodsRecord extends BaseModel
{
protected $name = 'mall_goods_record';
/**
* @notes 图片域名替换
* @param $value
* @return string
* @author Tab
* @date 2021/7/17 14:28
*/
public function getMGoodsImageAttr($value)
{
return trim($value) ? FileService::getFileUrl($value) : '';
}
}