|
@@ -182,7 +182,7 @@ class MeetingService extends BaseService
|
|
|
*/
|
|
*/
|
|
|
public function books($userId, $params)
|
|
public function books($userId, $params)
|
|
|
{
|
|
{
|
|
|
- $meetingId = isset($params['meeting_id']) ? intval($params['meeting_id']) : 0;
|
|
|
|
|
|
|
+ $meetingId = isset($params['id']) ? intval($params['id']) : 0;
|
|
|
if ($meetingId<=0) {
|
|
if ($meetingId<=0) {
|
|
|
$this->error = '会议参数错误,请返回重试~';
|
|
$this->error = '会议参数错误,请返回重试~';
|
|
|
return false;
|
|
return false;
|
|
@@ -217,7 +217,7 @@ class MeetingService extends BaseService
|
|
|
RedisService::clear($cacheKey);
|
|
RedisService::clear($cacheKey);
|
|
|
$this->error = '您已经完成签到';
|
|
$this->error = '您已经完成签到';
|
|
|
return false;
|
|
return false;
|
|
|
- }
|
|
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
$otherRecord = MeetingRecordsModel::with(['meeting'])->where(['user_id'=>$userId,'mark'=>1])->first();
|
|
$otherRecord = MeetingRecordsModel::with(['meeting'])->where(['user_id'=>$userId,'mark'=>1])->first();
|
|
|
$meeting = isset($otherRecord['meeting'])?$otherRecord['meeting']:[];
|
|
$meeting = isset($otherRecord['meeting'])?$otherRecord['meeting']:[];
|