|
@@ -83,7 +83,7 @@ class ActivityReward extends BaseController
|
|
|
if (empty($user->phone)) throw new Exception('请先绑定手机号', HttpStatus::NOT_BIND_PHONE);
|
|
if (empty($user->phone)) throw new Exception('请先绑定手机号', HttpStatus::NOT_BIND_PHONE);
|
|
|
|
|
|
|
|
if (ActivityUser::where('member_id', $memberId)->where('status', 0)->exists()) {
|
|
if (ActivityUser::where('member_id', $memberId)->where('status', 0)->exists()) {
|
|
|
- throw new Exception('完成活动才可以参与新活动', HttpStatus::CUSTOM_ERROR);
|
|
|
|
|
|
|
+ throw new Exception('您有正在进行的活动,不可同时参与多个活动', HttpStatus::CUSTOM_ERROR);
|
|
|
}
|
|
}
|
|
|
$activityId = request()->input('activity_id');
|
|
$activityId = request()->input('activity_id');
|
|
|
|
|
|