fix bug
This commit is contained in:
parent
5a2ce32c66
commit
e58b42eefb
@ -182,7 +182,7 @@ class StudentService
|
||||
public function updateOpenid($request)
|
||||
{
|
||||
try {
|
||||
if (empty((array)$request->student) || empty((array)$request->parent)) {
|
||||
if (empty((array)$request->student) && empty((array)$request->parent)) {
|
||||
throw new Exception('请先登陆');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user