|
|
@@ -31,9 +31,9 @@ class InviteController extends BaseController
|
|
|
//取新人奖励 shish 2019.12.14
|
|
|
public function actionGetNewGift()
|
|
|
{
|
|
|
- $introUserId = Yii::$app->request->get('introUserId', 0);
|
|
|
+ $introUserId = Yii::$app->request->post('introUserId', 0);
|
|
|
InviteService::getNewGift($this->user, $introUserId);
|
|
|
util::ok('领取成功');
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
}
|