release
parent
19ae68841c
commit
3ca83d3773
|
|
@ -37,7 +37,11 @@ class MiniprogramController extends Controller
|
||||||
}
|
}
|
||||||
$time = now();
|
$time = now();
|
||||||
$ip = $request->realIp();
|
$ip = $request->realIp();
|
||||||
|
|
||||||
|
$inviter = null;
|
||||||
|
if ($request->filled('invite_code')) {
|
||||||
$inviter = $this->findUserByCode($request->input('invite_code', ''));
|
$inviter = $this->findUserByCode($request->input('invite_code', ''));
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
DB::beginTransaction();
|
DB::beginTransaction();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue