feat: 修正域名

This commit is contained in:
tangtanglove
2024-02-06 08:14:38 +08:00
parent 6e03a1c823
commit 9b694fb2f3
4 changed files with 9 additions and 9 deletions

View File

@@ -94,7 +94,7 @@ go run main.go
## 演示站点
香港站点,页面加载可能比较缓慢
- 地址http://smart.quarkcms.com/admin/#/
- 地址http://smart.quarkcloud.io/admin/#/
- 账号:```administrator```
- 密码:```123456```

View File

@@ -27,9 +27,9 @@ var webConfig = make(map[string]string)
// 配置表
func (model *Config) Seeder() {
seeders := []Config{
{Title: "网站名称", Type: "text", Name: "WEB_SITE_NAME", Sort: 0, GroupName: "基本", Value: "QuarkCMS", Remark: "", Status: 1},
{Title: "关键字", Type: "text", Name: "WEB_SITE_KEYWORDS", Sort: 0, GroupName: "基本", Value: "QuarkCMS", Remark: "", Status: 1},
{Title: "描述", Type: "textarea", Name: "WEB_SITE_DESCRIPTION", Sort: 0, GroupName: "基本", Value: "QuarkCMS", Remark: "", Status: 1},
{Title: "网站名称", Type: "text", Name: "WEB_SITE_NAME", Sort: 0, GroupName: "基本", Value: "QuarkCloud", Remark: "", Status: 1},
{Title: "关键字", Type: "text", Name: "WEB_SITE_KEYWORDS", Sort: 0, GroupName: "基本", Value: "QuarkCloud", Remark: "", Status: 1},
{Title: "描述", Type: "textarea", Name: "WEB_SITE_DESCRIPTION", Sort: 0, GroupName: "基本", Value: "QuarkCloud", Remark: "", Status: 1},
{Title: "Logo", Type: "picture", Name: "WEB_SITE_LOGO", Sort: 0, GroupName: "基本", Value: "", Remark: "", Status: 1},
{Title: "统计代码", Type: "textarea", Name: "WEB_SITE_SCRIPT", Sort: 0, GroupName: "基本", Value: "", Remark: "", Status: 1},
{Title: "网站域名", Type: "text", Name: "WEB_SITE_DOMAIN", Sort: 0, GroupName: "基本", Value: "", Remark: "", Status: 1},

View File

@@ -25,8 +25,8 @@ func (p *TeamInfo) Calculate() *descriptions.Component {
return p.Init().Result([]interface{}{
field.Text("作者").SetValue("tangtanglove"),
field.Text("联系方式").SetValue("dai_hang_love@126.com"),
field.Text("官方网址").SetValue("<a href='https://www.quarkcms.com' target='_blank'>www.quarkcms.com</a>"),
field.Text("文档地址").SetValue("<a href='https://www.quarkcms.com' target='_blank'>查看文档</a>"),
field.Text("官方网址").SetValue("<a href='https://quarkcloud.io' target='_blank'>quarkcloud.io</a>"),
field.Text("文档地址").SetValue("<a href='https://quarkcloud.io' target='_blank'>查看文档</a>"),
field.Text("BUG反馈").SetValue("<a href='https://github.com/quarkcloudio/quark-go/v2/issues' target='_blank'>提交BUG</a>"),
field.Text("代码仓储").SetValue("<a href='https://github.com/quarkcloudio/quark-go' target='_blank'>Github</a>"),
})

View File

@@ -87,12 +87,12 @@ func (p *Template) TemplateInit(ctx *builder.Context) interface{} {
{
"key": "1",
"title": "Quark",
"href": "http://www.quarkcms.com/",
"href": "http://quarkcloud.io",
},
{
"key": "2",
"title": "爱小圈",
"href": "http://www.ixiaoquan.com",
"title": "QuarkGo",
"href": "https://github.com/quarkcloudio/quark-go",
},
{
"key": "3",