Commit 9e767b63 authored by sugar's avatar sugar

引充者商城

parent 5b455863
......@@ -31,7 +31,7 @@ class Goodsorder extends Api
$status = $this->request->param("status", null);//订单状态:-2=交易关闭,-1=已取消,0=未支付,1=已支付,2=已发货(已自提),3=已完成
$delivery_type = $this->request->param("delivery_type", 1);//发货方式:1=自提,2=物流配送
$map = ['o.user_id' =>$this->auth->id];
if($status){
if($status !=null){
$map['o.status'] = $status;
}
$map['delivery_type'] = $delivery_type;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment