search
  • Sign In
  • Sign Up
Password reset successful

Follow the proiects vou are interested in andi aet the latestnews about them taster

Change templates to customize text message content

Open the Yunzhixun developer console,Find the template library in the text message

Click on the upper right Angular creation template

微信图片_20180312113026.png

There are three types of templates, take the verification class template as an example:

微信图片_20180312113650.png

Display of one parameter:

$param = base64_decode($_POST['yzm']);

If you need to pass in multiple parameters, you can modify the template and add one {2}

Modify the smsyzm.php file parameter configuration

$yzm=base64_decode($_POST['yzm']);//多个参数使用英文逗号隔开(如:param=“a,b,c”)
$name='smile';
$param="$yzm,$name";

The corresponding member templates are modified in the same way as the notification templates.

new file
<?php echo "更改模板进行自定义设计短信内容";
Reset Code
Automatic operation
submit
Preview Clear