index.jsp 36.3 KB
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 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="${serverRoot }/">
<link rel="shortcut icon" href="/favicon.ico"/>
<link rel="bookmark" href="/favicon.ico"/>
<title>接口说明</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!-- 最新 Bootstrap 核心 CSS 文件 -->
<link rel="stylesheet"
	href="http://cdn.bootcss.com/twitter-bootstrap/3.0.3/css/bootstrap.min.css">
<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
<script src="http://cdn.bootcss.com/jquery/1.10.2/jquery.min.js"></script>
<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="http://cdn.bootcss.com/twitter-bootstrap/3.0.3/js/bootstrap.min.js"></script>

</head>

<body>
	<div class="alert alert-info">
		<blockquote>
			<p>接口说明:</p>
			<small>接口支持返回数据格式:JSON</small>
		</blockquote>
	</div>

	<!-- Nav tabs -->
	<ul class="nav nav-pills">
		<li class="active"><a href="#usertab" data-toggle="tab">用户端</a></li>
	</ul>

	<!-- Tab panes -->
	<div class="tab-content">
		<div class="tab-pane active" id="usertab">
			<div class="panel-group" id="accordion">
				<div class="panel panel-default">
					<button type="button" class="btn btn-success btn-block" data-parent="#accordion" data-toggle="collapse" data-target="#user">用户信息</button>
					<div id="user" class="panel-collapse collapse">
						<div class="panel-body">
							<ol>
							  <li><strong>手机号码验证</strong>
									<ul>
										<li>参数:msisdn(手机号 必填 string类型), key(第三方账户名称), value(第三方账户accesskey), avatar(头像), name(昵称), hometown(家乡), sex(行不)</li>
										<li>参数说明:key(QQ, SINA, WECHAT), sex(male, female, unknown)</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/user/sendsms.json?参数</li>
									</ul>
								</li>
							  <li><strong>绑定第三方账户</strong>
									<ul>
										<li>参数:username, captcha, key, value</li>
										<li>参数说明:key(QQ, SINA, WECHAT)</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/user/boundingThirdPartAccount.json?</li>
									</ul>
								</li>
								<li><strong>解绑第三方账户</strong>
									<ul>
										<li>参数:username, captcha, key, value</li>
										<li>参数说明:key(QQ, SINA, WECHAT)</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/user/unBoundThirdPartAccount.json?</li>
									</ul>
								</li>
								<li><strong>更新用户头像</strong>
									<ul>
										<li>参数:username(用户名 id/ 手机号码 必填 int/string ),captcha( 验证码 选填 string类型),file=avatar(用户头像)</li>
										<li>返回参数:code(状态码),filePath(上传图片地址返回)</li>
										<li>地址:${serverRoot }/user/updateAvatar.json</li>
										<li>
											<form action="${serverRoot }/user/updateAvatar.json" method="post" enctype="multipart/form-data">  
											    <table>  
											        <tr>  
											            <td width="100" align="right">照片:</td>  
											            <td>
											            <input type="hidden" name="username" value="100005"/> 
											            <input type="hidden" name="captcha" value="0674"/> 
											            <input type="file" name="avatar"/>   
											            <input type="submit">
											            </td>  
											        </tr>  
											    </table>  
											</form>  							
										</li>
									</ul>
								</li>
								<li><strong>取消关注接口</strong>
									<ul>
										<li>参数:username(用户名id / 手机号码 必填 int/string类型),captcha(验证码 选填 string类型),followerId(被取消关注人的id 必填 int类型)</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>传参注意:第三方账户登录时 验证码不传</li>
										<li>地址:${serverRoot }/user/cancleFollow.json?username=18600188123&captcha=2147&followerId=100006</li>
									</ul>
								</li>
								<li><strong>添加关注接口</strong>
									<ul>
										<li>参数:username(用户名id / 手机号码 必填 int/string类型),captcha(验证码 选填 string类型),followerId(被关注人的id 必填 int类型)</li>
										<li>传参注意:第三方账户登录时 验证码不传</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/user/dofollow.json?username=18600188123&captcha=2147&followerId=100006</li>
									</ul>
								</li>
								<li><strong>用户收到的礼物列表</strong>
									<ul>
										<li>参数:username(用户名id / 手机号码 必填 int/string类型),captcha(验证码 选填 string类型),page(当前页 必填 int类型 默认为1),size(每页的记录数  选填 int类型 默认20条)</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/user/receivedGiftList.json?username=18600188123&captcha=2147&page=1&size=2</li>
									</ul>
								</li>
								<li><strong>获取用户信息</strong>
									<ul>
										<li>参数:username(用户名id / 手机号码 必填 int/string类型),captcha(验证码 选填 string类型),userid(其他用户id 选填 int类型 )</li>
										<li>参数:第三方账户登录时,验证码不传;当获取自己的用户信息时不需要传userid,只有访问其他个人中心是才传userid</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/user/requestUserInfo.json</li>
									</ul>
								</li>
								<li><strong>获取用户是否正在直播</strong>
									<ul>
										<li>参数:username(用户名id / 手机号码 必填 int/string类型)</li>
										<li>返回参数:code(状态码,0:正在直播;其他,没有直播),description(状态描述)</li>
										<li>地址:${serverRoot }/user/isLiving.json?username=18600188123</li>
									</ul>
								</li>
								<li><strong>提交审核用户主播信息</strong>
									<ul>
										<li>参数:userId(用户名id / 手机号码 必填 int/string类型),username(姓名,必填),contact(联系方式,必填),idCard(身份证号,必填),handCardFile(手持身份证,必填),cardFileFront(身份证,必填),cardFileBack(身份证,必填)</li>
										<li>返回参数:code(状态码,),description(状态描述)</li>
										<li>地址:${serverRoot }/user/uploadCheckAnchorInfo.json?userId=1&username=</li>
									</ul>
								</li>
								<li><strong>获取用户审核信息</strong>
									<ul>
										<li>参数:userId(用户名id 必填 int类型),captcha(验证码 选填 string类型),page(当前页 必填 int类型 默认为1),size(每页的记录数  选填 int类型 默认20条)</li>
										<li>返回参数:code(状态码,),description(状态描述)</li>
										<li>地址:${serverRoot }/user/getCheckAnchorInfo.json?userId=1&captcha=</li>
									</ul>
								</li>
							</ol>
						</div>
					</div>
				</div>
				
				<div class="panel panel-default">
					<button type="button" class="btn btn-success btn-block" data-parent="#accordion" data-toggle="collapse" data-target="#sendGiftDetail">礼物信息</button>
					<div id="sendGiftDetail" class="panel-collapse collapse">
						<div class="panel-body">
							<ol>
								<li><strong>送礼物接口</strong>
									<ul>
										<li>参数:fromUserId(赠送者ID 必填 int/string类型),toUserId(受赠者ID 必填 int类型),liveId(直播间id 必填 int类型), giftId(礼物id 必填 int类型), count(礼物数量 必填 类型)</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/gift/sendGiftDetail.json?fromUserId=100005&toUserId=100013&giftId=1&count=10&liveId=1</li>
									</ul>
								</li>
							</ol>
						</div>
					</div>
				</div>
				<div class="panel panel-default">
					<button type="button" class="btn btn-success btn-block" data-parent="#accordion" data-toggle="collapse" data-target="#feedback">反馈</button>
					<div id="feedback" class="panel-collapse collapse">
						<div class="panel-body">
							<ol>
								<li><strong>添加反馈接口</strong>
									<ul>
										<li>参数:username(用户名id / 手机号码 必填 string类型),captcha(验证码 选填 string类型),message(反馈内容 必填 string类型), file=mesFile(图片)</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/feedback.json</li>
										<li>
											<form action="${serverRoot }/feedback.json" method="post" enctype="multipart/form-data">  
											    <table>  
											        <tr>  
											            <td width="100" align="right">照片:</td>  
											            <td>
											            <input type="hidden" name="username" value="15812724212"/> 
											            <input type="hidden" name="captcha" value="2134"/> 
											            <input type="hidden" name="message" value="反馈反馈反馈反馈反馈反馈饭"/> 
											            <input type="file" name="mesFile"/>   
											            <input type="submit">
											            </td>  
											        </tr>  
											    </table>  
											</form>  							
										</li>
									</ul>
								</li>
							</ol>
						</div>
					</div>
				</div>
				<div class="panel panel-default">
					<button type="button" class="btn btn-success btn-block" data-parent="#accordion" data-toggle="collapse" data-target="#config">获取App信息</button>
					<div id="config" class="panel-collapse collapse">
						<div class="panel-body">
							<ol>
								<li><strong>获取App版本号</strong>
									<ul>
										<li>参数:model(机型),brand(平台),deviceID(设备ID), width(宽), heigth(高), appversion(版本号), userId(用户ID),msisdn(手机号),otherinfo(其他信息),osversion(操作系统版本),platform(平台型号)</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/requestAppInfo.json?model=101123&brand=100013&deviceID=7&width=10&heigth=68&appversion=1.0&userId=100012&msisdn=13801110011&platform=""&osversion=""</li>
									</ul>
								</li>
								<li><strong>获取首页轮播图</strong>
									<ul>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/getLoopBannerList.json</li>
									</ul>
								</li>
								<!--
								<li><strong>获取直播间系统消息</strong>
									<ul>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/liveMessage.json</li>
									</ul>
								</li>
								
								<li><strong>蜜糖兑中国</strong>
									<ul>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/meExchangeChina.json</li>
									</ul>
								</li>
								-->
								<li><strong>中国兑人民</strong>
									<ul>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/chinaExchangeRMB.json</li>
									</ul>
								</li>
								<li><strong>获取广告位</strong>
									<ul>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/getAdvertisement.json</li>
									</ul>
								</li>
								<li><strong>获取货币换算列表</strong>
									<ul>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/getConversionPrice.json</li>
										<li>例子:{"code":0,"description":"OK","list":[{"price":100,"chineseCoin":1}]}</li>
									</ul>
								</li>
								<li><strong>获取等级数据(系统设置的等级)</strong>
									<ul>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/getAllLevel.json</li>
										<li>例子:</li>
									</ul>
								</li>
								<li><strong>获取引导页</strong>
									<ul>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/getGuidPage.json</li>
									</ul>
								</li>
								<!-- 
								<li><strong>获取心跳间隔时间</strong>
									<ul>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/getHeartbeat.json</li>
									</ul>
								</li>
								 -->
							</ol>
						</div>
					</div>
				</div>
				<div class="panel panel-default">
					<button type="button" class="btn btn-success btn-block" data-parent="#accordion" data-toggle="collapse" data-target="#live">视频</button>
					<div id="live" class="panel-collapse collapse">
						<div class="panel-body">
							<ol>
								<li><strong>开启直播接口</strong>
									<ul>
										<li>参数:username(用户名id / 手机号码 必填 string类型),captcha(验证码 选填 string类型),name(标题 必填 string类型),
										        chatroomAddr(聊天室地址 必填 string类型), tag(标签 选填 string 类型),isAllowLocation(是否允许定位匹配 int 选填  1开启  0关闭),
										        longitude(经度 选填 float), latitude(纬度 选填 float),
										</li>
										<li>返回参数:当isAllowLocation有值,longitude和latitude必填</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/live/startLive.json?username=100013&name=测试直播&chatroomAddr=3333333</li>
									</ul>
								</li>
								<li><strong>结束直播</strong>
									<ul>
										<li>参数:liveId(房间id 必填 int类型)</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/live/stopLive.json?username=100013&liveId=8</li>
									</ul>
								</li>
								<li><strong>进入点播并且获取房间详情</strong>
									<ul>
										<li>参数:liveId(房间id 必填 int类型)</li>
										<li>返回参数:type(1 直播   2  点播)   recordAddr(点播地址)  videoAddr(直播收流地址)</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/live/requestLiveRoomInfo.json?liveId=8</li>
									</ul>
								</li>
								<li><strong>进入直播房间并且获取房间信息</strong>
									<ul>
										<li>参数:liveId(房间id 必填 int类型),userId(用户名id 选填 int类型)</li>
										<li>返回参数:type(1 直播   2  点播)   recordAddr(点播地址)  videoAddr(直播收流地址)</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/live/loginLiveRoom.json?liveId=8</li>
									</ul>
								</li>
								<li><strong>离开房间</strong>
									<ul>
										<li>参数:liveId(房间id 必填 int类型),userId(用户名id 选填 int类型)</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/live/logoutLiveRoom.json?liveId=8</li>
									</ul>
								</li>
								<li><strong>获取当前登录用户下所有被关注的人的直播和录播视频列表</strong>
									<ul>
										<li>参数:username(用户名id / 手机号码 必填 string类型),captcha(验证码 选填 string类型),page(当前页 必填 int类型 默认为1),size(每页的记录数  选填 int类型 默认20条)</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/live/requestFollowerLiveList.json?username=100025</li>
									</ul>
								</li>
								<li><strong> 获取热门直播列表</strong>
									<ul>
										<li>参数:username(用户名id / 手机号码 必填 string类型),captcha(验证码 选填 string类型),page(当前页 必填 int类型 默认为1),size(每页的记录数  选填 int类型 默认20条)</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/live/requestHotLiveList.json?username=100025</li>
									</ul>
								</li>
								<li><strong>获取此用户下所有的视频列表</strong>
									<ul>
										<li>参数:username(用户名id / 手机号码 必填 string类型),captcha(验证码 选填 string类型),page(当前页 必填 int类型 默认为1),size(每页的记录数  选填 int类型 默认20条)</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/live/requestUserLiveList.json?username=100013</li>
									</ul>
								</li>
								<li><strong>获取当前登录用户下所有被关注的人的直播视频列表</strong>
									<ul>
										<li>参数:username(用户名id / 手机号码 必填 string类型),captcha(验证码 选填 string类型),page(当前页 必填 int类型 默认为1),size(每页的记录数  选填 int类型 默认20条)</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/live/requestFollowerVideoLiveList.json?username=100025</li>
									</ul>
								</li>
								<li><strong>获取最新直播列表</strong>
									<ul>
										<li>参数:username(用户名id / 手机号码 必填 string类型),captcha(验证码 选填 string类型),page(当前页 必填 int类型 默认为1),size(每页的记录数  选填 int类型 默认20条)</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/live/requestNewLiveList.json?username=100025</li>
									</ul>
								</li>
								<li><strong>获取明星直播列表</strong>
									<ul>
										<li>参数:username(用户名id / 手机号码 必填 string类型),captcha(验证码 选填 string类型),page(当前页 必填 int类型 默认为1),size(每页的记录数  选填 int类型 默认20条)</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/live/requestStarLiveList.json?username=100025</li>
									</ul>
								</li>
								<li><strong>更新直播间的心跳</strong>
									<ul>
										<li>参数:liveId</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/live/updateLiveHeartbeat.json?liveId=731</li>
									</ul>
								</li>
								<li><strong>获取用户周边一定范围的直播列表</strong>
									<ul>
										<li>参数:username(用户名id / 手机号码 必填 string类型),captcha(验证码 选填 string类型),
											maxlongitude(经度 选填 float), maxlatitude(纬度 选填 float),
											minlongitude(经度 选填 float), minlatitude(纬度 选填 float),
											page(当前页 必填 int类型 默认为1),size(每页的记录数  选填 int类型 默认20条)
										</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/live/locationLiveList.json?username=13800000004&captcha=0004&maxlongitude=116.470706&maxlatitude=39.905883&minlongitude=116.47000&minlatitude=39.9000</li>
									</ul>
								</li>
								<li><strong>获取直播中所有观看者列表</strong>
									<ul>
										<li>参数:liveId(直播间ID 必填 int类型),userId(用户名id 选填 string类型),
											page(当前页 必填 int类型 默认为1),size(每页的记录数  选填 int类型 默认20条)
										</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/live/getLiveUserList.json?liveId=5751&userId=111&page=1</li>
									</ul>
								</li>
								<li><strong>发送弹幕,扣除一个中国币</strong>
									<ul>
										<li>参数:参数:username(用户名id / 手机号码 必填 string类型),captcha(验证码 必填 string类型),liveId(直播间ID 必填 int类型),
											message(当前页 必填 int类型 默认为1)
										</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/live/sendBulletScreenMessage.json?username=13611118888&captcha=12345&liveId=5751&</li>
									</ul>
								</li>
							</ol>
						</div>
					</div>
				</div>
				
				<div class="panel panel-default">
					<button type="button" class="btn btn-success btn-block" data-parent="#accordion" data-toggle="collapse" data-target="#like">点赞</button>
					<div id="like" class="panel-collapse collapse">
						<div class="panel-body">
							<ol>
								<li><strong>点赞接口</strong>
									<ul>
										<li>参数:username(用户名id / 手机号码 必填 string类型),captcha(验证码 选填 string类型),liveId(直播间id/点播间 int 必填),count(点赞数量 int 必填)</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/live/like.json?username=100025&liveId=36</li>
									</ul>
								</li>
								<li><strong>此用户下所有点赞用户列表接口</strong>
									<ul>
										<li>参数:username(用户名id / 手机号码 必填 string类型),captcha(验证码 选填 string类型)</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/live/getUserLikeList.json?username=100012</li>
									</ul>
								</li>
								<li><strong>此直播或点播房间下所有点赞用户列表接口</strong>
									<ul>
										<li>参数:liveId(直播间id/点播间 int 必填)</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/live/getLiveLikeList.json?liveId=36</li>
									</ul>
								</li>
							</ol>
						</div>
					</div>
				</div>
				<div class="panel panel-default">
					<button type="button" class="btn btn-success btn-block" data-parent="#accordion" data-toggle="collapse" data-target="#GiftStat">榜单</button>
					<div id="GiftStat" class="panel-collapse collapse">
						<div class="panel-body">
							<ol>
								<li><strong>此直播间贡献度列表接口</strong>
									<ul>
										<li>参数:liveId(直播间id/点播间 int 必填),page(当前页 必填 int类型 默认为1),size(每页的记录数  选填 int类型 默认20条)</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/live/getLiveGiftStatList.json?liveId=9</li>
									</ul>
								</li>
								<li><strong>此用户收到的贡献度列表接口</strong>
									<ul>
										<li>参数:username(用户名id / 手机号码 必填 string类型),captcha(验证码 选填 string类型),userId(用户ID 必填),page(当前页 必填 int类型 默认为1),size(每页的记录数  选填 int类型 默认20条)</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/live/getUserGiftStatList.json?username=100013</li>
									</ul>
								</li>
								<li><strong>此用户发送给他人的贡献度列表接口</strong>
									<ul>
										<li>参数:username(用户名id / 手机号码 必填 string类型),captcha(验证码 选填 string类型),userId(用户ID 必填),page(当前页 必填 int类型 默认为1),size(每页的记录数  选填 int类型 默认20条)</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/live/getUserGiftToOtherList.json?username=13800000014&captcha=0000&userId=100555</li>
									</ul>
								</li>
							</ol>
						</div>
					</div>
				</div>
				<div class="panel panel-default">
					<button type="button" class="btn btn-success btn-block" data-parent="#accordion" data-toggle="collapse" data-target="#search">搜索</button>
					<div id="search" class="panel-collapse collapse">
						<div class="panel-body">
							<ol>
								<li><strong>搜索接口</strong>
									<ul>
										<li>参数:keyword( string 必填),page(当前页 必填 int类型 默认为1),size(每页的记录数  选填 int类型 默认20条)</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/search.json?keyword=t</li>
									</ul>
								</li>
							</ol>
						</div>
					</div>
				</div>
				<div class="panel panel-default">
					<button type="button" class="btn btn-success btn-block" data-parent="#accordion" data-toggle="collapse" data-target="#report">举报</button>
					<div id="report" class="panel-collapse collapse">
						<div class="panel-body">
							<ol>
								<li><strong>添加举报接口</strong>
									<ul>
										<li>参数:userId(用户名id 必填 int类型),liveId(被举报直播间 必填 int类型),reason(举报原因 必填 string类型), file=repFile(图片)</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/live/report.json</li>
										<li>
											<form action="${serverRoot }/live/report.json" method="post" enctype="multipart/form-data">  
											    <table>  
											        <tr>  
											            <td width="100" align="right">照片:</td>  
											            <td>
											            <input type="hidden" name="userId" value="100005"/> 
											            <input type="hidden" name="liveId" value="10"/> 
											            <input type="hidden" name="reason" value="色情"/> 
											            <input type="hidden" name="message" value="反馈反馈反馈反馈反馈反馈饭"/> 
											            <input type="file" name="repFile"/>   
											            <input type="submit">
											            </td>  
											        </tr>  
											    </table>  
											</form>  							
										</li>
									</ul>
								</li>
							</ol>
						</div>
					</div>
				</div>
				<div class="panel panel-default">
					<button type="button" class="btn btn-success btn-block" data-parent="#accordion" data-toggle="collapse" data-target="#Blacklist">拉黑</button>
					<div id="Blacklist" class="panel-collapse collapse">
						<div class="panel-body">
							<ol>
								<li><strong>添加拉黑接口</strong>
									<ul>
										<li>参数:userId(拉黑人 int 必填),blockUserId(被拉黑人 必填 int类型)</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/live/addBlacklist.json?userId=100005&blockUserId=100021</li>
									</ul>
								</li>
								<li><strong>取消拉黑接口</strong>
									<ul>
										<li>参数:blacklistId(拉黑id int 必填)</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/live/cancleBlacklist.json?blacklistId=1</li>
									</ul>
								</li>
								<li><strong>用户是否被拉黑接口</strong>
									<ul>
										<li>参数:userId(拉黑人 int 必填),blockUserId(被拉黑人 必填 int类型)</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/live/checkBlacklist.json?userId=100005&blockUserId=100021</li>
									</ul>
								</li>
								<li><strong>某用户下的拉黑列表接口</strong>
									<ul>
										<li>参数:userId(登录用户 int 必填)</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/live/getBlacklist.json?userId=100005</li>
									</ul>
								</li>
							</ol>
						</div>
					</div>
				</div>
				<div class="panel panel-default">
					<button type="button" class="btn btn-success btn-block" data-parent="#accordion" data-toggle="collapse" data-target="#ChatAuth">禁言</button>
					<div id="ChatAuth" class="panel-collapse collapse">
						<div class="panel-body">
							<ol>
								<li><strong>添加禁言接口</strong>
									<ul>
										<li>参数:userId(被禁言用户id int 必填),liveId(直播间 必填 int类型)</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/live/addChatAuth.json?userId=100005&liveId=10</li>
									</ul>
								</li>
								<li><strong>解除禁言接口</strong>
									<ul>
										<li>参数:userId(被禁言用户id int 必填),liveId(直播间 必填 int类型)</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/live/cancleChatAuth.json?userId=100005&liveId=10</li>
									</ul>
								</li>
								<li><strong>用户是否是被禁言接口</strong>
									<ul>
										<li>参数:userId(被禁言用户id int 必填),liveId(直播间 必填 int类型)</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/live/chechChatAuth.json?userId=100005&liveId=10</li>
									</ul>
								</li>
							</ol>
						</div>
					</div>
				</div>
				<div class="panel panel-default">
					<button type="button" class="btn btn-success btn-block" data-parent="#accordion" data-toggle="collapse" data-target="#red">红包</button>
					<div id="red" class="panel-collapse collapse">
						<div class="panel-body">
							<ol>
								<li><strong>发送红包接口</strong>
									<ul>
										<li>参数:userId(发送用户id int 必填),liveId(直播间 必填 int类型),money(蜜糖币 必填 int类型), count(抢红包数量 必填 int类型)</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot }/redEnvelop/sendRedEnvelop.json?userId=100005&liveId=10&money=10&count=11</li>
									</ul>
								</li>
								<li><strong>抢红包接口</strong>
									<ul>
										<li>参数:userId(发送用户id int 必填),redEnvelopId(红包id 必填 int类型)</li>
										<li>返回参数:code(状态码),description(状态描述),state(0:是第一次成功抢到红包,非0:是多次抢红包)</li>
										<li>地址:${serverRoot }/redEnvelop/grabRedEnvelop.json?userId=100017&redEnvelopId=1</li>
									</ul>
								</li>
							</ol>
						</div>
					</div>
				</div>
				<div class="panel panel-default">
					<button type="button" class="btn btn-success btn-block" data-parent="#accordion" data-toggle="collapse" data-target="#pay">支付</button>
					<div id="pay" class="panel-collapse collapse">
						<div class="panel-body">
							<ol>
								<li><strong>支付宝支付</strong>
									<ul>
										<li>参数:userId(发送用户id int 必填),payCash(支付金额 必填 int类型)</li>
										<li>地址:${serverRoot }/pay/alipayCharge.json</li>
									</ul>
								</li>
								<li><strong>微信支付</strong>
									<ul>
										<li>参数:userId(发送用户id int 必填),payCash(支付金额 必填 int类型)</li>
										<li>地址:${serverRoot }/pay/weixinCharge.json</li>
									</ul>
								</li>
							</ol>
						</div>
					</div>
				</div>
				<div class="panel panel-default">
					<button type="button" class="btn btn-success btn-block" data-parent="#accordion" data-toggle="collapse" data-target="#recharge">充值</button>
					<div id="recharge" class="panel-collapse collapse">
						<div class="panel-body">
							<ol>
								<li><strong>充值接口</strong>
									<ul>
										<li>参数:username(用户名id / 手机号码 必填 string类型),captcha(验证码 选填 string类型),money(充值金额 必填 int类型),mark(支付标示 meRechargeSuccess 选填 string类型)</li>
										<li>地址:${serverRoot }/user/recharge.json?username=100005&money=5&mark=meRechargeSuccess</li>
									</ul>
								</li>
								<li><strong>充值回调日志接口</strong>
									<ul>
										<li>参数:userId(用户名id  必填 int类型),orderNum(订单号 必填 string类型),payType(支付类型(1 微信 2 百度钱包 3支付宝 4和包 5移动短信支付 6移动话费支付) 必填 int类型),
											payTime(支付时间 必填 String类型), money(充值金额 必填 int类型),errorCode(错误编号(0 成功,其它失败)  选填 string类型),errorMsg(错误消息)  选填 string类型)</li>
										<li>地址:${serverRoot }/user/userRechargeLog.json</li>
									</ul>
								</li>
							</ol>
						</div>
					</div>
				</div>
				<div class="panel panel-default">
					<button type="button" class="btn btn-success btn-block" data-parent="#accordion" data-toggle="collapse" data-target="#withdraw">提现</button>
					<div id="withdraw" class="panel-collapse collapse">
						<div class="panel-body">
							<ol>
								<li><strong>提现接口(中国币)-- 蜜糖兑换中国币</strong>
									<ul>
										<li>参数:username(用户名id / 手机号码 必填 string类型),captcha(验证码 选填 string类型),money(提取蜜糖 必填 int类型),withdrawMark(提现标示 meWithdrawSuccess 选填 string类型)</li>
										<li>地址:${serverRoot }/user/withdraw.json?username=100005&money=5&withdrawMark=meWithdrawSuccess</li>
									</ul>
								</li>
								<li><strong>提现接口(人民币)-- 蜜糖兑换人民币</strong>
									<ul>
										<li>error_code 	错误编号 	varchar(50) 	是 	0 成功 其它失败
											error_msg 	错误消息 	varchar(100) 	是
											appId 	开发者ID 	varchar(50) 	是
											out_trade_no 	业务系统中的 订单号 	varchar(50) 	是
											total_fee 	订单总价 	int 	是 	单价分
											user_id 	用户ID 	varchar(50) 	否 	业务系统用户ID
											frmId 	渠道ID 	varchar(50) 	否
											transport_fee 	运费 	int 	否 	单位 分 如果设置了该项并使用了微信支付接口,将要求微信支付后要调用发货接口.
											attach.${key} 	业务回传参数 	varchar(300) 	否 	Map 键值对,调用生成订时提交的attach 参数,原样返回。
											transid 	交易号 	varchar(20) 	是
											pay_time 	支付时间 	varchar(20) 	是 	格式 yyyyMMddHHmmss
											pay_type 	支付类型 	int 	是 	1 微信 2 百度钱包 3支付宝 4和包 5移动短信支付 6移动话费支付
											status 	支付状态 	int 	是 	2 已支付 3 退订(仅移动话费支付)
											monthly 	包月 	int 	是 	0 or 1
											phone 	手机号 	String 	否 	短信支付 或 话费支付的手机号码
											sign 	签名串 	varchar(50) 	是 	签名规则</li>
										<li>地址:${serverRoot }/user/withdrawMtoR.json?username=100005&money=5&withdrawMark=meWithdrawSuccess</li>
									</ul>
								</li>
							</ol>
						</div>
					</div>
				</div>
				<div class="panel panel-default">
					<button type="button" class="btn btn-success btn-block" data-parent="#accordion" data-toggle="collapse" data-target="#share">分享</button>
					<div id="share" class="panel-collapse collapse">
						<div class="panel-body">
							<ol>
								<li><strong>分享地址</strong>
									<ul>
										<li>参数:liveId(视频id 必填 int类型)</li>
										<li>地址:${serverRoot }/live/share.json?username=xxx&captcha=xxx&liveId=1003</li>
									</ul>
								</li>
							</ol>
						</div>
					</div>
				</div>
				<div class="panel panel-default">
					<button type="button" class="btn btn-success btn-block" data-parent="#accordion" data-toggle="collapse" data-target="#applog">上传APP日志信息</button>
					<div id="applog" class="panel-collapse collapse">
						<div class="panel-body">
							<ol>
								<li><strong>上传APP日志信息</strong>
									<ul>
										<li>参数:filename(文件名,必填),file=loginfo(日志信息,是文件形式,必填)</li>
										<li>返回参数:code(状态码),description(状态描述)</li>
										<li>地址:${serverRoot}/log/toUploadLoginfo.json?loginfo=file</li>
									</ul>
								</li>
							</ol>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>

<script type="text/javascript">
	
</script>
</html>