主题
查询事项详情列表
接口说明
请求URL:http[s]://{网关地址}/coosk/restful/serviceItem/getItemDetailList
请求方式: GET
请求内容类型: 无
响应内容类型: application/json
请求说明
请求头
| 字段名 | 参数名 | 必填 | 类型 | 描述 |
|---|---|---|---|---|
| 应用ID | appId | M | String(128) | 接入网关的应用ID |
| Token | accessToken | M | String | 接入网关的accessToken |
查询参数
| 字段名 | 参数名 | 必填 | 类型 | 描述 |
|---|---|---|---|---|
| 多语言参数 | langCountry | N | String(50) | 多语言参数,默认为zh_CN(中文) |
响应说明
响应体
| 字段名 | 参数名 | 必填 | 类型 | 描述 |
|---|---|---|---|---|
| 返回码 | errcode | M | String | 0 成功,其他为不成功 |
| 返回码描述 | errmsg | O | String | 返回码描述 |
| 返回对象 | data | O | List<ItemDetailInfo> | 返回的用户对象 |
ItemDetailInfo
| 字段名 | 参数名 | 类型 | 描述 |
|---|---|---|---|
| wid | wid | string | wid |
| 事项详情链接地址 | itemDetailUrl | string | 事项详情链接地址 |
| 事项图标地址 | iconUrl | string | 事项图标地址 |
| 事项评分 | appraiseMark | double | 事项评分 |
| 事项评价次数 | appraiseNum | int | 事项评价次数 |
| 是否展示详情页 | isShow | int | 是否展示详情页(1是 0否) |
| 是否启用 | isEnabled | int | 是否启用(1是 0否) |
| 是否删除 | isDeleted | int | 是否删除(1是 0否) |
| baseInfos | Array | 基本信息列表 | |
| 独立信息列表 | indptModuls | Array | 独立信息列表 |
| linkServices | Array | 关联服务列表 |
基本/独立信息详情baseInfos(返回)
| 字段名 | 参数名 | 类型 | 描述 |
|---|---|---|---|
| 字段wid | fieldWid | string | 字段wid |
| 字段名称 | fieldName | string | 字段名称 |
| 字段值 | fieldValue | Object | 字段值 |
| ... | ... | ... | ... |
服务详情linkServices(返回)
| 字段名 | 参数名 | 类型 | 描述 |
|---|---|---|---|
| wid | wid | string | Wid |
| 应用id | appWid | string | 应用id |
| 服务id | serviceId | string | 服务id |
| 服务名称 | serviceName | string | 服务名称 |
| 应用名称 | appName | string | 应用名称 |
| PC跳转地址 | pcAccessUrl | string | PC跳转地址 |
| 移动跳转地址 | mobileAccessUrl | string | 移动跳转地址 |
| ... | ... | ... | ... |
响应示例
json
{
"errcode": "0",
"errmsg": "success",
"traceId": null,
"data": [
{
"itemDetailUrl": "http://172.16.29.61:8116/index.html#/itemDetail?wid=877997328356564992",
"wid": "877997328356564992",
"iconUrl": "http://172.16.29.60:8811/oss/serviceIcon/2021-10-25/902229417641603072/902278071370870784.png?sign=qIBi2S20pOV8AtB0AvgQM6N4lJlZHbu2qXsTgsQNZVc_Fobb0VAi1rz8X1DpL8gq",
"appraiseMark": 4.0,
"appraiseNum": 1,
"isShow": 1,
"isEnabled": 1,
"isDeleted": 0,
"baseInfos": [
{
"fieldWid": "DUTY_DEPT_ID",
"fieldName": "责任部门",
"fieldValue": "测试部'></\\\"3.1.1",
"type": null
},
{
"fieldWid": "ITEM_NAME",
"fieldName": "事项名称",
"fieldValue": "啦啦啦548888888888888888888888888",
"type": null
},
{
"fieldWid": "SERVICE_OBJ",
"fieldName": "服务对象",
"fieldValue": "教师、学生",
"type": null
},
{
"fieldWid": "CAT_SERVICE-SUBJECT",
"fieldName": "服务主题",
"fieldValue": "111、哈哈哈哈,我是主题、哈哈哈哈,我是主题-啦啦啦啦啦啦",
"type": null
},
{
"fieldWid": "SERVICE_CONTENT",
"fieldName": "服务内容",
"fieldValue": "hhh嘻嘻嘻",
"type": null
},
{
"fieldWid": "SERVICE_DEPT",
"fieldName": "服务部门",
"fieldValue": "测试部'></\"3.1.1--航天航空学生部门学生部门学生部门学生部门学生部门学生部门门、测试部'>",
"type": null
},
{
"fieldWid": "PRE_CONDITION",
"fieldName": "前置条件",
"fieldValue": "生生世世生生世世",
"type": null
},
{
"fieldWid": "BUSINESS_CYCLE",
"fieldName": "main business",
"fieldValue": "半年半年;啊",
"type": null
},
{
"fieldWid": "DEAL_TIME_LIMIT",
"fieldName": "banlishijian",
"fieldValue": "hhhhhhh",
"type": null
},
{
"fieldWid": "893157036390313984",
"fieldName": "sss",
"fieldValue": "哈哈哈哈哈哈哈哈",
"type": null
},
{
"fieldWid": "898612676231393280",
"fieldName": "自定义单选",
"fieldValue": "哈哈哈哈哈",
"type": null
},
{
"fieldWid": "900786589971076480",
"fieldName": "自定义多选",
"fieldValue": "多选1、多选2",
"type": null
},
{
"fieldWid": "CAT_877860602963255296",
"fieldName": "111",
"fieldValue": "我是第一个、第二个啦",
"type": null
}
],
"indptModuls": [
{
"fieldWid": "CONTACT_PHONE",
"fieldName": "咨询电话",
"fieldValue": [
{
"phone": "11231",
"comments": "sssss",
"wid": "902196738036559872"
},
{
"phone": "21321",
"comments": "呵呵呵呵呵呵",
"wid": "902196738397270016"
}
],
"type": null
},
{
"fieldWid": "INSTRUCTIONS",
"fieldName": "办理须知",
"fieldValue": "<p>板栗心虚之</p>",
"type": null
},
{
"fieldWid": "898613870098083840",
"fieldName": "自定义单选1",
"fieldValue": "1234",
"type": null
},
{
"fieldWid": "PROCESS_FLOW",
"fieldName": "办理流程",
"fieldValue": {
"comments": "<p>14</p>",
"image": "http://172.16.29.60:8811/oss/serviceIcon/2021-10-25/902229549267251200/902229549267251200.png?sign=WL3Qn_UjQELhH1vt1qfGA42YiRvfu15C4NJSdPTB9dFkK54H6AyGvqNO3JTLujhX"
},
"type": null
},
{
"fieldWid": "DEAL_TIME",
"fieldName": "办理时间",
"fieldValue": "<p>办理时间呀也一样</p>",
"type": null
},
{
"fieldWid": "DEAL_ADDRESS",
"fieldName": "办理地点",
"fieldValue": null,
"type": null
},
{
"fieldWid": "FAQS",
"fieldName": "常见问题",
"fieldValue": [
{
"wid": "902244888411598848",
"question": "question1",
"answer": "answer1"
},
{
"wid": "902244888621314048",
"question": "问题2",
"answer": "答案2"
}
],
"type": null
},
{
"fieldWid": "RELATED_MATERIALS",
"fieldName": "相关材料",
"fieldValue": [
{
"material_comments": "5555",
"wid": "902253540635799552",
"material_path": "http://127.0.0.1:8113/casp-sim//casp-sim/serviceItem/downloadMaterial?wid=902253540635799552"
}
],
"type": null
},
{
"fieldWid": "902277035650412544",
"fieldName": "富文本啊啊啊",
"fieldValue": "<p>llllllll</p>",
"type": null
},
{
"fieldWid": "898627516551360512",
"fieldName": "富文本+附件",
"fieldValue": {
"files": [
{
"file": null,
"wid": "902278127801036800",
"name": "sssss"
}
],
"text": "<p>啊飒飒</p>"
},
"type": null
},
{
"fieldWid": "902276935972777984",
"fieldName": "duoxuanduoxuan",
"fieldValue": "多选1、多选2",
"type": null
},
{
"fieldWid": "898622558607208448",
"fieldName": "多行文本+附件",
"fieldValue": {
"files": [
{
"file": "http://172.16.29.60:8811/oss/serviceIcon/2021-10-25/902267748102402048/902267748102402048.xls?sign=JR68tfbeHneSh8Qbe_iomsUAV6EnH7CIUGxLOwJ4ZY5RsvU8H38UDPXGnoScjuH-",
"wid": "902267756746862592",
"name": "wsqwwq"
}
],
"text": "thdtr"
},
"type": null
},
{
"fieldWid": "898619154904346624",
"fieldName": "自定义附件",
"fieldValue": [
{
"file": {},
"material_comments": "xxxxxx",
"wid": "902253220883034112"
},
{
"file": {},
"material_comments": "xcbvxc",
"wid": "902253221839335424"
}
],
"type": null
}
],
"linkServices": [
{
"wid": "887294022252453888",
"appWid": "887293201930477568",
"serviceId": "887294022252453888",
"serviceName": "zjs02",
"appName": "zjs",
"serviceNameLangKey": "887294022286008320",
"serviceNameLangKeys": [
{
"wid": "887294022286008321",
"sourceType": null,
"langKey": "887294022286008320",
"langValue": "zjs02",
"langCountry": "zh_CN"
}
],
"serviceDesc": null,
"serviceDescLangKey": "887294022294396928",
"serviceDescLangKeys": null,
"serviceType": 0,
"serviceStation": 0,
"pcIconUrl": "http://172.16.29.61/oss/serviceIcon/2021-09-14/serviceIcon_887293994130767872.png?sign=ZwoQJHCsrvp_kB_P_hS8C95f_xOreMRRNZ21W8q7wo4DCEk04Jr94X3mxeAD3bIp",
"pcIconPath": "2021-09-14",
"pcIconName": "serviceIcon_887293994130767872.png",
"mobileIconUrl": null,
"mobileIconPath": null,
"mobileIconName": null,
"pcUrl": "/",
"mobileUrl": null,
"serviceVisibility": null,
"authenUrl": null,
"pcAccessUrl": "http://w/",
"mobileAccessUrl": null,
"serviceAccessWid": null,
"guestVisibility": "0",
"loginVisibility": "1",
"isDeleted": 0,
"appEnabled": 1,
"isShowGroup": 1,
"serviceEnabled": 1
}
]
}
]
}1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
错误码
| 错误码 | 描述 |
|---|---|
| 999 | 统一错误码,详细描述信息参见接口返回 |
Demo
java
// 创建客户端
Client client = new DefaultClient(BASE_URL, APP_ID,APP_SECRET);
// 创建请求对象
GetItemDetailListRequest request = new GetItemDetailListRequest();
GetItemDetailListResponse response = client.execute(request);
//调用成功,则处理业务逻辑
if (response.isSuccess()) {
//.....
}1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9

