Home > Q&A > body text
Return a json prompt
['code' => 'Verification code error! ']
Then return a status code with a response header of 422
过去多啦不再A梦2017-05-16 16:50:26
return response()->json(['code' => '验证码错误!'],422)