thinkphp 区分表单提交后的返回值

thinkphp 提交表单后 经过处理返回 

$this->success();

$this->error();

会根据表单中的ajax 值进行判断,方便的进行处理

jquery 提交form验证