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