6
0
Fork 0
release
panliang 2022-06-10 14:11:06 +08:00
parent 245add8c2e
commit 669fe2f353
1 changed files with 3 additions and 0 deletions

View File

@ -41,6 +41,9 @@ class MiniprogramController extends Controller
$inviter = null;
if ($request->filled('invite_code')) {
$inviter = $this->findUserByCode($request->input('invite_code', ''));
if (!$inviter) {
throw new BizException('邀请人不存在');
}
}
try {