Commit 6fc6d113 by zujiaozhang

'修改图片上传是的data,去掉JSON.stringify'

parent 803fed37
......@@ -254,11 +254,11 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
type: 'POST',
async: false,
contentType:"application/json",
data: JSON.stringify({
data: {
folder: 'questionnaire',
mediaId: serverId,
ext: 'jpg'
}),
},
headers:{
'apptype':'wechat_lung',
'user-os':'wechat'
......
......@@ -269,11 +269,11 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
type: 'POST',
async: false,
contentType:"application/json",
data: JSON.stringify({
data: {
folder: 'questionnaire',
mediaId: serverId,
ext: 'jpg'
}),
},
headers:{
'apptype':'wechat_lung',
'user-os':'wechat'
......
......@@ -191,11 +191,11 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
type: 'POST',
async: false,
contentType:"application/json",
data: JSON.stringify({
data: {
folder: 'questionnaire',
mediaId: serverId,
ext: 'jpg'
}),
},
headers:{
'apptype':'wechat_lung',
'user-os':'wechat'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment