1. 账号矩阵系统搭建首先需要注意的是支持多平台,多账号,可以实现流量互通
2. 账号矩阵系统需要可以查看分发内容的相关数据,如:播放量、点赞量、分享量、转发量等,可以根据筛选条件查看各个账号下各时间段行为表现,如近7天、近15天,近30天数据行为分析,方便通过数据表现对账号及输出内容做优化调整
3. 内容标题多元化、多样化,在输出不同平台内容时,还需要分析平台规则,根据规则及用户检索习惯,设置内容标题,实现不同平台的关键词侵占,达到用户搜索立即触达的效果
4. 用户消息及时触达,如抖音短视频平台,我们做了单平台多账号的矩阵式内容分发,在员工无法及时触达客户评论及意向客户时,系统还需要能够根据用户评论内容在我们我发及时回复时能够快速准确的响应,防止意向线索流失
当然,这些功能针对于矩阵号运营只能说是基础,可能还会有更多更丰富的玩法,也欢迎各位小程序坪论区或私信沟通交流。
相对于其他系统,该系统得开发及部署难度主要在各平台官方应用权限的申请上,据小编了解,目前抖音短视频平台部分权限内侧名额已满,巧妇难为无米之炊,在做相关程序开发前还是要先确保拿到各项开发权限的。
场景:当普通对象属性更改后,触发所绑定的 onChange 回调;
思路:能更改属性的有 set 和 deleteProperty 这两个 trap,在其中调用 onChange 方法即可
curl --location --request GET 'https://open.douyin.com/item/comment/list/?open_id=ba253642-0590-40bc-9bdf-9a1334b94059&cursor=0&count=10&item_id=@8hxdhauTCMppanGnM4ltGM780mDqPP+KPpR0qQOmLVAXb/T060zdRmYqig357zEBq6CZRp4NVe6qLIJW/V/x1w==&sort_type=time' \
--header 'access-token: act.1d1021d2aee3d41fee2d2add43456badMFZnrhFhfWotu3Ecuiuka27L56lr' \
{
"extra": {
"sub_description": "",
"logid": "202008121419360101980821035705926A",
"now": 1597213176393,
"error_code": 0,
"description": "",
"sub_error_code": 0
},
"data": {
"cursor": 1,
"error_code": 0,
"description": "",
"has_more": true,
"list": [
{
"top": true,
"comment_id": "",
"comment_user_id": "",
"content": "回复内容",
"create_time": 1607399832,
"digg_count": 647,
"reply_comment_total": 12
}
]
}
}
* 创建工程项目
*/
public function createProjectAction() {
$this->useLayout('dydqtshoppc-head.html');
$id = $this->request->getIntParam('id');
//获取视频信息
$video_model = new App_Model_Douyin_MysqlVideoStorage();
$video_info = $video_model->getRowByIdSid($id, $this->sid);
$use_platform = empty($video_info['dv_use_platform']) ? [] : json_decode($video_info['dv_use_platform'], 1);
if (!empty($video_info)) {
$video_cfg = empty($video_info['dv_platform']) ? null : json_decode($video_info['dv_platform'], 1);
}
//视频混剪模式
$video_mixed_mode = plum_parse_config('project_mixed_mode','dydqt/project');
$this->output['video_info'] = $video_info;
$this->output['use_platform'] = $use_platform;
$this->output['video_cfg'] = empty($video_cfg) ? null : $video_cfg;
$this->output['video_mixed_mode'] = $video_mixed_mode;
$this->output['font_map'] = (new App_Plugin_Ffmpeg_VideoPlugin())->getFontMap();
$color_list = plum_parse_config('color_list', 'config');
$this->output['color_list'] = $color_list;
//火山引擎、腾讯云配音
$huoshan_vcn = plum_parse_config('hsyq_vcn', 'system');
$tencent_vcn = plum_parse_config('txy_vcn', 'system');
$this->output['audio_vcn'] = empty($tencent_vcn) ? $huoshan_vcn : $tencent_vcn;
$this->output['platform_list'] = plum_parse_config('platform_list', 'dydqt/project');
$this->displaySmarty('dydqtshoppc/video/create-project.tpl');
}
/*
* 添加/编辑视频
*/
public function addVideoAction(){
$this->useLayout('dydqtshoppc-head.html');
$id = $this->request->getIntParam('id');
//获取视频信息
$Video_model = new App_Model_Douyin_MysqlVideoStorage();
$video_info = $Video_model->getRowByIdSid($id, $this->sid);
//视频混剪模式
$video_mixed_mode = plum_parse_config('project_mixed_mode','dydqt/project');
$this->output['video_info'] = $video_info;
$this->output['video_mixed_mode'] = $video_mixed_mode;
$this->displaySmarty('dydqtshoppc/video/addVideo.html');
}
/*
* 保存工程配置
*/
public function saveItemConfigAction() {
$dv_id = $this->request->getIntParam('dv_id');
unset($_REQUEST['q']);
unset($_REQUEST['dv_id']);
//获取视频信息
$video_model = new App_Model_Douyin_MysqlVideoStorage();
$video_info = $video_model->getRowByIdSid($dv_id, $this->sid);
if (empty($video_info)) {
$this->displayJsonError('参数错误');
}
$curr_platform = json_decode($video_info['dv_platform'], 1);
$curr_platform = is_null($curr_platform) ? [] : $curr_platform;
//发音人合集
if (isset($_REQUEST['a_vcn'])) {
$vcn = $this->request->getStrParam('a_vcn');
$vcn = explode(',', $vcn);
unset($_REQUEST['a_vcn']);
$curr_platform['vcn'] = array_combine($vcn, $vcn);
}