Browse Source

代理二维码-转二进制方式

whitefang 1 year ago
parent
commit
4d6a7fde57
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/api/logic/PropertyOrderLogic.php

+ 2 - 1
app/api/logic/PropertyOrderLogic.php

@@ -40,11 +40,12 @@ class PropertyOrderLogic extends BaseLogic
         Db::startTrans();
         try {
             $property = PropertyHead::where('id',$params['property_head_id'])->findOrEmpty();
-            $address = $property['adress'];
+            $address = $property['address'];
             if(empty($property)){
                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(empty($order)){
                 PropertyOrder::create([
                     'property_head_id' => $params['property_head_id'],