This commit is contained in:
Dai 2024-09-19 15:52:44 +08:00
parent 5a2ce32c66
commit e58b42eefb

View File

@ -182,7 +182,7 @@ class StudentService
public function updateOpenid($request) public function updateOpenid($request)
{ {
try { try {
if (empty((array)$request->student) || empty((array)$request->parent)) { if (empty((array)$request->student) && empty((array)$request->parent)) {
throw new Exception('请先登陆'); throw new Exception('请先登陆');
} }