fix: align admin behavior and Kratos integrations

This commit is contained in:
2026-08-14 14:14:51 +08:00
parent 8c4c6ba661
commit e0b0e1d8c8
123 changed files with 4334 additions and 1877 deletions
+3 -12
View File
@@ -241,20 +241,11 @@
来获取对应的参数。
</p>
<p class="text-sm text-gray-600">
后端需要提前
后端通过
<code class="bg-blue-100 px-1 py-0.5 rounded"
>import
"github.com/kra/kra/server/service/system"</code
>SettingsUsecase.ParameterByKey(ctx, key)</code
>
</p>
<p class="mb-2 text-sm text-gray-600">
然后调用
<code class="bg-blue-100 px-1 py-0.5 rounded"
>new(system.SysParamsService).GetSysParam("{{
formData.key
}}")</code
>
来获取对应的 value 值。
获取对应参数值,业务代码应通过 biz 层接口调用。
</p>
</div>
</el-drawer>