| 260 | | ---------- |
| | 260 | |
| | 261 | ---------- |
| | 262 | |
| | 263 | == 3.我的主页 == |
| | 264 | ---------- |
| | 265 | |
| | 266 | |
| | 267 | === 3.1用户主页 === |
| | 268 | 开发环境:http://dev15.pclady.com.cn/app/getUserIndex.jsp [[BR]] |
| | 269 | 线上环境:http://plastic.pclady.com.cn/app/getUserIndext.jsp [[BR]] |
| | 270 | mrobot地址: http://mrobot.pclady.com.cn/x-900/yimei-plastic/app/getUserIndex.jsp |
| | 271 | |
| | 272 | **说明** |
| | 273 | |
| | 274 | > 获取用户主页 |
| | 275 | |
| | 276 | **缓存时间** |
| | 277 | |
| | 278 | >15分钟 |
| | 279 | |
| | 280 | **提交方式** |
| | 281 | |
| | 282 | > GET |
| | 283 | |
| | 284 | **是否登录** |
| | 285 | |
| | 286 | > 否 |
| | 287 | |
| | 288 | **数据来源** |
| | 289 | |
| | 290 | >整形库编辑后台 |
| | 291 | |
| | 292 | **参数** |
| | 293 | |
| | 294 | ||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =|| |
| | 295 | ||pageNo||页数||int||1||是|| |
| | 296 | ||pageSize||页面大小||int||10||是|| |
| | 297 | ||userID||用户ID||int||0|是|| |
| | 298 | |
| | 299 | **返回** |
| | 300 | |
| | 301 | {{{#!java |
| | 302 | { |
| | 303 | "status":0, |
| | 304 | "msg":"请求成功", |
| | 305 | "pageNo": 1, |
| | 306 | "pageSize": 20, |
| | 307 | "total": 100, |
| | 308 | "nickNmae", |
| | 309 | "headUrl":"", |
| | 310 | "shareCount":158, |
| | 311 | "city":"北京", |
| | 312 | "data":[{ |
| | 313 | "essenceID":"", |
| | 314 | "type":””, |
| | 315 | "imageUrl":["image1","image2","image3"], |
| | 316 | "title":"", |
| | 317 | "commentCount":1, |
| | 318 | "laudCount":1, |
| | 319 | "dateTime":"刚刚" |
| | 320 | } |
| | 321 | ] |
| | 322 | } |
| | 323 | |
| | 324 | }}} |
| | 325 | **返回参数说明** |
| | 326 | ||= 参数名 =||= 参数含义 =||=参数名=||=参数含意=|| |
| | 327 | ||= essenceID =||= 精华ID=||= headUrl =||=用户头像地址=|| |
| | 328 | ||= nickName =||= 用户昵称=||= userID =||=用户ID,用于查看ta的主页=|| |
| | 329 | ||= type =||= 1:日记,2:帖子=||= imageUrl =||=推荐图=|| |
| | 330 | ||= commentCount =||= 评论数=||= laudCount =||=点赞数=|| |
| | 331 | ||= title =||= 标题=||= dateTime =||=发表时间,取最新的时间=|| |
| | 332 | ||= shareCount =||= 分享数量=||= city =||=城市,只需返回城市名=|| |
| | 333 | |
| | 334 | |
| | 335 | === 3.2兑换积分 === |
| | 336 | 开发环境:http://dev15.pclady.com.cn/app/convertibilityScore.jsp [[BR]] |
| | 337 | 线上环境:http://plastic.pclady.com.cn/app/convertibilityScore.jsp [[BR]] |
| | 338 | mrobot地址: http://mrobot.pclady.com.cn/x-900/yimei-plastic/app/convertibilityScore.jsp |
| | 339 | |
| | 340 | **说明** |
| | 341 | |
| | 342 | > 获取用户主页 |
| | 343 | |
| | 344 | **缓存时间** |
| | 345 | |
| | 346 | >0分钟 |
| | 347 | |
| | 348 | **提交方式** |
| | 349 | |
| | 350 | > POST |
| | 351 | |
| | 352 | **是否登录** |
| | 353 | |
| | 354 | > 是 |
| | 355 | |
| | 356 | **数据来源** |
| | 357 | |
| | 358 | >整形库编辑后台 |
| | 359 | |
| | 360 | **参数** |
| | 361 | |
| | 362 | ||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =|| |
| | 363 | ||pageNo||页数||int||1||是|| |
| | 364 | ||pageSize||页面大小||int||10||是|| |
| | 365 | ||convertibilityNum||兑换码||int||0|是|| |
| | 366 | ||r||时间截||String||""||是|| |
| | 367 | ||sign||MD5加密串||String||""||是|| |
| | 368 | |
| | 369 | **返回** |
| | 370 | |
| | 371 | {{{#!java |
| | 372 | { |
| | 373 | "status":0, |
| | 374 | "msg":"请求成功", |
| | 375 | } |
| | 376 | |
| | 377 | }}} |
| | 378 | |
| | 379 | |
| | 380 | |
| | 381 | === 3.3用户日记列表 === |
| | 382 | 开发环境:http://dev15.pclady.com.cn/app/myDiaryList.jsp [[BR]] |
| | 383 | 线上环境:http://plastic.pclady.com.cn/app/myDiaryList.jsp [[BR]] |
| | 384 | mrobot地址: http://mrobot.pclady.com.cn/x-900/yimei-plastic/app/myDiaryList.jsp |
| | 385 | |
| | 386 | **说明** |
| | 387 | |
| | 388 | > 获取用户主页 |
| | 389 | |
| | 390 | **缓存时间** |
| | 391 | |
| | 392 | >0 |
| | 393 | |
| | 394 | **提交方式** |
| | 395 | |
| | 396 | > GET |
| | 397 | |
| | 398 | **是否登录** |
| | 399 | |
| | 400 | > 是 |
| | 401 | |
| | 402 | **数据来源** |
| | 403 | |
| | 404 | >整形库编辑后台 |
| | 405 | |
| | 406 | **参数** |
| | 407 | |
| | 408 | ||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =|| |
| | 409 | ||pageNo||页数||int||1||是|| |
| | 410 | ||pageSize||页面大小||int||10||是|| |
| | 411 | ||userID||用户ID||int||0|是|| |
| | 412 | |
| | 413 | **返回** |
| | 414 | |
| | 415 | {{{#!java |
| | 416 | { |
| | 417 | "status":0, |
| | 418 | "msg":"请求成功", |
| | 419 | "pageNo": 1, |
| | 420 | "pageSize": 20, |
| | 421 | "total": 100, |
| | 422 | "data":[{ |
| | 423 | "essenceID":"", |
| | 424 | "imageUrl":"image1", |
| | 425 | "title":"", |
| | 426 | "commentCount":1, |
| | 427 | "laudCount":1, |
| | 428 | "dateTime":"刚刚", |
| | 429 | } |
| | 430 | ] |
| | 431 | } |
| | 432 | |
| | 433 | }}} |
| | 434 | **返回参数说明** |
| | 435 | ||= 参数名 =||= 参数含义 =||=参数名=||=参数含意=|| |
| | 436 | ||= essenceID =||= 精华ID=||= imageUrl =||=日记图片,取最新的一张=|| |
| | 437 | ||= title =||= 标题=||= dateTime =||=发表时间,取最新的时间=|| |
| | 438 | ||= commentCount =||= 评论数=||= laudCount =||=点赞数=|| |
| | 439 | |
| | 440 | |
| | 441 | ---------- |