Files
ulthon_admin/extend/base/admin/service/adminInitData/SystemAdmin.php
augushong 553047025c refactor(install): 种子退役,migrate:run 一条命令完成建表与初始数据
新增 InitDataAlignService 六域对齐(超管/角色/权限节点/配置/快捷入口/商城演示)与 20260909130000 迁移;SystemAdmin 快照以字面量哈希入库;删除种子三件与安装锁依赖,seeds 目录留 .gitkeep;README/tests/规则等 11 处说明同步。

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-09-09 14:38:10 +00:00

25 lines
639 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/**
* @internal-framework
*
* 此文件为框架核心初始化数据
*
* 用途:超级管理员初始化(password 为 password('123456') 的 40 位字面量哈希,
* 不得调用 password() 生成,保证迁移上下文可用且结果确定)
* 维护者:框架维护者
*
* 注意:此文件属于框架内核,业务开发者不应修改
*/
$ul_system_admin = array(
array(
"id" => 1,
"head_img" => "/static/admin/images/head.jpg",
"username" => "admin",
"password" => "ac1e198122f74121a69b7bc9048561973a433daa",
"status" => 1,
)
);
return $ul_system_admin;