正在显示
2 个修改的文件
包含
2 行增加
和
13 行删除
@@ -54,7 +54,6 @@ class Activity extends Api | @@ -54,7 +54,6 @@ class Activity extends Api | ||
54 | * @ApiTitle (项目校区) | 54 | * @ApiTitle (项目校区) |
55 | * @ApiMethod (POST) | 55 | * @ApiMethod (POST) |
56 | * @ApiParams (name="id", type="interge", required=true, description="活动id") | 56 | * @ApiParams (name="id", type="interge", required=true, description="活动id") |
57 | - * @ApiParams (name="page", type="string", required=false, description="分页") | ||
58 | * @ApiReturnParams (name="code", type="integer", required=true, description="状态码") | 57 | * @ApiReturnParams (name="code", type="integer", required=true, description="状态码") |
59 | * @ApiReturnParams (name="msg", type="string", required=true, description="提示语") | 58 | * @ApiReturnParams (name="msg", type="string", required=true, description="提示语") |
60 | * @ApiReturnParams (name="data", type="object", description="扩展数据返回") | 59 | * @ApiReturnParams (name="data", type="object", description="扩展数据返回") |
@@ -72,7 +71,7 @@ class Activity extends Api | @@ -72,7 +71,7 @@ class Activity extends Api | ||
72 | ->join('school s','s.id = c.school_id') | 71 | ->join('school s','s.id = c.school_id') |
73 | ->field('c.*,a.title as activity_name,s.title as school_name') | 72 | ->field('c.*,a.title as activity_name,s.title as school_name') |
74 | ->where('c.activity_id',$param['id']) | 73 | ->where('c.activity_id',$param['id']) |
75 | - ->paginate(10,false,['page'=>$param['page']]); | 74 | + ->select(); |
76 | if (empty($data)) { | 75 | if (empty($data)) { |
77 | $this->error('当前还没有校区', ['status' => 2]); | 76 | $this->error('当前还没有校区', ['status' => 2]); |
78 | } | 77 | } |
@@ -2312,12 +2312,6 @@ | @@ -2312,12 +2312,6 @@ | ||
2312 | <td>是</td> | 2312 | <td>是</td> |
2313 | <td>活动id</td> | 2313 | <td>活动id</td> |
2314 | </tr> | 2314 | </tr> |
2315 | - <tr> | ||
2316 | - <td>page</td> | ||
2317 | - <td>string</td> | ||
2318 | - <td>否</td> | ||
2319 | - <td>分页</td> | ||
2320 | - </tr> | ||
2321 | </tbody> | 2315 | </tbody> |
2322 | </table> | 2316 | </table> |
2323 | </div> | 2317 | </div> |
@@ -2344,10 +2338,6 @@ | @@ -2344,10 +2338,6 @@ | ||
2344 | <label class="control-label" for="id">id</label> | 2338 | <label class="control-label" for="id">id</label> |
2345 | <input type="interge" class="form-control input-sm" id="id" required placeholder="活动id" name="id"> | 2339 | <input type="interge" class="form-control input-sm" id="id" required placeholder="活动id" name="id"> |
2346 | </div> | 2340 | </div> |
2347 | - <div class="form-group"> | ||
2348 | - <label class="control-label" for="page">page</label> | ||
2349 | - <input type="string" class="form-control input-sm" id="page" placeholder="分页" name="page"> | ||
2350 | - </div> | ||
2351 | <div class="form-group form-group-submit"> | 2341 | <div class="form-group form-group-submit"> |
2352 | <button type="submit" class="btn btn-success send" rel="1">提交</button> | 2342 | <button type="submit" class="btn btn-success send" rel="1">提交</button> |
2353 | <button type="reset" class="btn btn-info" rel="1">重置</button> | 2343 | <button type="reset" class="btn btn-info" rel="1">重置</button> |
@@ -5782,7 +5772,7 @@ | @@ -5782,7 +5772,7 @@ | ||
5782 | 5772 | ||
5783 | </div> | 5773 | </div> |
5784 | <div class="col-md-6" align="right"> | 5774 | <div class="col-md-6" align="right"> |
5785 | - Generated on 2023-03-29 08:42:53 <a href="./" target="_blank">校园活动</a> | 5775 | + Generated on 2023-03-29 09:03:42 <a href="./" target="_blank">校园活动</a> |
5786 | </div> | 5776 | </div> |
5787 | </div> | 5777 | </div> |
5788 | 5778 |
-
请 注册 或 登录 后发表评论