diff --git a/http/http-client.env.json b/http/http-client.env.json index c331818a..ad8d6e44 100644 --- a/http/http-client.env.json +++ b/http/http-client.env.json @@ -1,6 +1,6 @@ { "dev": { "cookie": "mozi-assist={\"show\":false,\"audio\":false,\"speed\":\"middle\",\"zomm\":1,\"cursor\":false,\"pointer\":false,\"bigtext\":false,\"overead\":false}; SESSION=dc56cf1a-7f74-4148-af2f-d8bde7dec653; XSRF-TOKEN=acab263c-7605-4765-873e-d0810c6d6973s", - "token": "acab263c-7605-4765-873e-d0810c6d6973" + "token": "acab263c-7605-4765-873e-d0810c6d6973s" } } \ No newline at end of file diff --git a/http/settings.http b/http/settings.http index 4a59d0c7..eabde133 100644 --- a/http/settings.http +++ b/http/settings.http @@ -3,7 +3,7 @@ DELETE http://localhost:8090/api/v1alpha1/settings/theme-hao-setting Content-Type: application/json Sec-Fetch-Mode: cors -X-XSRF-TOKEN: {{$uuid}} +X-XSRF-TOKEN: {{token}} Cookie: {{cookie}} @@ -13,7 +13,7 @@ POST http://localhost:8090/api/v1alpha1/settings Content-Type: application/json Sec-Fetch-Mode: cors Cookie: {{cookie}} -X-XSRF-TOKEN: {{$uuid}} +X-XSRF-TOKEN: {{token}} { "apiVersion": "v1alpha1", @@ -167,12 +167,12 @@ X-XSRF-TOKEN: {{$uuid}} ] }, { - "group": "menu", + "group": "footer", "label": "菜单映射", "formSchema": [ { "$formkit": "text", - "name": "footer_menu", + "name": "menu", "label": "底部相关链接", "placeholder": "请填写 metadata name", "help": "需要通过开发者模式获取菜单对应的 metadata name" diff --git a/settings.yaml b/settings.yaml index c3c56ec4..fe5b99d8 100644 --- a/settings.yaml +++ b/settings.yaml @@ -89,7 +89,7 @@ spec: placeholder: 请填写个人卡片描述信息 help: "支持使用 HTML 标签" - group: footer - label: 菜单映射 + label: 页脚 formSchema: - $formkit: text name: menu diff --git a/templates/modules/footer.html b/templates/modules/footer.html index 5b4b6474..d2c77b04 100644 --- a/templates/modules/footer.html +++ b/templates/modules/footer.html @@ -1,7 +1,7 @@ -