diff --git a/crmeb/app/services/system/admin/SystemAdminServices.php b/crmeb/app/services/system/admin/SystemAdminServices.php index 366f64452..96d28785c 100644 --- a/crmeb/app/services/system/admin/SystemAdminServices.php +++ b/crmeb/app/services/system/admin/SystemAdminServices.php @@ -263,6 +263,7 @@ class SystemAdminServices extends BaseServices $data['pwd'] = $this->passwordHash($data['pwd']); $data['add_time'] = time(); $data['roles'] = implode(',', $data['roles']); + $data['head_pic'] = '/statics/system_images/admin_head_pic.png'; return $this->transaction(function () use ($data) { if ($this->dao->save($data)) { diff --git a/crmeb/public/install/crmeb.sql b/crmeb/public/install/crmeb.sql index 738b3ddab..2ad429655 100755 --- a/crmeb/public/install/crmeb.sql +++ b/crmeb/public/install/crmeb.sql @@ -29204,7 +29204,7 @@ CREATE TABLE IF NOT EXISTS `eb_system_admin` ( -- INSERT INTO `eb_system_admin` (`id`, `account`, `head_pic`, `pwd`, `real_name`, `roles`, `last_ip`, `last_time`, `add_time`, `login_count`, `level`, `status`, `division_id`, `is_del`) VALUES -(1, 'admin', '', '$2y$10$Nw3c1OStH4mrTCir9P.wB.J7oeUSwMDMQRuW.4qNTyhcADean.YeS', 'CRMEB', '1', '124.116.164.158', 1669195280, 1669194971, 1, 0, 1, 0, 0); +(1, 'admin', '/statics/system_images/admin_head_pic.png', '$2y$10$Nw3c1OStH4mrTCir9P.wB.J7oeUSwMDMQRuW.4qNTyhcADean.YeS', 'CRMEB', '1', '124.116.164.158', 1669195280, 1669194971, 1, 0, 1, 0, 0); -- -------------------------------------------------------- diff --git a/crmeb/public/statics/system_images/admin_head_pic.png b/crmeb/public/statics/system_images/admin_head_pic.png new file mode 100644 index 000000000..b6c2d059c Binary files /dev/null and b/crmeb/public/statics/system_images/admin_head_pic.png differ