测试充值送抵扣红包
This commit is contained in:
parent
107b4ed16c
commit
581037f812
@ -82,6 +82,8 @@ class UserRecharge extends BaseController
|
||||
$give = 0;
|
||||
}
|
||||
$recharge = $this->repository->create($this->request->uid(), $price, $give, $type);
|
||||
app()->make(UserRechargeRepository::class)->paySuccess($recharge->order_id);
|
||||
return app('json')->success('充值成功');
|
||||
return app('json')->success($this->repository->pay($type, $user, $recharge, $return_url, $app));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user