<?php
/**
 * ThemeSeeder.php
 *
 * @copyright  2023 beikeshop.com - All Rights Reserved
 * @link       https://beikeshop.com
 * @author     Edward Yang <yangjin@guangda.work>
 * @created    2023-03-16 14:26:53
 * @modified   2023-03-16 14:26:53
 */

namespace Database\Seeders;

use Beike\Repositories\SettingRepo;
use Illuminate\Database\Seeder;

class ThemeSeeder extends Seeder
{

    /**
     * Run the database seeds.
     *
     * @return void
     * @throws \Exception
     */
    public function run()
    {
        $menuSetting = $this->getMenuSetting();
        SettingRepo::update('system', 'base', ['menu_setting' => $menuSetting]);

        $homeSetting = $this->getHomeSetting();
        SettingRepo::update('system', 'base', ['design_setting' => $homeSetting]);

        $footerSetting = $this->getFooterSetting();
        SettingRepo::update('system', 'base', ['footer_setting' => $footerSetting]);
    }

    /**
     * 设置头部菜单数据
     *
     * @return array
     * @throws \Exception
     */
    private function getMenuSetting(): array
    {
        return [
            "menus" => [
                [
                    "isFull" => false,
                    "badge" => [
                        "isShow" => false,
                        "name" => [
                            "en" => "",
                            "zh_cn" => ""
                        ],
                        "bg_color" => "#fd560f",
                        "text_color" => "#ffffff"
                    ],
                    "link" => [
                        "type" => "category",
                        "value" => 100006,
                        "text" => [],
                        "link" => ""
                    ],
                    "name" => [
                        "en" => "Sports",
                        "zh_cn" => "运动潮吧"
                    ],
                    "isChildren" => false,
                    "childrenGroup" => [
                        [
                            "name" => [
                                "en" => "leading the fashion",
                                "zh_cn" => "引领时尚"
                            ],
                            "type" => "",
                            "image" => [
                                "image" => [],
                                "link" => [
                                    "type" => "product",
                                    "value" => "",
                                    "text" => []
                                ]
                            ],
                            "children" => [
                                [
                                    "name" => [],
                                    "link" => [
                                        "type" => "brand",
                                        "value" => 3,
                                        "text" => [
                                            "en" => "",
                                            "zh_cn" => ""
                                        ],
                                        "link" => ""
                                    ]
                                ],
                                [
                                    "name" => [],
                                    "link" => [
                                        "type" => "category",
                                        "value" => 100008,
                                        "text" => [
                                            "en" => "",
                                            "zh_cn" => ""
                                        ],
                                        "link" => ""
                                    ]
                                ],
                                [
                                    "name" => [],
                                    "link" => [
                                        "type" => "brand",
                                        "value" => 5,
                                        "text" => [
                                            "en" => "",
                                            "zh_cn" => ""
                                        ],
                                        "link" => ""
                                    ]
                                ],
                                [
                                    "name" => [],
                                    "link" => [
                                        "type" => "category",
                                        "value" => 100003,
                                        "text" => [
                                            "en" => "",
                                            "zh_cn" => ""
                                        ],
                                        "link" => ""
                                    ]
                                ],
                                [
                                    "name" => [],
                                    "link" => [
                                        "type" => "category",
                                        "value" => 100010,
                                        "text" => [
                                            "en" => "",
                                            "zh_cn" => ""
                                        ],
                                        "link" => ""
                                    ]
                                ],
                                [
                                    "name" => [],
                                    "link" => [
                                        "type" => "category",
                                        "value" => 100010,
                                        "text" => [
                                            "en" => "",
                                            "zh_cn" => ""
                                        ],
                                        "link" => ""
                                    ]
                                ]
                            ]
                        ],
                        [
                            "name" => [
                                "en" => "Special offer",
                                "zh_cn" => "特价优惠"
                            ],
                            "type" => "link",
                            "image" => [
                                "image" => [],
                                "link" => [
                                    "type" => "product",
                                    "value" => "",
                                    "text" => []
                                ]
                            ],
                            "children" => [
                                [
                                    "name" => [],
                                    "link" => [
                                        "type" => "category",
                                        "value" => 100008,
                                        "text" => [
                                            "en" => "",
                                            "zh_cn" => ""
                                        ],
                                        "link" => ""
                                    ]
                                ],
                                [
                                    "name" => [],
                                    "link" => [
                                        "type" => "brand",
                                        "value" => 6,
                                        "text" => [
                                            "en" => "",
                                            "zh_cn" => ""
                                        ],
                                        "link" => ""
                                    ]
                                ],
                                [
                                    "name" => [],
                                    "link" => [
                                        "type" => "category",
                                        "value" => 100003,
                                        "text" => [
                                            "en" => "",
                                            "zh_cn" => ""
                                        ],
                                        "link" => ""
                                    ]
                                ],
                                [
                                    "name" => [],
                                    "link" => [
                                        "type" => "brand",
                                        "value" => 7,
                                        "text" => [
                                            "en" => "",
                                            "zh_cn" => ""
                                        ],
                                        "link" => ""
                                    ]
                                ],
                                [
                                    "name" => [],
                                    "link" => [
                                        "type" => "brand",
                                        "value" => 8,
                                        "text" => [
                                            "en" => "",
                                            "zh_cn" => ""
                                        ],
                                        "link" => ""
                                    ]
                                ],
                                [
                                    "name" => [],
                                    "link" => [
                                        "type" => "brand",
                                        "value" => 2,
                                        "text" => [
                                            "en" => "",
                                            "zh_cn" => ""
                                        ],
                                        "link" => ""
                                    ]
                                ]
                            ]
                        ],
                        [
                            "name" => [
                                "en" => "Popular products",
                                "zh_cn" => "爆款商品"
                            ],
                            "type" => "image",
                            "image" => [
                                "image" => [
                                    "en" => "catalog/demo/banner/2_en.jpg",
                                    "zh_cn" => "catalog/demo/banner/2.jpg"
                                ],
                                "link" => [
                                    "type" => "product",
                                    "value" => 1,
                                    "text" => [],
                                    "link" => ""
                                ]
                            ],
                            "children" => []
                        ]
                    ]
                ],
                [
                    "isFull" => false,
                    "badge" => [
                        "isShow" => false,
                        "name" => [
                            "en" => "NEW",
                            "zh_cn" => "新品"
                        ],
                        "bg_color" => "#7628A2",
                        "text_color" => "#ffffff"
                    ],
                    "link" => [
                        "type" => "category",
                        "value" => 100003,
                        "text" => [],
                        "link" => ""
                    ],
                    "name" => [
                        "en" => "Fashion",
                        "zh_cn" => "时尚潮流"
                    ],
                    "isChildren" => false,
                    "childrenGroup" => [
                        [
                            "name" => [
                                "en" => "global purchase",
                                "zh_cn" => "全球购"
                            ],
                            "type" => "link",
                            "image" => [
                                "image" => [],
                                "link" => [
                                    "type" => "product",
                                    "value" => "",
                                    "text" => []
                                ]
                            ],
                            "children" => [
                                [
                                    "name" => [],
                                    "link" => [
                                        "type" => "brand",
                                        "value" => 8,
                                        "text" => [
                                            "en" => "",
                                            "zh_cn" => ""
                                        ],
                                        "link" => "",
                                        "new_window" => true
                                    ]
                                ],
                                [
                                    "name" => [],
                                    "link" => [
                                        "type" => "category",
                                        "value" => 100003,
                                        "text" => [
                                            "en" => "",
                                            "zh_cn" => ""
                                        ],
                                        "link" => ""
                                    ]
                                ],
                                [
                                    "name" => [],
                                    "link" => [
                                        "type" => "brand",
                                        "value" => 7,
                                        "text" => [
                                            "en" => "",
                                            "zh_cn" => ""
                                        ],
                                        "link" => ""
                                    ]
                                ],
                                [
                                    "name" => [],
                                    "link" => [
                                        "type" => "page",
                                        "value" => 21,
                                        "text" => [
                                            "en" => "",
                                            "zh_cn" => ""
                                        ],
                                        "link" => ""
                                    ]
                                ]
                            ]
                        ],
                        [
                            "name" => [
                                "en" => "Fashion",
                                "zh_cn" => "时尚"
                            ],
                            "type" => "image",
                            "image" => [
                                "image" => [
                                    "en" => "catalog/demo/product/16.jpg",
                                    "zh_cn" => "catalog/demo/product/16.jpg"
                                ],
                                "link" => [
                                    "type" => "product",
                                    "value" => 4,
                                    "text" => [],
                                    "link" => ""
                                ]
                            ],
                            "children" => [
                                [
                                    "name" => [],
                                    "link" => [
                                        "type" => "custom",
                                        "value" => "https://www.baidu.com",
                                        "text" => [
                                            "en" => "",
                                            "zh_cn" => "baidu "
                                        ],
                                        "link" => "",
                                        "new_window" => true
                                    ]
                                ]
                            ]
                        ],
                        [
                            "name" => [
                                "en" => "recommended",
                                "zh_cn" => "店长推荐"
                            ],
                            "type" => "image",
                            "image" => [
                                "image" => [
                                    "en" => "catalog/demo/product/13.jpg",
                                    "zh_cn" => "catalog/demo/product/13.jpg"
                                ],
                                "link" => [
                                    "type" => "product",
                                    "value" => 2,
                                    "text" => [],
                                    "link" => ""
                                ]
                            ],
                            "children" => []
                        ]
                    ]
                ],
                [
                    "isFull" => false,
                    "badge" => [
                        "isShow" => false,
                        "name" => [
                            "en" => "",
                            "zh_cn" => ""
                        ],
                        "bg_color" => "#fd560f",
                        "text_color" => "#ffffff"
                    ],
                    "link" => [
                        "type" => "category",
                        "value" => 100007,
                        "text" => [],
                        "link" => ""
                    ],
                    "name" => [
                        "en" => "Digital",
                        "zh_cn" => "数码产品"
                    ],
                    "isChildren" => false,
                    "childrenGroup" => [
                        [
                            "name" => [
                                "en" => "Big promotion",
                                "zh_cn" => "大牌促销"
                            ],
                            "type" => "",
                            "image" => [
                                "image" => [],
                                "link" => [
                                    "type" => "product",
                                    "value" => "",
                                    "text" => []
                                ]
                            ],
                            "children" => [
                                [
                                    "name" => [],
                                    "link" => [
                                        "type" => "brand",
                                        "value" => 2,
                                        "text" => [
                                            "en" => "",
                                            "zh_cn" => ""
                                        ],
                                        "link" => ""
                                    ]
                                ],
                                [
                                    "name" => [],
                                    "link" => [
                                        "type" => "brand",
                                        "value" => 8,
                                        "text" => [
                                            "en" => "",
                                            "zh_cn" => ""
                                        ],
                                        "link" => ""
                                    ]
                                ],
                                [
                                    "name" => [],
                                    "link" => [
                                        "type" => "brand",
                                        "value" => 9,
                                        "text" => [
                                            "en" => "",
                                            "zh_cn" => ""
                                        ],
                                        "link" => ""
                                    ]
                                ],
                                [
                                    "name" => [],
                                    "link" => [
                                        "type" => "brand",
                                        "value" => 1,
                                        "text" => [
                                            "en" => "",
                                            "zh_cn" => ""
                                        ],
                                        "link" => ""
                                    ]
                                ],
                                [
                                    "name" => [],
                                    "link" => [
                                        "type" => "brand",
                                        "value" => 6,
                                        "text" => [
                                            "en" => "",
                                            "zh_cn" => ""
                                        ],
                                        "link" => ""
                                    ]
                                ]
                            ]
                        ],
                        [
                            "name" => [
                                "en" => "Activity of gift",
                                "zh_cn" => "活动礼品"
                            ],
                            "type" => "",
                            "image" => [
                                "image" => [],
                                "link" => [
                                    "type" => "product",
                                    "value" => "",
                                    "text" => []
                                ]
                            ],
                            "children" => [
                                [
                                    "name" => [],
                                    "link" => [
                                        "type" => "category",
                                        "value" => 100003,
                                        "text" => [
                                            "en" => "",
                                            "zh_cn" => ""
                                        ],
                                        "link" => ""
                                    ]
                                ],
                                [
                                    "name" => [],
                                    "link" => [
                                        "type" => "category",
                                        "value" => 100006,
                                        "text" => [
                                            "en" => "",
                                            "zh_cn" => ""
                                        ],
                                        "link" => ""
                                    ]
                                ],
                                [
                                    "name" => [],
                                    "link" => [
                                        "type" => "category",
                                        "value" => 100012,
                                        "text" => [
                                            "en" => "",
                                            "zh_cn" => ""
                                        ],
                                        "link" => ""
                                    ]
                                ],
                                [
                                    "name" => [],
                                    "link" => [
                                        "type" => "category",
                                        "value" => 100006,
                                        "text" => [
                                            "en" => "",
                                            "zh_cn" => ""
                                        ],
                                        "link" => ""
                                    ]
                                ],
                                [
                                    "name" => [],
                                    "link" => [
                                        "type" => "category",
                                        "value" => 100010,
                                        "text" => [
                                            "en" => "",
                                            "zh_cn" => ""
                                        ],
                                        "link" => ""
                                    ]
                                ]
                            ]
                        ],
                        [
                            "name" => [
                                "en" => "All three fold",
                                "zh_cn" => "全场三折"
                            ],
                            "type" => "",
                            "image" => [
                                "image" => [],
                                "link" => [
                                    "type" => "product",
                                    "value" => "",
                                    "text" => []
                                ]
                            ],
                            "children" => [
                                [
                                    "name" => [],
                                    "link" => [
                                        "type" => "brand",
                                        "value" => 1,
                                        "text" => [
                                            "en" => "",
                                            "zh_cn" => ""
                                        ],
                                        "link" => ""
                                    ]
                                ],
                                [
                                    "name" => [],
                                    "link" => [
                                        "type" => "brand",
                                        "value" => 3,
                                        "text" => [
                                            "en" => "",
                                            "zh_cn" => ""
                                        ],
                                        "link" => ""
                                    ]
                                ],
                                [
                                    "name" => [],
                                    "link" => [
                                        "type" => "brand",
                                        "value" => 7,
                                        "text" => [
                                            "en" => "",
                                            "zh_cn" => ""
                                        ],
                                        "link" => ""
                                    ]
                                ],
                                [
                                    "name" => [],
                                    "link" => [
                                        "type" => "brand",
                                        "value" => 8,
                                        "text" => [
                                            "en" => "",
                                            "zh_cn" => ""
                                        ],
                                        "link" => ""
                                    ]
                                ],
                                [
                                    "name" => [],
                                    "link" => [
                                        "type" => "brand",
                                        "value" => 9,
                                        "text" => [
                                            "en" => "",
                                            "zh_cn" => ""
                                        ],
                                        "link" => ""
                                    ]
                                ]
                            ]
                        ]
                    ]
                ],
                [
                    "isFull" => false,
                    "badge" => [
                        "isShow" => false,
                        "name" => [
                            "en" => "Hot",
                            "zh_cn" => "热卖"
                        ],
                        "bg_color" => "#FF4D00",
                        "text_color" => "#ffffff"
                    ],
                    "link" => [
                        "type" => "category",
                        "value" => 100018,
                        "text" => [],
                        "link" => ""
                    ],
                    "name" => [
                        "en" => "Hot",
                        "zh_cn" => "热卖特惠"
                    ],
                    "isChildren" => false,
                    "childrenGroup" => []
                ],
                [
                    "isFull" => false,
                    "badge" => [
                        "isShow" => false,
                        "name" => [
                            "en" => "Sales",
                            "zh_cn" => "大牌直销"
                        ],
                        "bg_color" => "#00C5C5",
                        "text_color" => "#ffffff"
                    ],
                    "link" => [
                        "type" => "static",
                        "value" => "brands.index",
                        "text" => [],
                        "link" => ""
                    ],
                    "name" => [
                        "en" => "Brand",
                        "zh_cn" => "国际潮牌"
                    ],
                    "isChildren" => false,
                    "childrenGroup" => []
                ],
                [
                    "isFull" => false,
                    "badge" => [
                        "isShow" => false,
                        "name" => [
                            "en" => "",
                            "zh_cn" => ""
                        ],
                        "bg_color" => "",
                        "text_color" => ""
                    ],
                    "link" => [
                        "type" => "page_category",
                        "value" => "1",
                        "text" => [],
                        "link" => ""
                    ],
                    "name" => [
                        "en" => "News",
                        "zh_cn" => "公司新闻"
                    ],
                    "isChildren" => false,
                    "childrenGroup" => []
                ]
            ]
        ];
    }

    /**
     * 设置首页装修数据
     *
     * @return mixed
     * @throws \Exception
     */
    private function getHomeSetting(): array
    {
        return [
            "modules" => [
                [
                    "content" => [
                        "style" => [
                            "background_color" => ""
                        ],
                        "full" => true,
                        "floor" => [
                            "2" => "",
                            "3" => ""
                        ],
                        "images" => [
                            [
                                "image" => [
                                    "en" => "catalog/demo/banner/banner-4-en.jpg",
                                    "zh_cn" => "catalog/demo/banner/banner-4.jpg"
                                ],
                                "show" => true,
                                "link" => [
                                    "type" => "category",
                                    "value" => 100012,
                                    "link" => ""
                                ]
                            ],
                            [
                                "image" => [
                                    "en" => "catalog/demo/banner/banner-3-en.jpg",
                                    "zh_cn" => "catalog/demo/banner/banner-3.jpg"
                                ],
                                "show" => false,
                                "link" => [
                                    "type" => "category",
                                    "value" => 100008,
                                    "link" => ""
                                ]
                            ]
                        ]
                    ],
                    "code" => "slideshow",
                    "name" => "幻灯片",
                    "module_id" => "b0448efb0989"
                ],
                [
                    "code" => "image401",
                    "content" => [
                        "style" => [
                            "background_color" => ""
                        ],
                        "floor" => [
                            "zh_cn" => "",
                            "en" => ""
                        ],
                        "images" => [
                            [
                                "image" => [
                                    "en" => "catalog/demo/image_plus_1-en.png",
                                    "zh_cn" => "catalog/demo/image_plus_1.png"
                                ],
                                "show" => false,
                                "link" => [
                                    "type" => "category",
                                    "value" => 100000,
                                    "link" => ""
                                ]
                            ],
                            [
                                "image" => [
                                    "en" => "catalog/demo/image_plus_2-en.png",
                                    "zh_cn" => "catalog/demo/image_plus_2.png"
                                ],
                                "show" => false,
                                "link" => [
                                    "type" => "category",
                                    "value" => 100007,
                                    "link" => ""
                                ]
                            ],
                            [
                                "image" => [
                                    "en" => "catalog/demo/image_plus_3-en.png",
                                    "zh_cn" => "catalog/demo/image_plus_3.png"
                                ],
                                "show" => false,
                                "link" => [
                                    "type" => "product",
                                    "value" => "",
                                    "link" => ""
                                ]
                            ],
                            [
                                "image" => [
                                    "en" => "catalog/demo/image_plus_4-en.png",
                                    "zh_cn" => "catalog/demo/image_plus_4.png"
                                ],
                                "show" => true,
                                "link" => [
                                    "type" => "product",
                                    "value" => 2,
                                    "link" => ""
                                ]
                            ]
                        ]
                    ],
                    "module_id" => "g1vrlixfzfjk9a3k",
                    "name" => "一行四图-pro"
                ],
                [
                    "code" => "tab_product",
                    "content" => [
                        "style" => [
                            "background_color" => ""
                        ],
                        "floor" => [
                            "zh_cn" => "",
                            "en" => ""
                        ],
                        "editableTabsValue" => "0",
                        "tabs" => [
                            [
                                "title" => [
                                    "en" => "latest promotions",
                                    "zh_cn" => "最新促销"
                                ],
                                "products" => [
                                    1,
                                    2,
                                    3,
                                    4,
                                    5,
                                    7,
                                    8,
                                    11
                                ]
                            ],
                            [
                                "title" => [
                                    "en" => "Fashion sheet",
                                    "zh_cn" => "时尚单品"
                                ],
                                "products" => [
                                    6,
                                    49,
                                    328,
                                    9,
                                    10,
                                    11,
                                    12,
                                    13,
                                    14,
                                    15
                                ]
                            ]
                        ],
                        "title" => [
                            "en" => "Recommended products",
                            "zh_cn" => "推荐商品"
                        ]
                    ],
                    "module_id" => "s6e7e3vucriazzbi",
                    "name" => "选项卡商品"
                ],
                [
                    "code" => "image100",
                    "content" => [
                        "style" => [
                            "background_color" => ""
                        ],
                        "floor" => [
                            "zh_cn" => "",
                            "en" => ""
                        ],
                        "full" => true,
                        "images" => [
                            [
                                "image" => [
                                    "en" => "catalog/demo/banner/banner-2-en.png",
                                    "zh_cn" => "catalog/demo/banner/banner-2.png"
                                ],
                                "show" => true,
                                "link" => [
                                    "type" => "category",
                                    "value" => 100003,
                                    "link" => ""
                                ]
                            ]
                        ]
                    ],
                    "module_id" => "0htwy33z3xcituyx",
                    "name" => "单图模块"
                ],
                [
                    "code" => "brand",
                    "content" => [
                        "style" => [
                            "background_color" => ""
                        ],
                        "floor" => [
                            "en" => "",
                            "zh_cn" => ""
                        ],
                        "full" => true,
                        "title" => [
                            "en" => "Recommended Brand",
                            "zh_cn" => "推荐品牌"
                        ],
                        "brands" => [
                            1,
                            2,
                            3,
                            4,
                            5,
                            6,
                            7,
                            8,
                            9,
                            10,
                            11,
                            12
                        ]
                    ],
                    "module_id" => "yln7isoqlxovqz3k",
                    "name" => "品牌模块"
                ]
            ]
        ];
    }


    /**
     * 设置底部装修数据
     */
    private function getFooterSetting(): array
    {
        return [
            "services" => [
                "enable" => true,
                "items" => [
                    [
                        "image" => "catalog/demo/services-icon/4.png",
                        "title" => [
                            "en" => "Material world",
                            "zh_cn" => "物行天下"
                        ],
                        "sub_title" => [
                            "en" => "Multi - warehouse fast delivery",
                            "zh_cn" => "多仓直发 极速配送多仓直发 极速配送"
                        ],
                        "show" => false
                    ],
                    [
                        "image" => "catalog/demo/services-icon/3.png",
                        "title" => [
                            "en" => "Return all",
                            "zh_cn" => "退换无忧"
                        ],
                        "sub_title" => [
                            "en" => "Rest assured shopping return worry",
                            "zh_cn" => "放心购物 退还无忧放心购物 退还无忧"
                        ],
                        "show" => false
                    ],
                    [
                        "image" => "catalog/demo/services-icon/1.png",
                        "title" => [
                            "en" => "Delicate service",
                            "zh_cn" => "精致服务"
                        ],
                        "sub_title" => [
                            "en" => "Exquisite service and after-sales guarantee",
                            "zh_cn" => "精致服务 售后保障精致服务 售后保障"
                        ],
                        "show" => false
                    ],
                    [
                        "image" => "catalog/demo/services-icon/2.png",
                        "title" => [
                            "en" => "With reduced activity",
                            "zh_cn" => "满减活动"
                        ],
                        "sub_title" => [
                            "en" => "If 500 yuan is exceeded, a reduction of 90 yuan will be given",
                            "zh_cn" => "满500元立减90，新用户立减200"
                        ],
                        "show" => true
                    ]
                ]
            ],
            "content" => [
                "intro" => [
                    "logo" => "catalog/logo.png",
                    "text" => [
                        "en" => "<p>Chengdu Guangda Network Technology Co., Ltd. is a high-tech enterprise mainly engaged in Internet development. The company was established in August 2014.</p>",
                        "zh_cn" => "<p style=\"line-height: 1.4;\"><strong>成都光大网络科技有限公司</strong></p>\n<p style=\"line-height: 1.4;\">是一家专业互联网开发的高科技企业，公司成立于2014年8月。</p>\n<p style=\"line-height: 1.4;\">公司以为客户创造价值为核心价值观，帮助中小企业利用互联网工具提升产品销售。</p>"
                    ],
                    "social_network" => []
                ],
                "link1" => [
                    "title" => [
                        "en" => "About us",
                        "zh_cn" => "关于我们"
                    ],
                    "links" => [
                        [
                            "link" => "",
                            "type" => "page",
                            "value" => 21,
                            "text" => [
                                "en" => "About us",
                                "zh_cn" => "关于我们"
                            ]
                        ],
                        [
                            "type" => "page",
                            "value" => 18,
                            "text" => [],
                            "link" => ""
                        ],
                        [
                            "type" => "page",
                            "value" => 12,
                            "text" => [],
                            "link" => ""
                        ],
                        [
                            "type" => "static",
                            "value" => "account.order.index",
                            "text" => [
                                "en" => "",
                                "zh_cn" => ""
                            ],
                            "link" => ""
                        ]
                    ]
                ],
                "link2" => [
                    "title" => [
                        "en" => "Account",
                        "zh_cn" => "会员中心"
                    ],
                    "links" => [
                        [
                            "type" => "static",
                            "value" => "account.index",
                            "text" => [],
                            "link" => ""
                        ],
                        [
                            "type" => "static",
                            "value" => "account.order.index",
                            "text" => [],
                            "link" => ""
                        ],
                        [
                            "type" => "static",
                            "value" => "account.wishlist.index",
                            "text" => [],
                            "link" => ""
                        ],
                        [
                            "type" => "static",
                            "value" => "brands.index",
                            "text" => [
                                "en" => "",
                                "zh_cn" => ""
                            ],
                            "link" => ""
                        ]
                    ]
                ],
                "link3" => [
                    "title" => [
                        "en" => "Other",
                        "zh_cn" => "其他"
                    ],
                    "links" => [
                        [
                            "type" => "static",
                            "value" => "brands.index",
                            "text" => [],
                            "link" => ""
                        ],
                        [
                            "type" => "static",
                            "value" => "account.index",
                            "text" => [
                                "en" => "",
                                "zh_cn" => ""
                            ],
                            "link" => ""
                        ],
                        [
                            "type" => "page",
                            "value" => 20,
                            "text" => [
                                "en" => "",
                                "zh_cn" => ""
                            ],
                            "link" => ""
                        ],
                        [
                            "type" => "page",
                            "value" => 21,
                            "text" => [
                                "en" => "",
                                "zh_cn" => ""
                            ],
                            "link" => ""
                        ]
                    ]
                ],
                "contact" => [
                    "telephone" => "028-87966209",
                    "address" => [
                        "en" => "G8 Tianfu Software Park Chengdu China, Guangda Network Technology Co., Ltd.",
                        "zh_cn" => "成都市高新区益州大道中段1858号天府软件园G8 成都光大网络科技有限公司"
                    ],
                    "email" => "marketing@guangda.work"
                ]
            ],
            "bottom" => [
                "copyright" => [
                    "en" => "<div>Chengdu Guangda Network Technology &copy; 2023</div>",
                    "zh_cn" => "<div>成都光大网络科技 &copy; 2023</div>"
                ],
                "image" => "catalog/demo/banner/pay_icons.png"
            ]
        ];
    }
}
