xieruidong 2 years ago
parent
commit
97bda66653
2 changed files with 12 additions and 1 deletions
  1. 1 0
      application/api/controller/object/Index.php
  2. 11 1
      public/api.html

+ 1 - 0
application/api/controller/object/Index.php

@@ -58,6 +58,7 @@ class Index extends Api
      * @ApiParams (name=name,description=规格名称)
      * @ApiParams (name=name,description=规格名称)
      * @ApiParams (name=amount,description=规格售价)
      * @ApiParams (name=amount,description=规格售价)
      * @ApiParams (name=amount_kill,description=秒杀价)
      * @ApiParams (name=amount_kill,description=秒杀价)
+     * @ApiParams (name=name_arr,description=规格值数组)
      */
      */
     public function goods_sku(){}
     public function goods_sku(){}
     /**
     /**

+ 11 - 1
public/api.html

@@ -7558,6 +7558,12 @@
                                                         <td>是</td>
                                                         <td>是</td>
                                                         <td>秒杀价</td>
                                                         <td>秒杀价</td>
                                                     </tr>
                                                     </tr>
+                                                                                                        <tr>
+                                                        <td>name_arr</td>
+                                                        <td>string</td>
+                                                        <td>是</td>
+                                                        <td>规格值数组</td>
+                                                    </tr>
                                                                                                     </tbody>
                                                                                                     </tbody>
                                             </table>
                                             </table>
                                                                                     </div>
                                                                                     </div>
@@ -7600,6 +7606,10 @@
                                                             <label class="control-label" for="amount_kill">amount_kill</label>
                                                             <label class="control-label" for="amount_kill">amount_kill</label>
                                                             <input type="string" class="form-control input-sm" id="amount_kill" required placeholder="秒杀价" name="amount_kill">
                                                             <input type="string" class="form-control input-sm" id="amount_kill" required placeholder="秒杀价" name="amount_kill">
                                                         </div>
                                                         </div>
+                                                                                                                <div class="form-group">
+                                                            <label class="control-label" for="name_arr">name_arr</label>
+                                                            <input type="string" class="form-control input-sm" id="name_arr" required placeholder="规格值数组" name="name_arr">
+                                                        </div>
                                                                                                                 <div class="form-group form-group-submit">
                                                                                                                 <div class="form-group form-group-submit">
                                                             <button type="submit" class="btn btn-success send" rel="55">提交</button>
                                                             <button type="submit" class="btn btn-success send" rel="55">提交</button>
                                                             <button type="reset" class="btn btn-info" rel="55">重置</button>
                                                             <button type="reset" class="btn btn-info" rel="55">重置</button>
@@ -16645,7 +16655,7 @@
 
 
                 </div>
                 </div>
                 <div class="col-md-6" align="right">
                 <div class="col-md-6" align="right">
-                    Generated on 2022-11-14 10:23:14 <a href="./" target="_blank">苏州屏酷有限公司</a>
+                    Generated on 2022-11-14 10:25:11 <a href="./" target="_blank">苏州屏酷有限公司</a>
                 </div>
                 </div>
             </div>
             </div>