Commit 97ab17fe by 宁成龙

完善判断

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