<?php
/**
 * Copyright (C) OElove Webapp All rights reserved.
 * <E-Mail：service@phpcoo.com>
 * Url http://www.phpcoo.com
 *     http://www.oephp.com
 *     http://www.oelove.com
 * Update 2018.12.01
 * 微信消息提醒模板 - 收到新消息提醒 全局用
 * {{first.DATA}}<br />
消息类型：{{keyword1.DATA}}<br />
发送状态：{{keyword2.DATA}}<br />
发送时间：{{keyword3.DATA}}<br />
发送对象：{{keyword4.DATA}}<br />
{{remark.DATA}}
*/
$wx_tpl_string = '{
    "touser":"{openid}",
    "template_id":"{template_id}",
    "url":"{url}",
    "topcolor":"#FF0000",
        "data":{
            "first":{
                "value":"{first.DATA}",
                "color":"#000000"
            },
            "keyword1":{
                "value":"{keyword1.DATA}",
                "color":"#000000"
            },
            "keyword2":{
                "value":"{keyword2.DATA}",
                "color":"#000000"
            },
            "keyword3":{
                "value":"{keyword3.DATA}",
                "color":"#000000"
            },
			"keyword4":{
                "value":"{keyword4.DATA}",
                "color":"#000000"
            },
            "remark":{
                "value":"{remark.DATA}",
                "color":"#000000"
            }
        }
}';
return $wx_tpl_string;
?>