This commit is contained in:
aozhiwei 2019-07-04 12:25:51 +08:00
parent c741854c2e
commit bc17a7638d

View File

@ -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;
}