作者 潘浩文
1 个管道 的构建 通过 耗费 1 秒

接口

@@ -101,7 +101,7 @@ class AdminGoodsOrderController extends AdminBaseController @@ -101,7 +101,7 @@ class AdminGoodsOrderController extends AdminBaseController
101 101
102 public function fahuo(){ 102 public function fahuo(){
103 $param=$this->request->param(); 103 $param=$this->request->param();
104 - Db::name('goods_order')->where('id',$param['id'])->update(['status'=>3]); 104 + Db::name('goods_order')->where('id',$param['id'])->update(['status'=>2]);
105 $this->success('发货成功'); 105 $this->success('发货成功');
106 } 106 }
107 107
@@ -12,11 +12,8 @@ @@ -12,11 +12,8 @@
12 订单状态: 12 订单状态:
13 <select class="form-control" name="status" style="width: 140px;"> 13 <select class="form-control" name="status" style="width: 140px;">
14 <option value=''>全部</option> 14 <option value=''>全部</option>
15 - <option value="1" <eq name="status" value="1">selected</eq>>待支付</option>  
16 - <option value="2" <eq name="status" value="2">selected</eq>>待发货</option>  
17 - <option value="3" <eq name="status" value="3">selected</eq>>已发货</option>  
18 - <option value="4" <eq name="status" value="4">selected</eq>>已完成</option>  
19 - <option value="5" <eq name="status" value="5">selected</eq>>已取消</option> 15 + <option value="1" <eq name="status" value="1">selected</eq>>待发货</option>
  16 + <option value="2" <eq name="status" value="2">selected</eq>>已发货</option>
20 </select> 17 </select>
21 时间: 18 时间:
22 <input type="text" class="form-control js-bootstrap-datetime" name="start_time" 19 <input type="text" class="form-control js-bootstrap-datetime" name="start_time"