优化uniapp

This commit is contained in:
hero920103 committed 2026-11-11 16:58:30 +08:00
1 parent 4f1acaa451
commit 8fc52c574f
49 files changed
+1952 -197

No files matched your search

+6 -6
View File
@@ -87,11 +87,11 @@ func (c *IndexPortalController) GetHeadMenu() {
// 使用 OR 逻辑查询 name 或 short_name
cond := orm.NewCondition()
cond = cond.Or("tenant_name", tenantName).Or("tenant_short_name", tenantName)
err := models.Orm.QueryTable(new(models.SystemTenant)).
SetCond(cond).
One(&tenant)
if err != nil {
fmt.Printf("[DEBUG] QueryTenant Error: %v, Looking for: %s\n", err, tenantName)
} else {
@@ -206,9 +206,9 @@ func (c *IndexPortalController) GetFooterData() {
// 准备默认的 Footer 配置数据
footerMap := map[string]string{
"sitename": "云泽官方网站",
"companyname": "云泽智能科技有限公司",
"copyright": "Copyright © 2026 Yunzer. All Rights Reserved.",
"sitename": "温新云官方网站",
"companyname": "连云港温新智能科技有限公司",
"copyright": "Copyright © 2026 WENXIN. All Rights Reserved.",
"icp": "苏ICP备2026000000号-1",
"description": "专业为企业建设数字化管理与官网门户的一站式 SaaS 服务平台",
"logo": "",
@@ -485,4 +485,4 @@ func (c *IndexPortalController) GetOnePageByPath() {
"data": nil,
}
_ = c.ServeJSON()
}
}