避免邮箱泄露,必须写入完整的邮箱数据

This commit is contained in:
筱锋xiao_lfeng 2023-06-27 20:58:17 +08:00
parent 994b1e907f
commit 06c6b57ad6

View File

@ -143,7 +143,7 @@ public function apiCustomSearch(Request $request): JsonResponse
->where([
['blogName', 'LIKE', '%' . $request->location_search . '%', 'or'],
['blogUrl', 'LIKE', '%' . $request->location_search . '%', 'or'],
['blogOwnEmail', 'LIKE', '%' . $request->location_search . '%', 'or']])
['blogOwnEmail', '=', $request->location_search, 'or']])
->select('blogName','blogUrl','blogDescription','blogIcon')
->orderBy('id')
->get()