wenmenghao321 1 жил өмнө
parent
commit
3448f84c77

+ 4 - 4
src/jfw/modules/app/src/web/templates/weixin/wxinfocontent.html

@@ -1524,8 +1524,8 @@
         $.ajax({
                 type: "POST",
                 url: "/publicapply/userbase/getOriginalText",
-                data:{id:id},
-                dataType: "json",
+                contentType: 'application/json',
+                data:JSON.stringify({id:id}),
                 success: function(res){
                   lock_ = true
                   if(!res.data){
@@ -1578,8 +1578,8 @@
       $.ajax({
                 type: "POST",
                 url: "/publicapply/userbase/getOriginalText",
-                data:{id:id,use:true},
-                dataType: "json",
+                contentType: 'application/json',
+                data:JSON.stringify({id:id,use:true}),
                 success: function(res){
                   if(!res.data){
                     return

+ 2 - 2
src/web/staticres/common-module/perfect-info/js/perfect-info.js

@@ -1354,8 +1354,8 @@ var vNode = {
       $.ajax({
         type: "POST",
         url: "/publicapply/userbase/getOriginalText",
-        data:{id:_this.signId},
-        dataType: "json",
+        contentType: 'application/json',
+        data:JSON.stringify({id:_this.signId}),
         success: function(res){
           if(!res.data){
             return

+ 4 - 4
src/web/templates/weixin/wxinfocontent_rec.html

@@ -2140,8 +2140,8 @@ function setEntServiceInfo (res) {
         $.ajax({
                 type: "POST",
                 url: "/publicapply/userbase/getOriginalText",
-                data:{id:id},
-                dataType: "json",
+                contentType: 'application/json',
+                data:JSON.stringify({id:id}),
                 success: function(res){
                   lock_ = true
                   if(!res.data){
@@ -2195,8 +2195,8 @@ function setEntServiceInfo (res) {
       $.ajax({
                 type: "POST",
                 url: "/publicapply/userbase/getOriginalText",
-                data:{id:id,use:true},
-                dataType: "json",
+                contentType: 'application/json',
+                data:JSON.stringify({id:id,use:true}),
                 success: function(res){
                   if(!res.data){
                     return