Commit 97ab17fe by 宁成龙

完善判断

parent a43c015d
Showing with 7 additions and 7 deletions
...@@ -97,13 +97,13 @@ class UserService ...@@ -97,13 +97,13 @@ class UserService
try { try {
DB::beginTransaction(); DB::beginTransaction();
$userData = [ $userData = [
"company_name" => $params["company_name"], "company_name" => $params["company_name"] ?? "",
"user_sn" => $params["user_sn"], "user_sn" => $params["user_sn"] ?? "",
"first_name" => $params["first_name"], "first_name" => $params["first_name"] ?? "",
"last_name" => $params["last_name"], "last_name" => $params["last_name"] ?? "",
"phone" => $params["phone"], "phone" => $params["phone"] ?? "",
"email" => $params["email"], "email" => $params["email"] ?? "",
"name" => $params["email"], "name" => $params["email"] ?? "",
"reg_source" => User::REG_SOURCE_MANUAL, "reg_source" => User::REG_SOURCE_MANUAL,
"remark" => $params["remark"] ?? "", "remark" => $params["remark"] ?? "",
"password" => "", "password" => "",
......
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 sign in to comment