123456789101112131415161718 |
- <?php
- namespace app\common\model\base\msg;
- /**
- * @title : 微信公众号(服务号)消息模板管理
- * @desc :
- * @Author : Rock
- * @Date : 2023-04-08 16:20:26
- */
- use app\common\model\Common;
- class WxTpl extends Common
- {
- protected $name = "system_wxsub_tpl";
- public function setParamNumAttr($value,$data)
- {
- preg_match_all('/.DATA}}/',$data['content'],$matches);
- return count($matches);
- }
- }
|