作者 何书鹏
1 个管道 的构建 通过 耗费 0 秒

合并分支 'heshupeng' 到 'master'

消息接口



查看合并请求 !5
... ... @@ -20,6 +20,9 @@ use app\mobile\model\ScoreOrder;
use app\mobile\model\QuestionCollect;
use app\mobile\model\CourseCollect;
use app\mobile\model\QuestionNote;
use app\mobile\model\Message;
use app\mobile\model\Feedback;
use app\mobile\model\Problem;
use addons\epay\library\Service;
/**
... ... @@ -197,7 +200,7 @@ class User extends Api
*
* @param string $mobile 手机号
* @param string $newpassword 新密码
* @param string $captcha 验证码
* @param string $code 验证码
*/
public function resetpwd()
{
... ... @@ -923,42 +926,23 @@ class User extends Api
* @ApiReturn({
"code": 1,
"msg": "成功",
"time": "1600164731",
"time": "1600165190",
"data": {
"total": 1, //数据总数
"list": [{
"id": 1,
"id": 3, //笔记ID
"user_id": 16, //用户ID
"course_id": 1, //课程ID
"createtime": "2020.09.03 19:25", //收藏时间
"course": { //课程信息
"title": "测试课程", //课程标题
"cover": "", //课程封面图
"current_price": "50.00", //现价
"original_price": "100.00" //原价
"question_id": 5, //题目ID
"content": "这就是街舞", //笔记内容
"createtime": "2020.09.10 19:15", //收藏时间
"updatetime": 1599736531,
"question": { //题目信息
"title": "测试多选", //题目标题
"type": "2" //题目类型:1=单选题,2=多选题,3=判断题,4=简答题
}
}]
}
}{
"code": 1,
"msg": "成功",
"time": "1600165190",
"data": {
"total": 1, //数据总数
"list": [{
"id": 3,
"user_id": 16, //用户ID
"question_id": 5, //题目ID
"content": "这就是街舞", //笔记内容
"createtime": "2020.09.10 19:15", //收藏时间
"updatetime": 1599736531,
"question": { //题目信息
"title": "测试多选", //题目标题
"type": "2" //题目类型:1=单选题,2=多选题,3=判断题,4=简答题
}
}]
}
})
})
*/
public function collectNoteList()
{
... ... @@ -974,4 +958,319 @@ class User extends Api
})->toArray();
$this->success('成功', ['total'=>$data['total'],'list'=>$data['data']]);
}
/**
* @ApiWeigh (45)
* @ApiTitle (我的收藏-笔记-删除)
* @ApiSummary (我的收藏-笔记-删除)
* @ApiMethod (POST)
*
* @ApiHeaders (name=token, type=string, required=true, description="请求的Token")
* @ApiParams (name="question_note_id", type="inter", required=false, description="当前页(默认1)")
*
* @ApiReturn({
"code": 1,
"msg": "删除成功",
"time": "1600165190",
"data": null
})
*/
public function noteDelete()
{
$question_note_id = $this->request->param('question_note_id');
empty($question_note_id) && $this->error('缺少必需参数');
$info = QuestionNote::get($question_note_id);
empty($info) && $this->error('笔记信息不存在');
$info->delete();
$this->success('删除成功');
}
/**
* @ApiWeigh (43)
* @ApiTitle (消息)
* @ApiSummary (消息)
* @ApiMethod (POST)
*
* @ApiHeaders (name=token, type=string, required=true, description="请求的Token")
* @ApiParams (name="page", type="inter", required=false, description="当前页(默认1)")
* @ApiParams (name="page_num", type="inter", required=false, description="每页显示数据个数(默认10)")
*
* @ApiReturn({
"code": 1,
"msg": "成功",
"time": "1600167138",
"data": {
"total": 1, //数据总数
"list": [{
"id": 7, //消息ID
"title": "这是个消息", //消息标题
"createtime": "2020.09.12 20:45" //发送时间
}]
}
})
*/
public function messageList()
{
$page = $this->request->param('page', 1, 'intval');
$page_num = $this->request->param('page_num', 10, 'intval');
$data = Message::where('user_id',$this->auth->id)
->order('createtime desc')
->paginate($page_num,false,['page'=>$page])
->each(function($v){
$v['createtime'] = date('Y.m.d H:i',$v['createtime']);
$v->visible(['id','title','createtime']);
})->toArray();
$this->success('成功', ['total'=>$data['total'],'list'=>$data['data']]);
}
/**
* @ApiWeigh (43)
* @ApiTitle (消息-详情)
* @ApiSummary (消息-详情)
* @ApiMethod (POST)
*
* @ApiHeaders (name=token, type=string, required=true, description="请求的Token")
* @ApiParams (name="message_id", type="inter", required=true, description="消息ID")
*
* @ApiReturn({
"code": 1,
"msg": "成功",
"time": "1600167441",
"data": {
"id": 7, //消息ID
"user_id": 16, //用户ID
"title": "这是个消息", //消息标题
"content": "这个消息还不错Q", //消息内容
"is_read": "1", //是否已读:0=否,1=是
"createtime": 1599914736,
"updatetime": 1600167441
}
})
*/
public function messageInfo()
{
$message_id = $this->request->param('message_id');
empty($message_id) && $this->error('缺少必需参数');
$info = Message::get($message_id);
empty($info) && $this->error('消息不存在');
$info->save(['is_read'=>'1']);
$this->success('成功', $info);
}
/**
* @ApiWeigh (41)
* @ApiTitle (意见反馈-错误类型)
* @ApiSummary (意见反馈-错误类型)
* @ApiMethod (POST)
*
* @ApiReturn({
"code": 1,
"msg": "成功",
"time": "1600167441",
"data": {
"id": 7, //消息ID
"user_id": 16, //用户ID
"title": "这是个消息", //消息标题
"content": "这个消息还不错Q", //消息内容
"is_read": "1", //是否已读:0=否,1=是
"createtime": 1599914736,
"updatetime": 1600167441
}
})
*/
public function feedbackWrong()
{
$list = Db::name('mobile_feedback_wrong')->field('id,name')->select();
$this->success('成功', $list);
}
/**
* @ApiWeigh (39)
* @ApiTitle (意见反馈)
* @ApiSummary (意见反馈)
* @ApiMethod (POST)
*
* @ApiHeaders (name=token, type=string, required=true, description="请求的Token")
* @ApiParams (name="feedback_wrong_id", type="inter", required=true, description="错误类型ID")
* @ApiParams (name="content", type="string", required=true, description="反馈内容")
*
* @ApiReturn({
"code": 1,
"msg": "成功",
"time": "1600167441",
"data": {
"id": 7, //消息ID
"user_id": 16, //用户ID
"title": "这是个消息", //消息标题
"content": "这个消息还不错Q", //消息内容
"is_read": "1", //是否已读:0=否,1=是
"createtime": 1599914736,
"updatetime": 1600167441
}
})
*/
public function feedback()
{
$feedback_wrong_id = $this->request->param('feedback_wrong_id');
$content = $this->request->param('content');
empty($feedback_wrong_id) && $this->error('请选择错误类型');
empty($content) && $this->error('请填写反馈内容');
Feedback::create([
'user_id' => $this->auth->id,
'feedback_wrong_id' => $feedback_wrong_id,
'content' => $content
]);
$this->success('反馈成功');
}
/**
* @ApiWeigh (37)
* @ApiTitle (我的帖子)
* @ApiSummary (我的帖子)
* @ApiMethod (POST)
*
* @ApiHeaders (name=token, type=string, required=true, description="请求的Token")
* @ApiParams (name="feedback_wrong_id", type="inter", required=true, description="错误类型ID")
* @ApiParams (name="content", type="string", required=true, description="反馈内容")
*
* @ApiReturn({
"code": 1,
"msg": "成功",
"time": "1600167441",
"data": {
"id": 7, //消息ID
"user_id": 16, //用户ID
"title": "这是个消息", //消息标题
"content": "这个消息还不错Q", //消息内容
"is_read": "1", //是否已读:0=否,1=是
"createtime": 1599914736,
"updatetime": 1600167441
}
})
*/
public function topicList()
{
$page = $this->request->param('page', 1, 'intval');
$page_num = $this->request->param('page_num', 10, 'intval');
$data = Forum::with(['user'])
->where('user_id',$this->auth->id)
->order('createtime desc')
->paginate($page_num,false,['page'=>$page])
->each(function($v){
$v->visible(['id','title','content','createtime','agree_num','download_num','user']);
$v->createtime = date('Y.m.d H:i',$v['createtime']);
$v->getRelation('user')->visible(['user_id','avatar','nickname']);
})->toArray();
$this->success('成功', ['total'=>$data['total'],'list'=>$data['data']]);
}
/**
* @ApiWeigh (35)
* @ApiTitle (我的帖子-@我的)
* @ApiSummary (我的帖子-@我的)
* @ApiMethod (POST)
*
* @ApiHeaders (name=token, type=string, required=true, description="请求的Token")
*
* @ApiReturn({
"code": 1,
"msg": "成功",
"time": "1600167441",
"data": {
"id": 7, //消息ID
"user_id": 16, //用户ID
"title": "这是个消息", //消息标题
"content": "这个消息还不错Q", //消息内容
"is_read": "1", //是否已读:0=否,1=是
"createtime": 1599914736,
"updatetime": 1600167441
}
})
*/
public function topicCueMe()
{
$page = $this->request->param('page', 1, 'intval');
$page_num = $this->request->param('page_num', 10, 'intval');
$data = Forum::with(['user'])
->where('user_id',$this->auth->id)
->order('createtime desc')
->paginate($page_num,false,['page'=>$page])
->each(function($v){
$v->visible(['id','title','content','createtime','agree_num','download_num','user']);
$v->createtime = date('Y.m.d H:i',$v['createtime']);
$v->getRelation('user')->visible(['user_id','avatar','nickname']);
})->toArray();
$this->success('成功', ['total'=>$data['total'],'list'=>$data['data']]);
}
/**
* @ApiWeigh (10)
* @ApiTitle (常见问题)
* @ApiSummary (常见问题)
* @ApiMethod (POST)
*
* @ApiHeaders (name=token, type=string, required=true, description="请求的Token")
* @ApiParams (name="page", type="inter", required=false, description="当前页(默认1)")
* @ApiParams (name="page_num", type="inter", required=false, description="每页显示数据个数(默认10)")
*
* @ApiReturn({
"code": 1,
"msg": "成功",
"time": "1600167138",
"data": {
"total": 1, //数据总数
"list": [{
"id": 7, //消息ID
"title": "这是个消息", //消息标题
"createtime": "2020.09.12 20:45" //发送时间
}]
}
})
*/
public function problemList()
{
$page = $this->request->param('page', 1, 'intval');
$page_num = $this->request->param('page_num', 10, 'intval');
$data = Problem::where('user_id',$this->auth->id)
->order('createtime desc')
->paginate($page_num,false,['page'=>$page])
->each(function($v){
$v['createtime'] = date('Y.m.d H:i',$v['createtime']);
$v->visible(['id','title','createtime']);
})->toArray();
$this->success('成功', ['total'=>$data['total'],'list'=>$data['data']]);
}
/**
* @ApiWeigh (9)
* @ApiTitle (常见问题-详情)
* @ApiSummary (常见问题-详情)
* @ApiMethod (POST)
*
* @ApiHeaders (name=token, type=string, required=true, description="请求的Token")
* @ApiParams (name="problem_id", type="inter", required=true, description="问题ID")
*
* @ApiReturn({
"code": 1,
"msg": "成功",
"time": "1600167441",
"data": {
"id": 7, //消息ID
"user_id": 16, //用户ID
"title": "这是个消息", //消息标题
"content": "这个消息还不错Q", //消息内容
"is_read": "1", //是否已读:0=否,1=是
"createtime": 1599914736,
"updatetime": 1600167441
}
})
*/
public function problemInfo()
{
$problem_id = $this->request->param('problem_id');
empty($problem_id) && $this->error('缺少必需参数');
$info = Problem::get($problem_id);
empty($info) && $this->error('问题不存在');
$this->success('成功', $info);
}
}
\ No newline at end of file
... ...
<?php
namespace app\mobile\model;
use think\Model;
class Feedback extends Model
{
// 表名
protected $name = 'mobile_feedback';
// 开启自动写入时间戳字段
protected $autoWriteTimestamp = 'int';
// 定义时间戳字段名
protected $createTime = 'createtime';
protected $updateTime = 'updatetime';
}
\ No newline at end of file
... ...
<?php
namespace app\mobile\model;
use think\Model;
class Message extends Model
{
// 表名
protected $name = 'mobile_message';
// 开启自动写入时间戳字段
protected $autoWriteTimestamp = 'int';
// 定义时间戳字段名
protected $createTime = 'createtime';
protected $updateTime = 'updatetime';
}
\ No newline at end of file
... ...
<?php
namespace app\mobile\model;
use think\Model;
class Problem extends Model
{
// 表名
protected $name = 'mobile_problem';
// 开启自动写入时间戳字段
protected $autoWriteTimestamp = 'int';
// 定义时间戳字段名
protected $createTime = 'createtime';
protected $updateTime = 'updatetime';
}
\ No newline at end of file
... ...
... ... @@ -240,6 +240,15 @@
<a href="javascript:;" data-id="74" class="list-group-item">我的收藏-题目</a>
<a href="javascript:;" data-id="75" class="list-group-item">我的收藏-课程</a>
<a href="javascript:;" data-id="76" class="list-group-item">我的收藏-笔记</a>
<a href="javascript:;" data-id="77" class="list-group-item">我的收藏-笔记-删除</a>
<a href="javascript:;" data-id="78" class="list-group-item">消息</a>
<a href="javascript:;" data-id="79" class="list-group-item">消息-详情</a>
<a href="javascript:;" data-id="80" class="list-group-item">意见反馈-错误类型</a>
<a href="javascript:;" data-id="81" class="list-group-item">意见反馈</a>
<a href="javascript:;" data-id="82" class="list-group-item">我的帖子</a>
<a href="javascript:;" data-id="83" class="list-group-item">我的帖子-@我的</a>
<a href="javascript:;" data-id="84" class="list-group-item">常见问题</a>
<a href="javascript:;" data-id="85" class="list-group-item">常见问题-详情</a>
</div>
<a href="#支付异步接口" class="list-group-item" data-toggle="collapse" data-parent="#sidebar">支付异步接口 <i class="fa fa-caret-down"></i></a>
<div class="child collapse" id="支付异步接口">
... ... @@ -7733,7 +7742,7 @@
<td>新密码</td>
</tr>
<tr>
<td>captcha</td>
<td>code</td>
<td>string</td>
<td></td>
<td>验证码</td>
... ... @@ -7765,8 +7774,8 @@
<input type="string" class="form-control input-sm" id="newpassword" required placeholder="新密码" name="newpassword">
</div>
<div class="form-group">
<label class="control-label" for="captcha">captcha</label>
<input type="string" class="form-control input-sm" id="captcha" required placeholder="验证码" name="captcha">
<label class="control-label" for="code">code</label>
<input type="string" class="form-control input-sm" id="code" required placeholder="验证码" name="code">
</div>
<div class="form-group">
<button type="submit" class="btn btn-success send" rel="55">提交</button>
... ... @@ -10563,19 +10572,19 @@
<pre id="sample_response76">{
"code": 1,
"msg": "成功",
"time": "1600164731",
"time": "1600165190",
"data": {
"total": 1, //数据总数
"list": [{
"id": 1,
"id": 3, //笔记ID
"user_id": 16, //用户ID
"course_id": 1, //课程ID
"createtime": "2020.09.03 19:25", //收藏时间
"course": { //课程信息
"title": "测试课程", //课程标题
"cover": "", //课程封面图
"current_price": "50.00", //现价
"original_price": "100.00" //原价
"question_id": 5, //题目ID
"content": "这就是街舞", //笔记内容
"createtime": "2020.09.10 19:15", //收藏时间
"updatetime": 1599736531,
"question": { //题目信息
"title": "测试多选", //题目标题
"type": "2" //题目类型:1=单选题,2=多选题,3=判断题,4=简答题
}
}]
}
... ... @@ -10588,6 +10597,1331 @@
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading" id="heading-77">
<h4 class="panel-title">
<span class="label label-primary">POST</span>
<a data-toggle="collapse" data-parent="#accordion77" href="#collapseOne77"> 我的收藏-笔记-删除 <span class="text-muted">/mobile/user/noteDelete</span></a>
</h4>
</div>
<div id="collapseOne77" class="panel-collapse collapse">
<div class="panel-body">
<!-- Nav tabs -->
<ul class="nav nav-tabs" id="doctab77">
<li class="active"><a href="#info77" data-toggle="tab">基础信息</a></li>
<li><a href="#sandbox77" data-toggle="tab">在线测试</a></li>
<li><a href="#sample77" data-toggle="tab">返回示例</a></li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div class="tab-pane active" id="info77">
<div class="well">
我的收藏-笔记-删除 </div>
<div class="panel panel-default">
<div class="panel-heading"><strong>Headers</strong></div>
<div class="panel-body">
<table class="table table-hover">
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th>必选</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>token</td>
<td>string</td>
<td></td>
<td>请求的Token</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>参数</strong></div>
<div class="panel-body">
<table class="table table-hover">
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th>必选</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>question_note_id</td>
<td>inter</td>
<td></td>
<td>当前页(默认1</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>正文</strong></div>
<div class="panel-body">
</div>
</div>
</div><!-- #info -->
<div class="tab-pane" id="sandbox77">
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading"><strong>Headers</strong></div>
<div class="panel-body">
<div class="headers">
<div class="form-group">
<label class="control-label" for="token">token</label>
<input type="string" class="form-control input-sm" id="token" required placeholder="请求的Token - Ex: " name="token">
</div>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>参数</strong></div>
<div class="panel-body">
<form enctype="application/x-www-form-urlencoded" role="form" action="/mobile/user/noteDelete" method="POST" name="form77" id="form77">
<div class="form-group">
<label class="control-label" for="question_note_id">question_note_id</label>
<input type="inter" class="form-control input-sm" id="question_note_id" placeholder="当前页(默认1" name="question_note_id">
</div>
<div class="form-group">
<button type="submit" class="btn btn-success send" rel="77">提交</button>
<button type="reset" class="btn btn-info" rel="77">重置</button>
</div>
</form>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>响应输出</strong></div>
<div class="panel-body">
<div class="row">
<div class="col-md-12" style="overflow-x:auto">
<pre id="response_headers77"></pre>
<pre id="response77"></pre>
</div>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>返回参数</strong></div>
<div class="panel-body">
</div>
</div>
</div>
</div>
</div><!-- #sandbox -->
<div class="tab-pane" id="sample77">
<div class="row">
<div class="col-md-12">
<pre id="sample_response77">{
"code": 1,
"msg": "删除成功",
"time": "1600165190",
"data": null
}</pre>
</div>
</div>
</div><!-- #sample -->
</div><!-- .tab-content -->
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading" id="heading-78">
<h4 class="panel-title">
<span class="label label-primary">POST</span>
<a data-toggle="collapse" data-parent="#accordion78" href="#collapseOne78"> 消息 <span class="text-muted">/mobile/user/messageList</span></a>
</h4>
</div>
<div id="collapseOne78" class="panel-collapse collapse">
<div class="panel-body">
<!-- Nav tabs -->
<ul class="nav nav-tabs" id="doctab78">
<li class="active"><a href="#info78" data-toggle="tab">基础信息</a></li>
<li><a href="#sandbox78" data-toggle="tab">在线测试</a></li>
<li><a href="#sample78" data-toggle="tab">返回示例</a></li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div class="tab-pane active" id="info78">
<div class="well">
消息 </div>
<div class="panel panel-default">
<div class="panel-heading"><strong>Headers</strong></div>
<div class="panel-body">
<table class="table table-hover">
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th>必选</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>token</td>
<td>string</td>
<td></td>
<td>请求的Token</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>参数</strong></div>
<div class="panel-body">
<table class="table table-hover">
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th>必选</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>page</td>
<td>inter</td>
<td></td>
<td>当前页(默认1</td>
</tr>
<tr>
<td>page_num</td>
<td>inter</td>
<td></td>
<td>每页显示数据个数(默认10)</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>正文</strong></div>
<div class="panel-body">
</div>
</div>
</div><!-- #info -->
<div class="tab-pane" id="sandbox78">
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading"><strong>Headers</strong></div>
<div class="panel-body">
<div class="headers">
<div class="form-group">
<label class="control-label" for="token">token</label>
<input type="string" class="form-control input-sm" id="token" required placeholder="请求的Token - Ex: " name="token">
</div>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>参数</strong></div>
<div class="panel-body">
<form enctype="application/x-www-form-urlencoded" role="form" action="/mobile/user/messageList" method="POST" name="form78" id="form78">
<div class="form-group">
<label class="control-label" for="page">page</label>
<input type="inter" class="form-control input-sm" id="page" placeholder="当前页(默认1" name="page">
</div>
<div class="form-group">
<label class="control-label" for="page_num">page_num</label>
<input type="inter" class="form-control input-sm" id="page_num" placeholder="每页显示数据个数(默认10)" name="page_num">
</div>
<div class="form-group">
<button type="submit" class="btn btn-success send" rel="78">提交</button>
<button type="reset" class="btn btn-info" rel="78">重置</button>
</div>
</form>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>响应输出</strong></div>
<div class="panel-body">
<div class="row">
<div class="col-md-12" style="overflow-x:auto">
<pre id="response_headers78"></pre>
<pre id="response78"></pre>
</div>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>返回参数</strong></div>
<div class="panel-body">
</div>
</div>
</div>
</div>
</div><!-- #sandbox -->
<div class="tab-pane" id="sample78">
<div class="row">
<div class="col-md-12">
<pre id="sample_response78">{
"code": 1,
"msg": "成功",
"time": "1600167138",
"data": {
"total": 1, //数据总数
"list": [{
"id": 7, //消息ID
"title": "这是个消息", //消息标题
"createtime": "2020.09.12 20:45" //发送时间
}]
}
}</pre>
</div>
</div>
</div><!-- #sample -->
</div><!-- .tab-content -->
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading" id="heading-79">
<h4 class="panel-title">
<span class="label label-primary">POST</span>
<a data-toggle="collapse" data-parent="#accordion79" href="#collapseOne79"> 消息-详情 <span class="text-muted">/mobile/user/messageInfo</span></a>
</h4>
</div>
<div id="collapseOne79" class="panel-collapse collapse">
<div class="panel-body">
<!-- Nav tabs -->
<ul class="nav nav-tabs" id="doctab79">
<li class="active"><a href="#info79" data-toggle="tab">基础信息</a></li>
<li><a href="#sandbox79" data-toggle="tab">在线测试</a></li>
<li><a href="#sample79" data-toggle="tab">返回示例</a></li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div class="tab-pane active" id="info79">
<div class="well">
消息-详情 </div>
<div class="panel panel-default">
<div class="panel-heading"><strong>Headers</strong></div>
<div class="panel-body">
<table class="table table-hover">
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th>必选</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>token</td>
<td>string</td>
<td></td>
<td>请求的Token</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>参数</strong></div>
<div class="panel-body">
<table class="table table-hover">
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th>必选</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>message_id</td>
<td>inter</td>
<td></td>
<td>消息ID</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>正文</strong></div>
<div class="panel-body">
</div>
</div>
</div><!-- #info -->
<div class="tab-pane" id="sandbox79">
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading"><strong>Headers</strong></div>
<div class="panel-body">
<div class="headers">
<div class="form-group">
<label class="control-label" for="token">token</label>
<input type="string" class="form-control input-sm" id="token" required placeholder="请求的Token - Ex: " name="token">
</div>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>参数</strong></div>
<div class="panel-body">
<form enctype="application/x-www-form-urlencoded" role="form" action="/mobile/user/messageInfo" method="POST" name="form79" id="form79">
<div class="form-group">
<label class="control-label" for="message_id">message_id</label>
<input type="inter" class="form-control input-sm" id="message_id" required placeholder="消息ID" name="message_id">
</div>
<div class="form-group">
<button type="submit" class="btn btn-success send" rel="79">提交</button>
<button type="reset" class="btn btn-info" rel="79">重置</button>
</div>
</form>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>响应输出</strong></div>
<div class="panel-body">
<div class="row">
<div class="col-md-12" style="overflow-x:auto">
<pre id="response_headers79"></pre>
<pre id="response79"></pre>
</div>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>返回参数</strong></div>
<div class="panel-body">
</div>
</div>
</div>
</div>
</div><!-- #sandbox -->
<div class="tab-pane" id="sample79">
<div class="row">
<div class="col-md-12">
<pre id="sample_response79">{
"code": 1,
"msg": "成功",
"time": "1600167441",
"data": {
"id": 7, //消息ID
"user_id": 16, //用户ID
"title": "这是个消息", //消息标题
"content": "这个消息还不错Q", //消息内容
"is_read": "1", //是否已读:0=否,1=是
"createtime": 1599914736,
"updatetime": 1600167441
}
}</pre>
</div>
</div>
</div><!-- #sample -->
</div><!-- .tab-content -->
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading" id="heading-80">
<h4 class="panel-title">
<span class="label label-primary">POST</span>
<a data-toggle="collapse" data-parent="#accordion80" href="#collapseOne80"> 意见反馈-错误类型 <span class="text-muted">/mobile/user/feedbackWrong</span></a>
</h4>
</div>
<div id="collapseOne80" class="panel-collapse collapse">
<div class="panel-body">
<!-- Nav tabs -->
<ul class="nav nav-tabs" id="doctab80">
<li class="active"><a href="#info80" data-toggle="tab">基础信息</a></li>
<li><a href="#sandbox80" data-toggle="tab">在线测试</a></li>
<li><a href="#sample80" data-toggle="tab">返回示例</a></li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div class="tab-pane active" id="info80">
<div class="well">
意见反馈-错误类型 </div>
<div class="panel panel-default">
<div class="panel-heading"><strong>Headers</strong></div>
<div class="panel-body">
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>参数</strong></div>
<div class="panel-body">
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>正文</strong></div>
<div class="panel-body">
</div>
</div>
</div><!-- #info -->
<div class="tab-pane" id="sandbox80">
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading"><strong>参数</strong></div>
<div class="panel-body">
<form enctype="application/x-www-form-urlencoded" role="form" action="/mobile/user/feedbackWrong" method="POST" name="form80" id="form80">
<div class="form-group">
</div>
<div class="form-group">
<button type="submit" class="btn btn-success send" rel="80">提交</button>
<button type="reset" class="btn btn-info" rel="80">重置</button>
</div>
</form>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>响应输出</strong></div>
<div class="panel-body">
<div class="row">
<div class="col-md-12" style="overflow-x:auto">
<pre id="response_headers80"></pre>
<pre id="response80"></pre>
</div>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>返回参数</strong></div>
<div class="panel-body">
</div>
</div>
</div>
</div>
</div><!-- #sandbox -->
<div class="tab-pane" id="sample80">
<div class="row">
<div class="col-md-12">
<pre id="sample_response80">{
"code": 1,
"msg": "成功",
"time": "1600167441",
"data": {
"id": 7, //消息ID
"user_id": 16, //用户ID
"title": "这是个消息", //消息标题
"content": "这个消息还不错Q", //消息内容
"is_read": "1", //是否已读:0=否,1=是
"createtime": 1599914736,
"updatetime": 1600167441
}
}</pre>
</div>
</div>
</div><!-- #sample -->
</div><!-- .tab-content -->
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading" id="heading-81">
<h4 class="panel-title">
<span class="label label-primary">POST</span>
<a data-toggle="collapse" data-parent="#accordion81" href="#collapseOne81"> 意见反馈 <span class="text-muted">/mobile/user/feedback</span></a>
</h4>
</div>
<div id="collapseOne81" class="panel-collapse collapse">
<div class="panel-body">
<!-- Nav tabs -->
<ul class="nav nav-tabs" id="doctab81">
<li class="active"><a href="#info81" data-toggle="tab">基础信息</a></li>
<li><a href="#sandbox81" data-toggle="tab">在线测试</a></li>
<li><a href="#sample81" data-toggle="tab">返回示例</a></li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div class="tab-pane active" id="info81">
<div class="well">
意见反馈 </div>
<div class="panel panel-default">
<div class="panel-heading"><strong>Headers</strong></div>
<div class="panel-body">
<table class="table table-hover">
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th>必选</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>token</td>
<td>string</td>
<td></td>
<td>请求的Token</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>参数</strong></div>
<div class="panel-body">
<table class="table table-hover">
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th>必选</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>feedback_wrong_id</td>
<td>inter</td>
<td></td>
<td>错误类型ID</td>
</tr>
<tr>
<td>content</td>
<td>string</td>
<td></td>
<td>反馈内容</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>正文</strong></div>
<div class="panel-body">
</div>
</div>
</div><!-- #info -->
<div class="tab-pane" id="sandbox81">
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading"><strong>Headers</strong></div>
<div class="panel-body">
<div class="headers">
<div class="form-group">
<label class="control-label" for="token">token</label>
<input type="string" class="form-control input-sm" id="token" required placeholder="请求的Token - Ex: " name="token">
</div>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>参数</strong></div>
<div class="panel-body">
<form enctype="application/x-www-form-urlencoded" role="form" action="/mobile/user/feedback" method="POST" name="form81" id="form81">
<div class="form-group">
<label class="control-label" for="feedback_wrong_id">feedback_wrong_id</label>
<input type="inter" class="form-control input-sm" id="feedback_wrong_id" required placeholder="错误类型ID" name="feedback_wrong_id">
</div>
<div class="form-group">
<label class="control-label" for="content">content</label>
<input type="string" class="form-control input-sm" id="content" required placeholder="反馈内容" name="content">
</div>
<div class="form-group">
<button type="submit" class="btn btn-success send" rel="81">提交</button>
<button type="reset" class="btn btn-info" rel="81">重置</button>
</div>
</form>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>响应输出</strong></div>
<div class="panel-body">
<div class="row">
<div class="col-md-12" style="overflow-x:auto">
<pre id="response_headers81"></pre>
<pre id="response81"></pre>
</div>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>返回参数</strong></div>
<div class="panel-body">
</div>
</div>
</div>
</div>
</div><!-- #sandbox -->
<div class="tab-pane" id="sample81">
<div class="row">
<div class="col-md-12">
<pre id="sample_response81">{
"code": 1,
"msg": "成功",
"time": "1600167441",
"data": {
"id": 7, //消息ID
"user_id": 16, //用户ID
"title": "这是个消息", //消息标题
"content": "这个消息还不错Q", //消息内容
"is_read": "1", //是否已读:0=否,1=是
"createtime": 1599914736,
"updatetime": 1600167441
}
}</pre>
</div>
</div>
</div><!-- #sample -->
</div><!-- .tab-content -->
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading" id="heading-82">
<h4 class="panel-title">
<span class="label label-primary">POST</span>
<a data-toggle="collapse" data-parent="#accordion82" href="#collapseOne82"> 我的帖子 <span class="text-muted">/mobile/user/topicList</span></a>
</h4>
</div>
<div id="collapseOne82" class="panel-collapse collapse">
<div class="panel-body">
<!-- Nav tabs -->
<ul class="nav nav-tabs" id="doctab82">
<li class="active"><a href="#info82" data-toggle="tab">基础信息</a></li>
<li><a href="#sandbox82" data-toggle="tab">在线测试</a></li>
<li><a href="#sample82" data-toggle="tab">返回示例</a></li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div class="tab-pane active" id="info82">
<div class="well">
我的帖子 </div>
<div class="panel panel-default">
<div class="panel-heading"><strong>Headers</strong></div>
<div class="panel-body">
<table class="table table-hover">
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th>必选</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>token</td>
<td>string</td>
<td></td>
<td>请求的Token</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>参数</strong></div>
<div class="panel-body">
<table class="table table-hover">
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th>必选</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>feedback_wrong_id</td>
<td>inter</td>
<td></td>
<td>错误类型ID</td>
</tr>
<tr>
<td>content</td>
<td>string</td>
<td></td>
<td>反馈内容</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>正文</strong></div>
<div class="panel-body">
</div>
</div>
</div><!-- #info -->
<div class="tab-pane" id="sandbox82">
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading"><strong>Headers</strong></div>
<div class="panel-body">
<div class="headers">
<div class="form-group">
<label class="control-label" for="token">token</label>
<input type="string" class="form-control input-sm" id="token" required placeholder="请求的Token - Ex: " name="token">
</div>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>参数</strong></div>
<div class="panel-body">
<form enctype="application/x-www-form-urlencoded" role="form" action="/mobile/user/topicList" method="POST" name="form82" id="form82">
<div class="form-group">
<label class="control-label" for="feedback_wrong_id">feedback_wrong_id</label>
<input type="inter" class="form-control input-sm" id="feedback_wrong_id" required placeholder="错误类型ID" name="feedback_wrong_id">
</div>
<div class="form-group">
<label class="control-label" for="content">content</label>
<input type="string" class="form-control input-sm" id="content" required placeholder="反馈内容" name="content">
</div>
<div class="form-group">
<button type="submit" class="btn btn-success send" rel="82">提交</button>
<button type="reset" class="btn btn-info" rel="82">重置</button>
</div>
</form>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>响应输出</strong></div>
<div class="panel-body">
<div class="row">
<div class="col-md-12" style="overflow-x:auto">
<pre id="response_headers82"></pre>
<pre id="response82"></pre>
</div>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>返回参数</strong></div>
<div class="panel-body">
</div>
</div>
</div>
</div>
</div><!-- #sandbox -->
<div class="tab-pane" id="sample82">
<div class="row">
<div class="col-md-12">
<pre id="sample_response82">{
"code": 1,
"msg": "成功",
"time": "1600167441",
"data": {
"id": 7, //消息ID
"user_id": 16, //用户ID
"title": "这是个消息", //消息标题
"content": "这个消息还不错Q", //消息内容
"is_read": "1", //是否已读:0=否,1=是
"createtime": 1599914736,
"updatetime": 1600167441
}
}</pre>
</div>
</div>
</div><!-- #sample -->
</div><!-- .tab-content -->
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading" id="heading-83">
<h4 class="panel-title">
<span class="label label-primary">POST</span>
<a data-toggle="collapse" data-parent="#accordion83" href="#collapseOne83"> 我的帖子-@我的 <span class="text-muted">/mobile/user/topicCueMe</span></a>
</h4>
</div>
<div id="collapseOne83" class="panel-collapse collapse">
<div class="panel-body">
<!-- Nav tabs -->
<ul class="nav nav-tabs" id="doctab83">
<li class="active"><a href="#info83" data-toggle="tab">基础信息</a></li>
<li><a href="#sandbox83" data-toggle="tab">在线测试</a></li>
<li><a href="#sample83" data-toggle="tab">返回示例</a></li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div class="tab-pane active" id="info83">
<div class="well">
我的帖子-@我的 </div>
<div class="panel panel-default">
<div class="panel-heading"><strong>Headers</strong></div>
<div class="panel-body">
<table class="table table-hover">
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th>必选</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>token</td>
<td>string</td>
<td></td>
<td>请求的Token</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>参数</strong></div>
<div class="panel-body">
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>正文</strong></div>
<div class="panel-body">
</div>
</div>
</div><!-- #info -->
<div class="tab-pane" id="sandbox83">
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading"><strong>Headers</strong></div>
<div class="panel-body">
<div class="headers">
<div class="form-group">
<label class="control-label" for="token">token</label>
<input type="string" class="form-control input-sm" id="token" required placeholder="请求的Token - Ex: " name="token">
</div>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>参数</strong></div>
<div class="panel-body">
<form enctype="application/x-www-form-urlencoded" role="form" action="/mobile/user/topicCueMe" method="POST" name="form83" id="form83">
<div class="form-group">
</div>
<div class="form-group">
<button type="submit" class="btn btn-success send" rel="83">提交</button>
<button type="reset" class="btn btn-info" rel="83">重置</button>
</div>
</form>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>响应输出</strong></div>
<div class="panel-body">
<div class="row">
<div class="col-md-12" style="overflow-x:auto">
<pre id="response_headers83"></pre>
<pre id="response83"></pre>
</div>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>返回参数</strong></div>
<div class="panel-body">
</div>
</div>
</div>
</div>
</div><!-- #sandbox -->
<div class="tab-pane" id="sample83">
<div class="row">
<div class="col-md-12">
<pre id="sample_response83">{
"code": 1,
"msg": "成功",
"time": "1600167441",
"data": {
"id": 7, //消息ID
"user_id": 16, //用户ID
"title": "这是个消息", //消息标题
"content": "这个消息还不错Q", //消息内容
"is_read": "1", //是否已读:0=否,1=是
"createtime": 1599914736,
"updatetime": 1600167441
}
}</pre>
</div>
</div>
</div><!-- #sample -->
</div><!-- .tab-content -->
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading" id="heading-84">
<h4 class="panel-title">
<span class="label label-primary">POST</span>
<a data-toggle="collapse" data-parent="#accordion84" href="#collapseOne84"> 常见问题 <span class="text-muted">/mobile/user/problemList</span></a>
</h4>
</div>
<div id="collapseOne84" class="panel-collapse collapse">
<div class="panel-body">
<!-- Nav tabs -->
<ul class="nav nav-tabs" id="doctab84">
<li class="active"><a href="#info84" data-toggle="tab">基础信息</a></li>
<li><a href="#sandbox84" data-toggle="tab">在线测试</a></li>
<li><a href="#sample84" data-toggle="tab">返回示例</a></li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div class="tab-pane active" id="info84">
<div class="well">
常见问题 </div>
<div class="panel panel-default">
<div class="panel-heading"><strong>Headers</strong></div>
<div class="panel-body">
<table class="table table-hover">
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th>必选</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>token</td>
<td>string</td>
<td></td>
<td>请求的Token</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>参数</strong></div>
<div class="panel-body">
<table class="table table-hover">
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th>必选</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>page</td>
<td>inter</td>
<td></td>
<td>当前页(默认1</td>
</tr>
<tr>
<td>page_num</td>
<td>inter</td>
<td></td>
<td>每页显示数据个数(默认10)</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>正文</strong></div>
<div class="panel-body">
</div>
</div>
</div><!-- #info -->
<div class="tab-pane" id="sandbox84">
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading"><strong>Headers</strong></div>
<div class="panel-body">
<div class="headers">
<div class="form-group">
<label class="control-label" for="token">token</label>
<input type="string" class="form-control input-sm" id="token" required placeholder="请求的Token - Ex: " name="token">
</div>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>参数</strong></div>
<div class="panel-body">
<form enctype="application/x-www-form-urlencoded" role="form" action="/mobile/user/problemList" method="POST" name="form84" id="form84">
<div class="form-group">
<label class="control-label" for="page">page</label>
<input type="inter" class="form-control input-sm" id="page" placeholder="当前页(默认1" name="page">
</div>
<div class="form-group">
<label class="control-label" for="page_num">page_num</label>
<input type="inter" class="form-control input-sm" id="page_num" placeholder="每页显示数据个数(默认10)" name="page_num">
</div>
<div class="form-group">
<button type="submit" class="btn btn-success send" rel="84">提交</button>
<button type="reset" class="btn btn-info" rel="84">重置</button>
</div>
</form>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>响应输出</strong></div>
<div class="panel-body">
<div class="row">
<div class="col-md-12" style="overflow-x:auto">
<pre id="response_headers84"></pre>
<pre id="response84"></pre>
</div>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>返回参数</strong></div>
<div class="panel-body">
</div>
</div>
</div>
</div>
</div><!-- #sandbox -->
<div class="tab-pane" id="sample84">
<div class="row">
<div class="col-md-12">
<pre id="sample_response84">{
"code": 1,
"msg": "成功",
"time": "1600167138",
"data": {
"total": 1, //数据总数
"list": [{
"id": 7, //消息ID
"title": "这是个消息", //消息标题
"createtime": "2020.09.12 20:45" //发送时间
}]
}
}</pre>
</div>
</div>
</div><!-- #sample -->
</div><!-- .tab-content -->
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading" id="heading-85">
<h4 class="panel-title">
<span class="label label-primary">POST</span>
<a data-toggle="collapse" data-parent="#accordion85" href="#collapseOne85"> 常见问题-详情 <span class="text-muted">/mobile/user/problemInfo</span></a>
</h4>
</div>
<div id="collapseOne85" class="panel-collapse collapse">
<div class="panel-body">
<!-- Nav tabs -->
<ul class="nav nav-tabs" id="doctab85">
<li class="active"><a href="#info85" data-toggle="tab">基础信息</a></li>
<li><a href="#sandbox85" data-toggle="tab">在线测试</a></li>
<li><a href="#sample85" data-toggle="tab">返回示例</a></li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div class="tab-pane active" id="info85">
<div class="well">
常见问题-详情 </div>
<div class="panel panel-default">
<div class="panel-heading"><strong>Headers</strong></div>
<div class="panel-body">
<table class="table table-hover">
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th>必选</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>token</td>
<td>string</td>
<td></td>
<td>请求的Token</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>参数</strong></div>
<div class="panel-body">
<table class="table table-hover">
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th>必选</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>problem_id</td>
<td>inter</td>
<td></td>
<td>问题ID</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>正文</strong></div>
<div class="panel-body">
</div>
</div>
</div><!-- #info -->
<div class="tab-pane" id="sandbox85">
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading"><strong>Headers</strong></div>
<div class="panel-body">
<div class="headers">
<div class="form-group">
<label class="control-label" for="token">token</label>
<input type="string" class="form-control input-sm" id="token" required placeholder="请求的Token - Ex: " name="token">
</div>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>参数</strong></div>
<div class="panel-body">
<form enctype="application/x-www-form-urlencoded" role="form" action="/mobile/user/problemInfo" method="POST" name="form85" id="form85">
<div class="form-group">
<label class="control-label" for="problem_id">problem_id</label>
<input type="inter" class="form-control input-sm" id="problem_id" required placeholder="问题ID" name="problem_id">
</div>
<div class="form-group">
<button type="submit" class="btn btn-success send" rel="85">提交</button>
<button type="reset" class="btn btn-info" rel="85">重置</button>
</div>
</form>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>响应输出</strong></div>
<div class="panel-body">
<div class="row">
<div class="col-md-12" style="overflow-x:auto">
<pre id="response_headers85"></pre>
<pre id="response85"></pre>
</div>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>返回参数</strong></div>
<div class="panel-body">
</div>
</div>
</div>
</div>
</div><!-- #sandbox -->
<div class="tab-pane" id="sample85">
<div class="row">
<div class="col-md-12">
<pre id="sample_response85">{
"code": 1,
"msg": "成功",
"time": "1600167441",
"data": {
"id": 7, //消息ID
"user_id": 16, //用户ID
"title": "这是个消息", //消息标题
"content": "这个消息还不错Q", //消息内容
"is_read": "1", //是否已读:0=否,1=是
"createtime": 1599914736,
"updatetime": 1600167441
}
}</pre>
</div>
</div>
</div><!-- #sample -->
</div><!-- .tab-content -->
</div>
</div>
</div>
<h2>支付异步接口</h2>
<hr>
<h2>手机短信接口</h2>
... ... @@ -10718,7 +12052,7 @@
<div class="row mt0 footer">
<div class="col-md-6" align="left">
Generated on 2020-09-15 18:19:37 </div>
Generated on 2020-09-15 19:56:25 </div>
<div class="col-md-6" align="right">
<a href="./" target="_blank">企智帮</a>
</div>
... ...