1
0
liugc 1 жил өмнө
parent
commit
da22d33a44

+ 2 - 0
app/api/logic/ActivityLogic.php

@@ -32,11 +32,13 @@ class ActivityLogic extends BaseLogic
             if(!empty($propertyActivity->getData('activity_end_time')) && $propertyActivity->getData('activity_end_time') < time()){
             if(!empty($propertyActivity->getData('activity_end_time')) && $propertyActivity->getData('activity_end_time') < time()){
                 throw new \Exception('活动已结束');
                 throw new \Exception('活动已结束');
             }
             }
+            Log::info('getHomepageByActivityId params:'.json_encode($params));
             if($params['user_id']){
             if($params['user_id']){
                 // property_head_id householder_mobile  householder_name address
                 // property_head_id householder_mobile  householder_name address
                 $userInfo = User::where('id',$params['user_id'])->findOrEmpty();
                 $userInfo = User::where('id',$params['user_id'])->findOrEmpty();
                 if ($userInfo->isEmpty()) {
                 if ($userInfo->isEmpty()) {
                     // 检查/注册
                     // 检查/注册
+                    Log::info('getHomepageByActivityId params-102:'.json_encode([$userInfo]));
                     PropertyUserLogic::getPropertyUserIdByMobile([
                     PropertyUserLogic::getPropertyUserIdByMobile([
                         'householder_mobile' => $userInfo['mobile'],
                         'householder_mobile' => $userInfo['mobile'],
                         'householder_name' => $userInfo['real_name'],
                         'householder_name' => $userInfo['real_name'],