|
@@ -1262,7 +1262,7 @@ U.MD.D.addOp3 = async (userTime, loadTime, object, status) => {
|
|
|
object: JSON.stringify(object), //执行信息传json
|
|
|
status: status, //成功返回success。失败返回error的信息
|
|
|
}
|
|
|
- fetch("https://pbl.cocorobo.cn/api/mongo/updateUserData2", { method: 'POST', body: JSON.stringify(params) }).then(res => {
|
|
|
+ fetch("https://pbl.cocorobo.cn/api/mongo/updateUserData2", { method: 'POST', body: JSON.stringify([params]) }).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
console.log('保存成功')
|
|
|
} else {
|