wupengfei 2 лет назад
Родитель
Сommit
977097b1d8
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      application/api/controller/WashManage.php

+ 1 - 1
application/api/controller/WashManage.php

@@ -488,7 +488,7 @@ class WashManage extends Base
     public function cancelOrder()
     {
         $order_id = input('post.id');
-        $field = 'id,module,status,order_no,price_total,pay_state,pay_no,is_deleted,pay_at,cancel_state,goods_num,remark,pro_name,city_name,county_name,add_detail,user_name,phone,postage';
+        $field = 'id,module,status,order_no,price_total,pay_state,pay_no,is_deleted,pay_at,cancel_state,goods_num,remark,pro_name,city_name,county_name,add_detail,user_name,phone,postage,coupon_id';
         $order_info = WashOrder::field($field)
             ->with('orderItem')->where('id',$order_id)->find()->toArray();
         if($order_info['is_deleted'] == 1) $this->error('订单已删除');