mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-30 06:20:50 +00:00
更新管理员默认头像
This commit is contained in:
parent
8e84eaf838
commit
e19572a54a
@ -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)) {
|
||||
|
||||
@ -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);
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
|
||||
BIN
crmeb/public/statics/system_images/admin_head_pic.png
Normal file
BIN
crmeb/public/statics/system_images/admin_head_pic.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.2 KiB |
Loading…
x
Reference in New Issue
Block a user