|
@@ -134,7 +134,7 @@ class TeacherController extends Controller
|
|
|
|
|
|
$data = $request->input('data');
|
|
$data = $request->input('data');
|
|
|
|
|
|
- $tmp = $this->where([
|
|
|
|
|
|
+ $tmp = $this->model->where([
|
|
['phone', '=', $data['phone']],
|
|
['phone', '=', $data['phone']],
|
|
['id', '<>', $request->input('id')],
|
|
['id', '<>', $request->input('id')],
|
|
])->first();
|
|
])->first();
|