REAPI/extend/sdk/taobao/top/domain/TmcPublishMessage.php
2024-09-29 15:43:18 +08:00

35 lines
960 B
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/**
* tmc消息列表, 最多50条元素结构与taobao.tmc.message.produce一致用json表示的消息列表。例如[{"content": "{\"tid\":1234554321,\"status\":\"X_LOGISTICS_PRINTED\",\"action_time\":\"2014-08-08 18:24:00\",\"seller_nick\": \"向阳aa\",\"operator\":\"小张\"}","topic": "taobao_jds_TradeTrace"},{"content": "{\"tid\":1234554321,\"status\":\"X_LOGISTICS_PRINTED\",\"action_time\":\"2014-08-08 18:24:00\",\"seller_nick\": \"向阳aa\",\"operator\":\"小张\"}","topic": "taobao_jds_TradeTrace"}]
* @author auto create
*/
class TmcPublishMessage
{
/**
* 消息内容的JSON表述必须按照topic的定义来填充
**/
public $content;
/**
* 消息的扩增属性用json格式表示
**/
public $json_ex_content;
/**
* 直发消息需要传入目标appkey
**/
public $target_app_key;
/**
* 目标分组
**/
public $target_group;
/**
* 消息类型
**/
public $topic;
}
?>