且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

语法错误:JSON.parse:在JSON数据线1列2意外的字符

更新时间:2023-10-24 08:46:46

您在返回与2个属性JS​​ON,成功消息(你不需要 parseJSON )。要访问它们。

You returning json with 2 properties, Success and Message (you do not need parseJSON). To access them

success: function (result) {
  var success = result.Success;
  var message = result.Message;
  ....