新闻公告/帮助中心

官方最新动态、帮助文档、将会更新到此页面

< 返回新闻列表

【开发者帮助】乐众系统API接口请求数据

发布时间:2024-03-16 19:52:29 小编:乐众-parmin

获取系统数据API接口地址 /index.php/index/index?type=get_config

返回示例:

{

    "config_id": "1",// 系统ID 可忽略
    "app_name": "乐众系统",// 网站名称
    "app_title": "高防服务器",// 网站标题
    "app_tel": "400-888-8888", // 客服电话
    "app_qq": "1000010",// 联系QQ
    "app_email": "server@lzsys.com",// 联系邮箱
    "app_addr": "陕西乐众财务管理有限公司", // 公司地址
    "app_icp": "陕ICP备2021011348号-3 ",// 网站备案号
    "app_logo": "http://www.lzsys.com/logo1.png",// 网站LOGO地址
    "app_pany": "陕西乐众财务管理有限公司",// 公司名称
    "app_description": "乐众系统是一家IDC服务商,经营云服务器、物理服务器。租用托管",// 描述
    "app_keywords": "云服务器,物理服务器,租用托管",// 关键词
    "app_id": "10016",
    "app_icps": "公安备案号",// 公安备案号
    "app_idc": "IDC许可证号",// IDC许可证号
    "app_qqgroup": "QQ群链接",// QQ群链接
    "app_refund_min": "5.00",// 退款最低手续费 (元)
    "app_refund_max": "30.00",// 退款最大手续费 (元)
    "app_refund_s": "5",//退款标准手续费(百分比)
    "buy_aff": "15",// 购买返利(百分比)
    "renew_aff": "10",// 续费返利(百分比)
    "max_aff": "50.00",// 最大返利 (元)
    "exclude_aff": "1,2,3", // 排除返利名单 
    "vip1_month": "80.00",// 黄金会员月付金额
    "vip2_month": "150.00",// 黄金会员年付金额
    "vip1_year": "500.00",//钻石会员月付金额
    "vip2_year": "1300.00"//钻石会员年付金额
}

获取导航菜单内容接口地址 /index.php/index/index?type=get_nav

返回示例:

[
    {
        "0": "7",
        "set_url_id": "7",
        "1": "/buy.html",
        "set_url": "/buy.html",
        "2": "订购产品",
        "set_name": "订购产品",
        "3": "0",
        "target": "0",
        "4": "1",
        "status": "1",
        "5": "1686374649",
        "create_time": "1686374649",
        "6": "1687584925",
        "update_time": "1687584925",
        "7": "49",
        "sort": "49",
        "8": "10016",
        "app_id": "10016"
    },
    {
        "0": "4",
        "set_url_id": "4",
        "1": "/news.html",
        "set_url": "/news.html",
        "2": "文章公告",
        "set_name": "文章公告",
        "3": "0",
        "target": "0",
        "4": "1",
        "status": "1",
        "5": "1686373816",
        "create_time": "1686373816",
        "6": "1686373816",
        "update_time": "1686373816",
        "7": "50",
        "sort": "50",
        "8": "10016",
        "app_id": "10016"
    },
    {
        "0": "11",
        "set_url_id": "11",
        "1": "/news/4.html",
        "set_url": "/news/4.html",
        "2": "关于我们",
        "set_name": "关于我们",
        "3": "_blank",
        "target": "_blank",
        "4": "1",
        "status": "1",
        "5": "1688313726",
        "create_time": "1688313726",
        "6": "1710558546",
        "update_time": "1710558546",
        "7": "51",
        "sort": "51",
        "8": "10016",
        "app_id": "10016"
    }
]

需要使用的重点参数:

set_url = 导航链接地址

set_name = 导航名称

target = 值为 _blank 表示 新窗口打开


获取友情链接接口地址  /index.php/index/index?type=get_url

返回示例:

[
    {
        "0": "1",
        "set_url_id": "1",
        "1": "http://www.lzsys.com",
        "set_url": "http://www.lzsys.com",
        "2": "乐众系统",
        "set_name": "乐众系统",
        "3": "_blank",
        "target": "_blank",
        "4": "1",
        "status": "1",
        "5": "1684732644",
        "create_time": "1684732644",
        "6": "1684732644",
        "update_time": "1684732644",
        "7": "50",
        "sort": "50",
        "8": "10016",
        "app_id": "10016"
    }
]

需要使用的重点参数:

set_url = 链接地址

set_name = 友联名称

target = 值为 _blank 表示 新窗口打开

获取客服基础接口地址 /index.php/index/index?type=kf_set

返回示例:

{

    "id": "1",
    "app_id": "10016",
    "status": "1", // 该值为1 表示多客服模式
    "tou_qq": "2233898888", 投诉QQ 
    "tou_tel": "4006-888-888",// 投诉电话
    "he_qq": "1185555530",// 合作QQ
    "he_tel": "4006-888-888"// 合作电话
}

获取客服电话列表接口地址 /index.php/index/index?type=server_tel_list

返回示例:

[
    {
        "0": "4",
        "id": "4",
        "1": "10016",
        "app_id": "10016",
        "2": "tel",
        "kf_type": "tel",
        "3": "夜班电话",
        "kf_name": "夜班电话",// 显示名称
        "4": "199-16299870",
        "kf_content": "199-16299870",// 电话号码
        "5": "1692862527",
        "update_time": "1692862527"
    },
    {
        "0": "3",
        "id": "3",
        "1": "10016",
        "app_id": "10016",
        "2": "tel",
        "kf_type": "tel",
        "3": "值班电话",
        "kf_name": "值班电话",
        "4": "190-29129728",
        "kf_content": "190-29129728",
        "5": "1692862517",
        "update_time": "1692862517"
    },
    {
        "0": "2",
        "id": "2",
        "1": "10016",
        "app_id": "10016",
        "2": "tel",
        "kf_type": "tel",
        "3": "售后电话",
        "kf_name": "售后电话",
        "4": "029-33272703",
        "kf_content": "029-33272703",
        "5": "1692862508",
        "update_time": "1692862508"
    },
    {
        "0": "1",
        "id": "1",
        "1": "10016",
        "app_id": "10016",
        "2": "tel",
        "kf_type": "tel",
        "3": "业务电话",
        "kf_name": "业务电话",
        "4": "029-33211600",
        "kf_content": "029-33211600",
        "5": "1692862498",
        "update_time": "1692862498"
    }
]

获取业务QQ列表接口地址 /index.php/index/index?type=server_qq_list

返回示例:

[
    {
        "0": "8",
        "id": "8",
        "1": "10016",
        "app_id": "10016",
        "2": "yewu",
        "kf_type": "yewu",
        "3": "业务-无与伦",
        "kf_name": "业务-无与伦",
        "4": "2233898888",
        "kf_content": "2233898888",
        "5": "1692862585",
        "update_time": "1692862585"
    },

    {
        "0": "6",
        "id": "6",
        "1": "10016",
        "app_id": "10016",
        "2": "yewu",
        "kf_type": "yewu",
        "3": "业务-小艾",
        "kf_name": "业务-小艾",
        "4": "2950866948",
        "kf_content": "2950866948",
        "5": "1692862552",
        "update_time": "1692862552"
    },
    {
        "0": "5",
        "id": "5",
        "1": "10016",
        "app_id": "10016",
        "2": "yewu",
        "kf_type": "yewu",
        "3": "业务-QQ",
        "kf_name": "业务-QQ",
        "4": "1000010",
        "kf_content": "1000010",
        "5": "1692862542",
        "update_time": "1692862542"
    }
]

获取售后QQ列表接口地址 /index.php/index/index?type=server_list

返回示例:

[
    {
        "0": "11",
        "id": "11",
        "1": "10016",
        "app_id": "10016",
        "2": "shou",
        "kf_type": "shou",
        "3": "售后-无与伦",
        "kf_name": "售后-无与伦",
        "4": "2233898888",
        "kf_content": "2233898888",
        "5": "1692862646",
        "update_time": "1692862646"
    },

    {
        "0": "9",
        "id": "9",
        "1": "10016",
        "app_id": "10016",
        "2": "shou",
        "kf_type": "shou",
        "3": "售后-QQ",
        "kf_name": "售后-QQ",
        "4": "1000010",
        "kf_content": "1000010",
        "5": "1692862605",
        "update_time": "1692862605"
    }
]

获取最新活动列表接口地址 /index.php/index/index?type=get_activity

返回示例:

[
    {

        "api_id": "1",//活动ID

        "name": "最新活动",//活动名称


    }
]

获取最新活动列表接口地址 /index.php/index/index?type=get_domain

返回示例:

[
    {

        "api_id": "1",//唯一ID

        "name": "域名注册",// 显示的名称


    }
]

获取第一个到第五个品牌列表接口地址 /index.php/index/index?type=get_brand

返回示例:

[
    {
        "0": "1",
        "shop_brand_id": "1",// 品牌的ID
        "1": "云服务器",
        "brand_name": "云服务器",// 品牌的名称
        "2": "1710558186",
        "create_time": "1710558186",
        "3": "1710558822",
        "update_time": "1710558822",
        "4": "1",
        "sort": "1",
        "5": "我是云服务器",
        "brand_describe": "我是云服务器",// 这里是 品牌的介绍 描述 没有描述则输出0
        "6": "1",
        "brand_default": "1",// 是否默认选中此品牌
        "7": "10016",
        "app_id": "10016",
        "8": "1",
        "status": "1",
        "shop_region": null,
        "isclass": "active"// 当前品牌是否被选中 active 表示选中 (目的是为了方便加深背景颜色)
    },
    {
        "0": "2",
        "shop_brand_id": "2",
        "1": "物理机",
        "brand_name": "物理机",
        "2": "1710558199",
        "create_time": "1710558199",
        "3": "1710558830",
        "update_time": "1710558830",
        "4": "2",
        "sort": "2",
        "5": "我是物理机",
        "brand_describe": "我是物理机",
        "6": "2",
        "brand_default": "2",
        "7": "10016",
        "app_id": "10016",
        "8": "1",
        "status": "1",
        "shop_region": null,
        "isclass": ""
    },
    {
        "0": "3",
        "shop_brand_id": "3",
        "1": "虚拟主机",
        "brand_name": "虚拟主机",
        "2": "1710559421",
        "create_time": "1710559421",
        "3": "1710559428",
        "update_time": "1710559428",
        "4": "3",
        "sort": "3",
        "5": "0",
        "brand_describe": "0",
        "6": "2",
        "brand_default": "2",
        "7": "10016",
        "app_id": "10016",
        "8": "1",
        "status": "1",
        "shop_region": null,
        "isclass": ""
    }
]

获取第五到第九个品牌列表接口地址 /index.php/index/index?type=get_brand2

返回示例:和上面一样

获取最新活动ID接口地址 /index.php/index/index?type=hot_api_id

返回示例:

{
    "api_id": "1",

    "name": "最新活动",

}