1234567891011121314151617181920212223242526272829303132 |
- <?php
- /**
- * 红包
- *
- *
- *
- *
- */
- defined('InShopNC') or exit('Access Invalid!');
- class member_bonusControl extends mbMemberControl
- {
- public function __construct()
- {
- parent::__construct();
- }
- public function get_bonusOp()
- {
- $bonus_type = $_POST['type'];
- $bonus = Model($bonus_type);
- if($bonus_type === 'user_bonus') {
- $user_id = $_SESSION['member_id'];
- $user_mobile = $_POST['mobile'];
- $bonus_data = $bonus->getBonus($user_id, $user_mobile);
- }
- joutput_data($bonus_data);
- }
- }
|