作者 郭盛
1 个管道 的构建 通过 耗费 0 秒

修改老师提交

... ... @@ -140,8 +140,8 @@ class Teacher extends Api
}
/**
* @ApiTitle (成为老师表单提交)
* @ApiSummary (成为老师表单提交)
* @ApiTitle (修改成为老师表单提交)
* @ApiSummary (修改成为老师表单提交)
* @ApiMethod (POST)
* @ApiRoute (/api/teacher/update)
*
... ... @@ -201,6 +201,7 @@ class Teacher extends Api
if (!$validate->check($param)) {
$this->error($validate->getError());
}
$param['status'] = 0;
$qiniu = get_addon_config('qiniu');
$http = $qiniu['cdnurl'];
$param['before'] = str_replace($http, '', $param['before']);
... ...
... ... @@ -192,7 +192,7 @@
<div class="child collapse" id="老师接口">
<a href="javascript:;" data-id="34" class="list-group-item">成为老师表单提交</a>
<a href="javascript:;" data-id="35" class="list-group-item">成为老师表单详情</a>
<a href="javascript:;" data-id="36" class="list-group-item">成为老师表单提交</a>
<a href="javascript:;" data-id="36" class="list-group-item">修改成为老师表单提交</a>
<a href="javascript:;" data-id="37" class="list-group-item">新赠擅长领域</a>
<a href="javascript:;" data-id="38" class="list-group-item">擅长领域详情</a>
<a href="javascript:;" data-id="39" class="list-group-item">编辑擅长领域</a>
... ... @@ -5229,7 +5229,7 @@
<div class="panel-heading" id="heading-36">
<h4 class="panel-title">
<span class="label label-primary">POST</span>
<a data-toggle="collapse" data-parent="#accordion36" href="#collapseOne36"> 成为老师表单提交 <span class="text-muted">/api/teacher/update</span></a>
<a data-toggle="collapse" data-parent="#accordion36" href="#collapseOne36"> 修改成为老师表单提交 <span class="text-muted">/api/teacher/update</span></a>
</h4>
</div>
<div id="collapseOne36" class="panel-collapse collapse">
... ... @@ -5247,7 +5247,7 @@
<div class="tab-pane active" id="info36">
<div class="well">
成为老师表单提交 </div>
修改成为老师表单提交 </div>
<div class="panel panel-default">
<div class="panel-heading"><strong>Headers</strong></div>
<div class="panel-body">
... ... @@ -7692,7 +7692,7 @@
<div class="row mt0 footer">
<div class="col-md-6" align="left">
Generated on 2020-01-18 18:48:01 </div>
Generated on 2020-01-18 18:51:21 </div>
<div class="col-md-6" align="right">
<a href="https://www.fastadmin.net" target="_blank">FastAdmin</a>
</div>
... ...