获取所有的热门帖子和最新帖子
语法格式:
获取所有的热门帖子和最新帖子
参数一:热门帖子
参数二:最新帖子
参数三:是否为论坛的帖子
返回值:
UserID:'E5A09C7F-0416-45CA-A2DD-CE260DC6DFF5'
ArticleContentBrief:'996999
'
ArticleID:'ABEA8384-2ECB-4EF3-85C8-B0E2CE75F76A'
ArticleTitle:'9999'
PublishedDirectoryID:'6516B4D6-36F6-4836-92EE-4FCC651DA47C'
AricitleReadNumber:'8'
ArticleReplayNumber:'1'
ArticleAddTime:'2017-01-08 11:54:03.127'
UserDirectoryName:'测试测试'
UserName:'847657953'
UserThumbnailImageHea:'b18f26b7-2616-4fe1-ae23-90ea61c254f1.jpg'
前端javascript调用数据库存储过程示例(可在编辑区域修改参数):
U.A.Request(US.CD, (["10.3.14.212", "UseStudio_Blog", "UB_P_S_NewAndHpPost","1","2","0"]),function(r){$("#resultarea")[0].innerText=r.value[0].UserID+","+r.value[0].ArticleContentBrief+","+r.value[0].ArticleID+","+r.value[0].ArticleTitle+","+r.value[0].PublishedDirectoryID+","+r.value[0].AricitleReadNumber+","+r.value[0].ArticleReplayNumber+","+r.value[0].ArticleAddTime+","+r.value[0].UserDirectoryName+","+r.value[0].UserName+","+r.value[0].UserThumbnailImageHea});
运行结果展示区域:
前端javascript调用示例:
U.A.Request(US.CD, [US.DB, "UseStudio_Blog", "UB_P_S_NewAndHpPost", _UE - 50, _UE, UTF], U.MD.D.PB.AsynHRMZXSX, [[$("#UD_SYSXZBYPD")[0], true], 1, 2, UP]);