1. user_register.dwt
添加手机注册框 html代码,去除 datatype="e" //验证邮箱 否则会提示邮箱格式不对
2. UserController.class.php
var_dump($variables);exit(); //打印变量,终止脚本执行
(调试使用,不需要加入代码)
注册方法有个 other变量
要把新增的 phone加入
$other['mobile_phone'] 来自于 UsersModel.class.php数据模型中的
最后就可以完成注册了