qifengquan 1 rok temu
rodzic
commit
bab0b6e0b0
2 zmienionych plików z 4 dodań i 3 usunięć
  1. 1 0
      application/api/controller/Pricing.php
  2. 3 3
      public/api.html

+ 1 - 0
application/api/controller/Pricing.php

@@ -94,6 +94,7 @@ class Pricing extends Api
     }
     /**
      * 取消订单
+     * @ApiMethod   (POST)
      * @ApiParams (name="id")
      */
     public function cancellation_order(){

+ 3 - 3
public/api.html

@@ -4465,7 +4465,7 @@
                                 <div class="panel panel-default">
                     <div class="panel-heading" id="heading-30">
                         <h4 class="panel-title">
-                            <span class="label label-success">GET</span>
+                            <span class="label label-primary">POST</span>
                             <a data-toggle="collapse" data-parent="#accordion30" href="#collapseOne30"> 取消订单 <span class="text-muted">/api/pricing/cancellation_order</span></a>
                         </h4>
                     </div>
@@ -4548,7 +4548,7 @@
                                                 </div>
                                                 </div>
                                                 <div class="panel-body">
-                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/pricing/cancellation_order" method="get" name="form30" id="form30">
+                                                    <form enctype="application/x-www-form-urlencoded" role="form" action="/api/pricing/cancellation_order" method="POST" name="form30" id="form30">
                                                                                                                 <div class="form-group">
                                                             <label class="control-label" for="id">id</label>
                                                             <input type="string" class="form-control input-sm" id="id" required placeholder="" name="id">
@@ -10705,7 +10705,7 @@
 
                 </div>
                 <div class="col-md-6" align="right">
-                    Generated on 2023-05-19 18:17:29 <a href="./" target="_blank">宙斯维创</a>
+                    Generated on 2023-05-20 09:50:02 <a href="./" target="_blank">宙斯维创</a>
                 </div>
             </div>