no message

This commit is contained in:
hajimi
2026-06-11 12:15:29 +08:00
parent 10ebe39c30
commit 96efa1d905
5859 changed files with 815501 additions and 5 deletions
@@ -0,0 +1,20 @@
<?php
namespace app\common\model\popup;
use app\common\model\BaseModel;
/**
* 弹窗操作日志
*/
class PagePopupLog extends BaseModel
{
protected $name = 'page_popup_log';
protected $autoWriteTimestamp = false;
public function getActionTextAttr($value, $data): string
{
$map = [1 => '展示', 2 => '点击', 3 => '关闭'];
return $map[$data['action']] ?? '';
}
}