chore: 初始化脚手架 — sunny_mochi 企业级 Flutter 模板

Core 基础设施:Flavor 三包体系、Drift+SQLCipher 加密数据库
7 拦截器 Dio 网络栈、CrashReporter 崩溃日志、Sealed Failure 错误体系
5 色板主题系统、Auth 认证骨架(Clean Architecture)、Dev Panel、Mock Adapter

通过验证:flutter analyze(0 errors)、flutter test(全绿)、staging APK 74.8MB
This commit is contained in:
SkyJourney
2026-05-14 12:51:05 +08:00
commit 61017f1c39
204 changed files with 15386 additions and 0 deletions
View File
+22
View File
@@ -0,0 +1,22 @@
{
"code": "00000",
"msg": "success",
"data": {
"saTokenInfo": {
"tokenName": "satoken",
"tokenValue": "mock-access-token-dev-1234567890abcdef",
"loginId": "1001",
"loginType": "login"
},
"userInfo": {
"realName": "Mock User",
"avatar": "",
"phone": "13800138000",
"email": "mock@example.com",
"sex": 1,
"workNo": "EMP001",
"orgName": "Example Corp",
"deptName": "Engineering"
}
}
}
@@ -0,0 +1,8 @@
{
"code": "00000",
"msg": "success",
"data": {
"access_token": "mock-refreshed-access-token-abcdef",
"refresh_token": "mock-refreshed-refresh-token-fedcba"
}
}
@@ -0,0 +1,5 @@
{
"code": "00000",
"msg": "success",
"data": "123456"
}
@@ -0,0 +1,5 @@
{
"code": "00000",
"msg": "success",
"data": null
}
+7
View File
@@ -0,0 +1,7 @@
{
"code": "00000",
"msg": "success",
"data": {
"url": "https://example.com/mock-avatar.jpg"
}
}
+15
View File
@@ -0,0 +1,15 @@
{
"code": "00000",
"msg": "success",
"data": {
"id": "1001",
"realName": "Mock User",
"avatar": "",
"phone": "13800138000",
"email": "mock@example.com",
"sex": 1,
"workNo": "EMP001",
"orgName": "Example Corp",
"deptName": "Engineering"
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
View File
View File
View File
View File