function getHeaderJson() {
    let headerJson = {
      "type": "page",
      "body": [
        {
          "type": "flex",
          "id": "u:e7752d0c1dbe",
          "justify": "flex-end",
          "items": [
            {
              "type": "dropdown-button",
              "label": "",
              "className": "header-menu",
              "buttons": [
                {
                  "type": "button",
                  "label": "中文",
                  "id": "u:6911502c8fcc",
                  "onEvent": {
                    "click": {
                      "actions": [
                        {
                          "script": "localStorage.setItem('language', 'zh-CN')\nlocation.reload()",
                          "actionType": "custom",
                          "args": {
                          }
                        }
                      ],
                      "weight": 0
                    }
                  }
                },
                {
                  "type": "button",
                  "label": "English",
                  "id": "u:e702685a7a45",
                  "onEvent": {
                    "click": {
                      "actions": [
                        {
                          "script": "localStorage.setItem('language', 'en-US')\r\nlocation.reload()",
                          "actionType": "custom"
                        }
                      ],
                      "weight": 0
                    }
                  },
                  "actionType": "",
                  "link": "/view/user_info"
                }
              ],
              "id": "u:4fedf7a987bf",
              "size": "md",
              "level": "default",
              "align": "right",
              "block": false,
              "hideCaret": true,
              "trigger": "hover",
              "icon": "./public/static/icon/language-change.png",
              "btnClassName": "no-border"
            },
            {
              "type": "dropdown-button",
              "label": "$userName",
              "className": "header-menu",
              "buttons": [
                {
                  "type": "button",
                  "label": "退出登录",
                  "actionType": "",
                  "id": "u:88d8afc464b5",
                  "url": "/login/out",
                  "blank": false,
                  "api": "/api/logout",
                  "onEvent": {
                    "click": {
                      "actions": [
                        {
                          "args": {
                            "options": {
                              "silent": false
                            },
                            "api": {
                              "url": "/api/logout",
                              "method": "post",
                              "messages": {
                              }
                            }
                          },
                          "outputVar": "responseResult",
                          "actionType": "ajax"
                        }
                      ],
                      "weight": 0
                    }
                  }
                }
              ],
              "id": "u:d324269526b9",
              "size": "md",
              "level": "default",
              "align": "right",
              "block": true,
              "trigger": "hover"
            }
          ]
        }
      ],
      "id": "u:d16525b6aae6",
      "initApi": "/api/userInfo"
    }

    return headerJson
}