<?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 />
{{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"
            },
            "remark":{
                "value":"{remark.DATA}",
                "color":"#000000"
            }
        }
}';
return $wx_tpl_string;
?>