1
This commit is contained in:
parent
429627c794
commit
1ab96d1caa
@ -432,9 +432,13 @@ class ShareController{
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
//领取奖励
|
//领取奖励
|
||||||
|
error_log(json_encode($_REQUEST['activity_param']));
|
||||||
$data = json_decode($response, true);
|
$data = json_decode($response, true);
|
||||||
|
error_log(json_encode($data));
|
||||||
$peo_num = $data['invitee_num'];
|
$peo_num = $data['invitee_num'];
|
||||||
$sh = $this->getShare($ach_id);
|
$sh = $this->getShare($ach_id);
|
||||||
|
error_log($ach_id);
|
||||||
|
error_log($peo_num);
|
||||||
if ($peo_num < $sh['people']) {
|
if ($peo_num < $sh['people']) {
|
||||||
phpcommon\sendError(ERR_USER_BASE + 4, '未达到人数要求');
|
phpcommon\sendError(ERR_USER_BASE + 4, '未达到人数要求');
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user