Commit e530df66 authored by 吴贤德's avatar 吴贤德

修复新增用户错误问题(表结构部分字段默认值问题,另外删除了一下垃圾字段)

parent 0e278b86
...@@ -91,6 +91,8 @@ class UserAction extends CommonAction{ ...@@ -91,6 +91,8 @@ class UserAction extends CommonAction{
$user["create_by"]=$_SESSION['_USER_INFO']['account']; $user["create_by"]=$_SESSION['_USER_INFO']['account'];
$user["last_login_time"]=time(); $user["last_login_time"]=time();
$user["last_login_ip"]="127.0.0.1"; $user["last_login_ip"]="127.0.0.1";
$user["update_time"]=time();
$user["remark"]='';
$uid = $UserModel->add($user); $uid = $UserModel->add($user);
if($uid){ if($uid){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment