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