defaultSiteId(); $init_data = [ //物流公司 'company_list' => [ [ 'site_id' => $site_id, 'create_time' => time(), 'company_name' => '邮政EMS', 'logo' => 'addon/mall/express/ems.jpg', 'url' => 'https://www.ems.com.cn', 'express_no' => 'EMS', 'express_no_electronic_sheet' => 'EMS', 'electronic_sheet_switch' => 1, 'print_style' => [ [ 'template_name' => '一联130 76*130', 'template_size' => '130', ], [ 'template_name' => '一联130新 76*130', 'template_size' => '1301', ], [ 'template_name' => '二联180 100*180', 'template_size' => '180', ], [ 'template_name' => '二联180新 100*180', 'template_size' => '1801', ], [ 'template_name' => '二联150 100*150', 'template_size' => '0', ], [ 'template_name' => '二联150新 100*150', 'template_size' => '1501', ] ], 'exp_type' => [ [ 'text' => '特快专递', 'value' => 1 ], [ 'text' => '代收到付', 'value' => 8 ], [ 'text' => '快递包裹', 'value' => 9 ], [ 'text' => '电商标快', 'value' => 10 ], [ 'text' => '国内标快', 'value' => 11 ] ] ], [ 'site_id' => $site_id, 'create_time' => time(), 'company_name' => '邮政快递包裹', 'logo' => 'addon/mall/express/youzhengkd.png', 'url' => 'https://www.ems.com.cn', 'express_no' => 'YZPY', 'express_no_electronic_sheet' => 'YZPY', 'electronic_sheet_switch' => 1, 'print_style' => [ [ 'template_name' => '一联130 76*130', 'template_size' => '130', ], [ 'template_name' => '一联130新 76*130', 'template_size' => '1301', ], [ 'template_name' => '二联1801 100*180', 'template_size' => '1801', ], [ 'template_name' => '二联180 100*180', 'template_size' => '0', ], [ 'template_name' => '二联180新 100*180', 'template_size' => '180', ], [ 'template_name' => '二联150 100*150', 'template_size' => '150', ], [ 'template_name' => '二联150新 100*150', 'template_size' => '1501', ] ], 'exp_type' => [ [ 'text' => '标准快递', 'value' => 1 ] ] ], [ 'site_id' => $site_id, 'create_time' => time(), 'company_name' => '顺丰速运', 'logo' => 'addon/mall/express/shunfeng.png', 'url' => 'https://www.sf-express.com/chn/sc', 'express_no' => 'SF', 'express_no_electronic_sheet' => 'SF', 'electronic_sheet_switch' => 1, 'print_style' => [ [ 'template_name' => '一联130新 76*130', 'template_size' => '1301', ], [ 'template_name' => '二联150新 100*150', 'template_size' => '0', ], [ 'template_name' => '二联180新 100*180', 'template_size' => '180', ], [ 'template_name' => '三联210新 100*210', 'template_size' => '210', ] ], 'exp_type' => [ [ 'text' => '顺丰特快', 'value' => 1 ], [ 'text' => '顺丰标快', 'value' => 2 ], [ 'text' => '顺丰即日', 'value' => 6 ], [ 'text' => '冷运标快', 'value' => 201 ], [ 'text' => '顺丰微小件', 'value' => 202 ] ] ], [ 'site_id' => $site_id, 'create_time' => time(), 'company_name' => '中通快递', 'logo' => 'addon/mall/express/zhongtong.png', 'url' => 'https://www.zto.com', 'express_no' => 'ZTO', 'express_no_electronic_sheet' => 'ZTO', 'electronic_sheet_switch' => 1, 'print_style' => [ [ 'template_name' => '一联130 76*130', 'template_size' => '130', ], [ 'template_name' => '二联180 100*180', 'template_size' => '0', ], [ 'template_name' => '二联180新 100*180', 'template_size' => '180', ] ], 'exp_type' => [] ], [ 'site_id' => $site_id, 'create_time' => time(), 'company_name' => '圆通速递', 'logo' => 'addon/mall/express/yuantong.png', 'url' => 'https://www.yto.net.cn', 'express_no' => 'YTO', 'express_no_electronic_sheet' => 'YTO', 'electronic_sheet_switch' => 1, 'print_style' => [ [ 'template_name' => '一联130 76*130', 'template_size' => '130', ], [ 'template_name' => '一联130新 76*130', 'template_size' => '1301', ], [ 'template_name' => '二联180 100*180', 'template_size' => '0', ], [ 'template_name' => '三联180 100*180', 'template_size' => '180', ], [ 'template_name' => '二联180新 100*180', 'template_size' => '1801', ] ], 'exp_type' => [ [ 'text' => '标准快递', 'value' => 1 ], [ 'text' => '圆准达', 'value' => 2 ] ] ], [ 'site_id' => $site_id, 'create_time' => time(), 'company_name' => '申通快递', 'logo' => 'addon/mall/express/shentong.png', 'url' => 'https://www.sto.cn/pc', 'express_no' => 'STO', 'express_no_electronic_sheet' => 'STO', 'electronic_sheet_switch' => 1, 'print_style' => [ [ 'template_name' => '一联130 76*130', 'template_size' => '130', ], [ 'template_name' => '一联130新 76*130', 'template_size' => '1301', ], [ 'template_name' => '二联180 100*180', 'template_size' => '0', ], [ 'template_name' => '二联180新 100*180', 'template_size' => '180', ], [ 'template_name' => '三联180新 100*180', 'template_size' => '1803', ], [ 'template_name' => '二联150 100*150', 'template_size' => '150', ] ], 'exp_type' => [ [ 'text' => '标准快递', 'value' => 1 ], ] ], [ 'site_id' => $site_id, 'create_time' => time(), 'company_name' => '韵达速递', 'logo' => 'addon/mall/express/yunda.png', 'url' => 'http://www.yundaex.com/cn', 'express_no' => 'YD', 'express_no_electronic_sheet' => 'YD', 'electronic_sheet_switch' => 1, 'print_style' => [ [ 'template_name' => '一联130 100*130', 'template_size' => '130', ], [ 'template_name' => '二联180 100*180', 'template_size' => '180', ], [ 'template_name' => '二联203 100*203', 'template_size' => '0', ] ], 'exp_type' => [] ], [ 'site_id' => $site_id, 'create_time' => time(), 'company_name' => '极兔速递', 'logo' => 'addon/mall/express/jitu.png', 'url' => 'https://www.jtexpress.cn', 'express_no' => 'JTSD', 'express_no_electronic_sheet' => 'JTSD', 'electronic_sheet_switch' => 1, 'print_style' => [ [ 'template_name' => '一联130 100*130', 'template_size' => '130', ], [ 'template_name' => '二联180 100*180', 'template_size' => '0', ] ], 'exp_type' => [ [ 'text' => '标准快递', 'value' => 1 ], [ 'text' => '兔优达', 'value' => 2 ] ] ], [ 'site_id' => $site_id, 'create_time' => time(), 'company_name' => '菜鸟速递', 'logo' => 'addon/mall/express/cainiao.jpg', 'url' => 'https://express.cainiao.com/', 'express_no' => 'CNSD', 'express_no_electronic_sheet' => 'CNSD', 'electronic_sheet_switch' => 1, 'print_style' => [ [ 'template_name' => '一联130 100*130', 'template_size' => '0', ] ], 'exp_type' => [ [ 'text' => '当日达', 'value' => 1 ], [ 'text' => '次日达', 'value' => 2 ], [ 'text' => '预约配送', 'value' => 3 ], [ 'text' => '当日下午达', 'value' => 4 ], [ 'text' => '当日夜间达', 'value' => 5 ], [ 'text' => '次日上午达', 'value' => 6 ] ] ], [ 'site_id' => $site_id, 'create_time' => time(), 'company_name' => '京东快递', 'logo' => 'addon/mall/express/jingdong.jpg', 'url' => 'https://www.jdl.com', 'express_no' => 'JD', 'express_no_electronic_sheet' => 'JD', 'electronic_sheet_switch' => 1, 'print_style' => [ [ 'template_name' => '一联130新 76*130', 'template_size' => '130', ], [ 'template_name' => '二联110 100*110', 'template_size' => '0', ], [ 'template_name' => '二联110新 100*110', 'template_size' => '110', ] ], 'exp_type' => [] ] ], //商品标签 'label_list' => [ [ 'site_id' => $site_id, 'label_name' => '热卖', 'style_type' => 'diy', 'color_json' => [ 'text_color' => 'rgba(255, 255, 255, 1)', 'bg_color' => 'rgba(250, 35, 28, 1)', 'border_color' => '' ], 'icon' => '', 'status' => 1, 'sort' => 0, 'create_time' => time() ], [ 'site_id' => $site_id, 'label_name' => '新品推荐', 'style_type' => 'diy', 'color_json' => [ 'text_color' => 'rgba(255, 255, 255, 1)', 'bg_color' => 'rgba(250, 35, 28, 1)', 'border_color' => '' ], 'icon' => '', 'status' => 1, 'sort' => 1, 'create_time' => time() ], [ 'site_id' => $site_id, 'label_name' => '甄选优品', 'style_type' => 'diy', 'color_json' => [ 'text_color' => 'rgba(255, 255, 255, 1)', 'bg_color' => 'rgba(250, 35, 28, 1)', 'border_color' => '' ], 'icon' => '', 'status' => 1, 'sort' => 2, 'create_time' => time() ], [ 'site_id' => $site_id, 'label_name' => '百亿补贴', 'style_type' => 'icon', 'color_json' => [ 'text_color' => 'rgba(255, 255, 255, 1)', 'bg_color' => 'rgba(250, 35, 28, 1)', 'border_color' => '' ], 'icon' => 'addon/mall/goods/label/icon1.png', 'status' => 1, 'sort' => 3, 'create_time' => time() ], [ 'site_id' => $site_id, 'label_name' => '双11', 'style_type' => 'icon', 'color_json' => [ 'text_color' => 'rgba(255, 255, 255, 1)', 'bg_color' => 'rgba(250, 35, 28, 1)', 'border_color' => '' ], 'icon' => 'addon/mall/goods/label/icon2.png', 'status' => 1, 'sort' => 4, 'create_time' => time() ], [ 'site_id' => $site_id, 'label_name' => '双12', 'style_type' => 'icon', 'color_json' => [ 'text_color' => 'rgba(255, 255, 255, 1)', 'bg_color' => 'rgba(250, 35, 28, 1)', 'border_color' => '' ], 'icon' => 'addon/mall/goods/label/icon3.png', 'status' => 1, 'sort' => 5, 'create_time' => time() ] ], //商品服务 'service_list' => [ [ 'site_id' => $site_id, 'service_name' => '品类齐全 轻松购物', 'image' => 'addon/mall/web/footer-01.png', 'desc' => '', 'create_time' => time() ], [ 'site_id' => $site_id, 'service_name' => '正品行货 精致服务', 'image' => 'addon/mall/web/footer-02.png', 'desc' => '', 'create_time' => time() ], [ 'site_id' => $site_id, 'service_name' => '天天低价 畅选无忧', 'image' => 'addon/mall/web/footer-03.png', 'desc' => '', 'create_time' => time() ], [ 'site_id' => $site_id, 'service_name' => '多仓直发 极速配送', 'image' => 'addon/mall/web/footer-04.png', 'desc' => '', 'create_time' => time() ] ], //首页楼层 'floor_list' => [ [ 'floor_name' => '美妆护肤', 'temp' => 'default', 'sort' => 1, 'create_time' => time(), 'config' => [ 'title' => '美妆护肤', 'sub_title' => '打造完美肌肤的秘密', 'goods_ids' => [], 'adv_img1' => 'addon/mall/web/floor_01.png', 'adv_img2' => 'addon/mall/web/floor_02.png', 'url' => [ 'name' => '' ] ] ], [ 'floor_name' => '潮流穿搭', 'temp' => 'default', 'sort' => 2, 'create_time' => time(), 'config' => [ 'title' => '潮流穿搭', 'sub_title' => '时尚达人', 'goods_ids' => [], 'adv_img1' => 'addon/mall/web/floor_01.png', 'adv_img2' => 'addon/mall/web/floor_02.png', 'url' => [ 'name' => '' ] ] ] ], ]; return $init_data; } }