REAPI/app/merchant/model/MerchantMappingProduct.php
2024-11-02 15:27:08 +08:00

30 lines
481 B
PHP

<?php
declare (strict_types=1);
namespace app\merchant\model;
use think\admin\Model;
/**
* 系统日志模型
* @class SystemOplog
* @package think\admin\model
*/
class MerchantMappingProduct extends Model
{
protected $createTime = 'create_at';
protected $updateTime = false;
/**
* 格式化创建时间
* @param mixed $value
* @return string
*/
public function getCreateAtAttr($value): string
{
return format_datetime($value);
}
}