1
This commit is contained in:
parent
c741854c2e
commit
bc17a7638d
@ -342,11 +342,12 @@ class ShareController{
|
|||||||
} else {
|
} else {
|
||||||
$num = 1;
|
$num = 1;
|
||||||
}
|
}
|
||||||
|
error_log(json_encode($ach_list));
|
||||||
foreach($ach_list as $ach){
|
foreach($ach_list as $ach){
|
||||||
$ach_id = $ach['achievement_id'];
|
$ach_id = $ach['achievement_id'];
|
||||||
$peo_num = $ach['invitee_num'];
|
$peo_num = $ach['invitee_num'];
|
||||||
}
|
}
|
||||||
if ($peo_num < $sh['people']) {
|
if ($peo_num == 0) {
|
||||||
phpcommon\sendError(ERR_USER_BASE + 4, '未达到人数要求');
|
phpcommon\sendError(ERR_USER_BASE + 4, '未达到人数要求');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user