【操盘手】 流量分发列表+新建功能

This commit is contained in:
wong
2025-05-26 17:56:12 +08:00
parent 26504d3040
commit 778b5285f4
8 changed files with 435 additions and 12 deletions

View File

@@ -0,0 +1,25 @@
<?php
namespace app\cunkebao\model;
use think\Model;
/**
* 自动点赞工作台模型
*/
class WorkbenchTrafficConfig extends Model
{
protected $pk = 'id';
protected $name = 'workbench_traffic_config';
// 自动写入时间戳
protected $autoWriteTimestamp = true;
protected $createTime = 'createTime';
protected $updateTime = 'updateTime';
// 定义关联的工作台
public function workbench()
{
return $this->belongsTo('Workbench', 'workbenchId', 'id');
}
}