extract($sms_param, EXTR_PREFIX_SAME, "wddx");
$mtm = MessageTemplateModel::where('msg_template_code', $this->sms_template_code)->first();
eval('eval("\$data[\'content\'] = \"$mtm->content\";");');
php把字符串做为代码执行的函数eval
最新推荐文章于 2024-09-22 16:11:51 发布