|
|
@ -83,8 +83,8 @@ class UserHController extends Controller
|
|
|
|
|
|
|
|
|
|
|
|
$user_info = M('user', 'tab_')->field('account,promote_id,promote_account')->where(['id' => $this->userId])->find();
|
|
|
|
$user_info = M('user', 'tab_')->field('account,promote_id,promote_account')->where(['id' => $this->userId])->find();
|
|
|
|
$game_name = M('game', 'tab_')->where(['id' => I('game_id')])->getField('game_name');
|
|
|
|
$game_name = M('game', 'tab_')->where(['id' => I('game_id')])->getField('game_name');
|
|
|
|
|
|
|
|
$prefix = "PF_"; // SP
|
|
|
|
$out_trade_no = $prefix.date('Ymd').date('His').sp_random_string(4);
|
|
|
|
$out_trade_no = $prefix.date('Ymd').date('His').sp_random_string(4);
|
|
|
|
var_dump(I('get.'));exit;
|
|
|
|
|
|
|
|
$data = [
|
|
|
|
$data = [
|
|
|
|
'user_id' => $this->userId,
|
|
|
|
'user_id' => $this->userId,
|
|
|
|
'game_id' => I('game_id'),
|
|
|
|
'game_id' => I('game_id'),
|
|
|
|