游戏充值预下单

master
zhanglingsheng 5 years ago
parent de6f868372
commit d44178512b

@ -83,6 +83,7 @@ class UserHController extends Controller
$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');
$prefix = "PF_"; // SP
$out_trade_no = $prefix.date('Ymd').date('His').sp_random_string(4);
$data = [
'user_id' => $this->userId,

Loading…
Cancel
Save