소스 검색

代理-二维码

whitefang 1 년 전
부모
커밋
54ba500bbe
1개의 변경된 파일0개의 추가작업 그리고 9개의 파일을 삭제
  1. 0 9
      app/api/logic/PropertyOrderLogic.php

+ 0 - 9
app/api/logic/PropertyOrderLogic.php

@@ -45,16 +45,7 @@ class PropertyOrderLogic extends BaseLogic
                throw new Exception('物业代理不存在');
             }
             $order = PropertyOrder::where(['property_user_id'=>$propertyUserId,'property_head_id'=>$params['property_head_id'],'order_status'=>0])->where('work_id','<>',0)->order('id desc')->findOrEmpty();
-            Log::info('物业下单-'.$order);
             if($order->isEmpty()){
-                Log::info('物业下单-'.json_encode([
-                        'property_head_id' => $params['property_head_id'],
-                        'property_user_id' => $propertyUserId,
-                        'remark' => $params['remark']??'',
-                        'address' => $address??'',
-                        'order_status' => 0,
-                        'work_id' => 0,
-                    ],JSON_UNESCAPED_UNICODE));
                 PropertyOrder::create([
                     'property_head_id' => $params['property_head_id'],
                     'property_user_id' => $propertyUserId,