|
@@ -41,13 +41,7 @@ class invite_friendControl extends mobileControl
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-// if(session_helper::logined()) {
|
|
|
-// $type_sn = "";
|
|
|
-// } else {
|
|
|
-// $type_sn = account_helper::invite_bonus($user);
|
|
|
-// }
|
|
|
- $type_sn = account_helper::invite_bonus($user);
|
|
|
-
|
|
|
+ $type_sn = account_helper::invite_bonus(session_helper::share_id());
|
|
|
if($user > 0) {
|
|
|
return self::outsuccess(['tpl' => new tpl_invite_friend($user,$type_sn)],"invite_friend/invite",'wap');
|
|
|
}
|