作者 开飞机的舒克

更新接口文档

@@ -45,6 +45,7 @@ class Activity extends Api @@ -45,6 +45,7 @@ class Activity extends Api
45 45
46 /** 46 /**
47 * @ApiTitle (项目校区) 47 * @ApiTitle (项目校区)
  48 + * @ApiMethod (POST)
48 * @ApiParams (name="id", type="string", required=false, description="活动id") 49 * @ApiParams (name="id", type="string", required=false, description="活动id")
49 * @ApiReturnParams (name="code", type="integer", required=true, description="状态码") 50 * @ApiReturnParams (name="code", type="integer", required=true, description="状态码")
50 * @ApiReturnParams (name="msg", type="string", required=true, description="提示语") 51 * @ApiReturnParams (name="msg", type="string", required=true, description="提示语")
@@ -75,6 +76,7 @@ class Activity extends Api @@ -75,6 +76,7 @@ class Activity extends Api
75 76
76 /** 77 /**
77 * @ApiTitle (项目日期场次) 78 * @ApiTitle (项目日期场次)
  79 + * @ApiMethod (POST)
78 * @ApiParams (name="id", type="string", required=false, description="校区id") 80 * @ApiParams (name="id", type="string", required=false, description="校区id")
79 * @ApiReturnParams (name="code", type="integer", required=true, description="状态码") 81 * @ApiReturnParams (name="code", type="integer", required=true, description="状态码")
80 * @ApiReturnParams (name="msg", type="string", required=true, description="提示语") 82 * @ApiReturnParams (name="msg", type="string", required=true, description="提示语")
@@ -116,6 +118,7 @@ class Activity extends Api @@ -116,6 +118,7 @@ class Activity extends Api
116 118
117 /** 119 /**
118 * @ApiTitle (项目详情) 120 * @ApiTitle (项目详情)
  121 + * @ApiMethod (POST)
119 * @ApiParams (name="id", type="string", required=false, description="项目id") 122 * @ApiParams (name="id", type="string", required=false, description="项目id")
120 * @ApiReturnParams (name="code", type="integer", required=true, description="状态码") 123 * @ApiReturnParams (name="code", type="integer", required=true, description="状态码")
121 * @ApiReturnParams (name="msg", type="string", required=true, description="提示语") 124 * @ApiReturnParams (name="msg", type="string", required=true, description="提示语")
@@ -1737,7 +1737,7 @@ @@ -1737,7 +1737,7 @@
1737 <div class="panel panel-default"> 1737 <div class="panel panel-default">
1738 <div class="panel-heading" id="heading-1"> 1738 <div class="panel-heading" id="heading-1">
1739 <h4 class="panel-title"> 1739 <h4 class="panel-title">
1740 - <span class="label label-success">GET</span> 1740 + <span class="label label-primary">POST</span>
1741 <a data-toggle="collapse" data-parent="#accordion1" href="#collapseOne1"> 项目校区 <span class="text-muted">/api/activity/getSchoolItem</span></a> 1741 <a data-toggle="collapse" data-parent="#accordion1" href="#collapseOne1"> 项目校区 <span class="text-muted">/api/activity/getSchoolItem</span></a>
1742 </h4> 1742 </h4>
1743 </div> 1743 </div>
@@ -1820,7 +1820,7 @@ @@ -1820,7 +1820,7 @@
1820 </div> 1820 </div>
1821 </div> 1821 </div>
1822 <div class="panel-body"> 1822 <div class="panel-body">
1823 - <form enctype="application/x-www-form-urlencoded" role="form" action="/api/activity/getSchoolItem" method="get" name="form1" id="form1"> 1823 + <form enctype="application/x-www-form-urlencoded" role="form" action="/api/activity/getSchoolItem" method="POST" name="form1" id="form1">
1824 <div class="form-group"> 1824 <div class="form-group">
1825 <label class="control-label" for="id">id</label> 1825 <label class="control-label" for="id">id</label>
1826 <input type="string" class="form-control input-sm" id="id" placeholder="活动id" name="id"> 1826 <input type="string" class="form-control input-sm" id="id" placeholder="活动id" name="id">
@@ -1897,7 +1897,7 @@ @@ -1897,7 +1897,7 @@
1897 <div class="panel panel-default"> 1897 <div class="panel panel-default">
1898 <div class="panel-heading" id="heading-2"> 1898 <div class="panel-heading" id="heading-2">
1899 <h4 class="panel-title"> 1899 <h4 class="panel-title">
1900 - <span class="label label-success">GET</span> 1900 + <span class="label label-primary">POST</span>
1901 <a data-toggle="collapse" data-parent="#accordion2" href="#collapseOne2"> 项目日期场次 <span class="text-muted">/api/activity/getItemRonda</span></a> 1901 <a data-toggle="collapse" data-parent="#accordion2" href="#collapseOne2"> 项目日期场次 <span class="text-muted">/api/activity/getItemRonda</span></a>
1902 </h4> 1902 </h4>
1903 </div> 1903 </div>
@@ -1980,7 +1980,7 @@ @@ -1980,7 +1980,7 @@
1980 </div> 1980 </div>
1981 </div> 1981 </div>
1982 <div class="panel-body"> 1982 <div class="panel-body">
1983 - <form enctype="application/x-www-form-urlencoded" role="form" action="/api/activity/getItemRonda" method="get" name="form2" id="form2"> 1983 + <form enctype="application/x-www-form-urlencoded" role="form" action="/api/activity/getItemRonda" method="POST" name="form2" id="form2">
1984 <div class="form-group"> 1984 <div class="form-group">
1985 <label class="control-label" for="id">id</label> 1985 <label class="control-label" for="id">id</label>
1986 <input type="string" class="form-control input-sm" id="id" placeholder="校区id" name="id"> 1986 <input type="string" class="form-control input-sm" id="id" placeholder="校区id" name="id">
@@ -2063,7 +2063,7 @@ @@ -2063,7 +2063,7 @@
2063 <div class="panel panel-default"> 2063 <div class="panel panel-default">
2064 <div class="panel-heading" id="heading-3"> 2064 <div class="panel-heading" id="heading-3">
2065 <h4 class="panel-title"> 2065 <h4 class="panel-title">
2066 - <span class="label label-success">GET</span> 2066 + <span class="label label-primary">POST</span>
2067 <a data-toggle="collapse" data-parent="#accordion3" href="#collapseOne3"> 项目详情 <span class="text-muted">/api/activity/getItemDetails</span></a> 2067 <a data-toggle="collapse" data-parent="#accordion3" href="#collapseOne3"> 项目详情 <span class="text-muted">/api/activity/getItemDetails</span></a>
2068 </h4> 2068 </h4>
2069 </div> 2069 </div>
@@ -2146,7 +2146,7 @@ @@ -2146,7 +2146,7 @@
2146 </div> 2146 </div>
2147 </div> 2147 </div>
2148 <div class="panel-body"> 2148 <div class="panel-body">
2149 - <form enctype="application/x-www-form-urlencoded" role="form" action="/api/activity/getItemDetails" method="get" name="form3" id="form3"> 2149 + <form enctype="application/x-www-form-urlencoded" role="form" action="/api/activity/getItemDetails" method="POST" name="form3" id="form3">
2150 <div class="form-group"> 2150 <div class="form-group">
2151 <label class="control-label" for="id">id</label> 2151 <label class="control-label" for="id">id</label>
2152 <input type="string" class="form-control input-sm" id="id" placeholder="项目id" name="id"> 2152 <input type="string" class="form-control input-sm" id="id" placeholder="项目id" name="id">
@@ -4180,7 +4180,7 @@ @@ -4180,7 +4180,7 @@
4180 4180
4181 </div> 4181 </div>
4182 <div class="col-md-6" align="right"> 4182 <div class="col-md-6" align="right">
4183 - Generated on 2023-03-09 17:34:29 <a href="./" target="_blank">校园活动</a> 4183 + Generated on 2023-03-09 17:37:03 <a href="./" target="_blank">校园活动</a>
4184 </div> 4184 </div>
4185 </div> 4185 </div>
4186 4186