webPlugins

接口说明

接口名称:webPlugins

Dubbo调用:msGetWebPluginsService

接口描述:移动端集成了Web本地化实现的整体技术方案, Web本地化插件的集成,可明显提高Web性能, 增加客户端的灵活性, 并且屏蔽平台差异。 Web本地化模版更新的策略和数据,需要通过管理后台进行配置,然后通过该接口获取, 客户端进行安全校验和更新。

入参

字段名称 字段类型 字段描述 是否必须
webPlugins List web插件集

出参

字段名称 字段类型 字段描述 是否必须
webPlugins List web插件集
protocolVersion String 协议版本
available String 是否关闭离线包功能
requestByNative String 请求是否走客户端

样例

dubbo接入:

请求url:http://localhost:9102/gw/hk_e_app/msGetWebPluginsService.do

请求数据格式:

{
    "request":{
        "body":{
            "webPlugins":[
              {
                  "pluginId":"10004",
                  "pluginVersion":"1.0",
              }
            ]    
        },
        "header":{
            "device":{
              "model":"SM-N7508V",
              "osVersion":"4.3",
              "imei":"352203064891579",
              "isRoot":"1",
              "nfc":"1",
              "brand":"samsung",
              "mac":"B8:5A:73:94:8F:E6",
              "uuid":"45cnqzgwplsduran7ib8fw3aa",
              "osType":"01",
            },
            "appId":"1",
            "net":{
              "ssid":"oa-wlan",
              "netType":"WIFI_oa-wlan",
              "cid":"17129544",
              "lac":"41043",
              "isp":"",
              "ip":"127.0.0.1",
            },
            "appVersion":"4.41",
            "transId":"remoteUI",
            "reqSeq":"0",
            "ffVersion":"3.6"    
        }    
    }
}

http接入:

请求url:http://localhost:8080/ffpaas/webplugin/webPlugins.json 请求数据格式:

 {
    "request":{
        "body":{
            "webPlugins":[
              {
                "pluginId":"10004",
                "pluginVersion":"1.0",
              }
            ]    
        },
        "header":{
            "device":{
                "model":"SM-N7508V",
                "osVersion":"4.3",
                "imei":"352203064891579",
                "isRoot":"1",
                "nfc":"1",
                "brand":"samsung",
                "mac":"B8:5A:73:94:8F:E6",
                "uuid":"45cnqzgwplsduran7ib8fw3aa",
                "osType":"01",
            },
            "appId":"1",
            "net":{
                "ssid":"oa-wlan",
                "netType":"WIFI_oa-wlan",
                "cid":"17129544",
                "lac":"41043",
                "isp":"",
                "ip":"127.0.0.1",
            },
            "appVersion":"4.41",
            "transId":"remoteUI",
            "reqSeq":"0",
            "ffVersion":"3.6"    
        }
    }
 }
Copyright © 民生科技有限公司 2019 all right reserved,powered by Gitbook联系方式: wanglihang@mskj.com
修订时间: 2019-08-02 16:19:33

results matching ""

    No results matching ""