[
]
宙飒天下网-ZhouSa.com Splash页接口
接口说明
接口名称:loadingInfo
Dubbo调用:msLoadingInfoService
接口描述:Splash页接口用于客户端在启动时, 显示节假日、运营、推广、广告等信息的数据配置。
入参
header通用参数
业务参数
字段名称 | 字段类型 | 字段描述 | 是否必须 |
---|---|---|---|
iphoneSize | String | iphone手机屏幕尺寸(单位寸) | iphone平台(osType=01)必填, 其他平台不需要 |
出参
字段名称 | 字段类型 | 字段描述 | 是否必须 |
---|---|---|---|
app_id | String | appId | |
dev_type | String | DEV类型 | |
holiDay | String | 节日 | |
holiName | String | 节日名称 | |
holiDayStart | String | HOLT开始时间 | |
holiDayEnd | String | HOLT结束时间 | |
holi_load_start | String | HOLILoad开始 | |
holi_load_end | String | HOLILoad结束 | |
holi_img | String | HOLI图片 | |
pub_date | String | PUB日期 | |
valid_flag | String | 有效标记 | |
urlType | String | 1:手机银行自有web服务2:客户端已有功能(动态菜单)(包括web服务和native界面)3:第三方提供的web服务4:客户端已有功能(非动态菜单)(包括web服务和native界面) | |
loadUrl | String | LoadURL | |
urlParam | String | URL参数 | |
paramList | String | 参数列表 | |
loginFlag | String | 登陆标识:0-不登陆1-登陆 | |
titleFlag | String | 是否显示标题:0-否 1-是 | |
titleName | String | 标题名称 | |
needReq | String | 是否需要再次请求:0-否 1-是 | |
reqUrl | String | 请求URL | |
reqParam | String | 请求参数 | |
waitFlag | String | 是否需要设置等待时间:0-不等待 1-等待 | |
waitTime | String | 等待时间 | |
jumpFlag | String | 是否需要跳转:0-不跳转 1-跳转 | |
drop_img_type | String | 顶部营销区的下拉图片位置,1-首页,2-生活圈 |
样例
dubbo协议接入:
请求url:http://localhost:9102/gw/hk_e_app/msLoadingInfoService.do
请求数据格式:
{ "request":{ "body":{ "iphoneSize":"5.8" }, "header": { "appId": "1", "appVersion": "1.0", "ffVersion": "4.0", "transId": "loadingInfo", "appExt": "1", "custType": "100", "signedMicroFlag": "0", "net": { "ip": "127.0.0.1", "netType": "WIFI_oa-test", "isp": "中国移动", "ssid": "oa-test", "lac": "4203", "cid": "10732931" }, "device": { "osType": "01", "osVersion": "8.0.0", "brand": "samsung", "model": "SM-G9500", "uuid": "2e2bc2402301ea3e1e021362dd6b7a1e", "imei": "357052091333047", "mac": "00:9D:6B:32:00:24", "nfc": "1", "isRoot": "0", "imsi": "8986003915187a258429" }, "reqSeq": "0" } } }
http协议接入:
请求url:
http://localhost:8080/ffpaas/base/loadingInfo.json
请求数据格式:
{ "request":{ "body":{ "iphoneSize":"5.8" }, "header": { "appId": "1", "appVersion": "1.0", "ffVersion": "4.0", "transId": "loadingInfo", "appExt": "1", "custType": "100", "signedMicroFlag": "0", "net": { "ip": "127.0.0.1", "netType": "WIFI_oa-test", "isp": "中国移动", "ssid": "oa-test", "lac": "4203", "cid": "10732931" }, "device": { "osType": "01", "osVersion": "8.0.0", "brand": "samsung", "model": "SM-G9500", "uuid": "2e2bc2402301ea3e1e021362dd6b7a1e", "imei": "357052091333047", "mac": "00:9D:6B:32:00:24", "nfc": "1", "isRoot": "0", "imsi": "8986003915187a258429" }, "reqSeq": "0" } } }
dsdl配置
节点配置
msLoadingInfoService$applicationName,true
说明:
applicationName修改为应用
xml参数配置
- 创建节点,节点名称为
interface-mapping
- 添加配置参数信息,如下
<?xml version="1.0" encoding="UTF-8"?> <interface name="msLoadingInfoService" description="版本升级接口" auth="false"> <configs> <config key="accessLog" value="false"/> <config key="transDataRecordMode" value="on"/> <config key="productId" value="ECommon"/> </configs> <input> <param name="iphoneSize" description="iphoneSize" type="String" optional="true"/> </input> <output> <param name="returnCode" description="处理结果" type="Map" optional="false"> <param name="code" description="返回码" type="String" optional="false"/> <param name="message" description="返回信息" type="String"/> <param name="type" description="处理结果类型" type="String" optional="false"/> </param> <param name="loadingInfo" type="List"/> </output> </interface>
还没有评论,来说两句吧...