app.util.request({

url: "entry/wxapp/GetFormid",

cachetime: "0",

data: {

user_id: "1"

},

success: function(t) {

console.log(t);

var e, a, o = [];

for (var n in t.data) t.data[n].hours = t.data[n].time.slice(10, 19), t.data[n].time = (t.data[n].time,

a = e = void 0, e = new Date(), (a = new Date(e)).setDate(e.getDate() + 7), a.getFullYear() + "-" + (a.getMonth() + 1) + "-" + a.getDate() + t.data[n].hours),

console.log(t.data[n].time), console.log(u), u <= t.data[n].time ? o.push(t.data[n]) : app.util.request({

url: "entry/wxapp/DelFormid",

cachetime: "0",

data: {

user_id: t.data[n].user_id,

form_id: t.data[n].form_id

},

success: function(t) {}

});

这段获取FORMID,然后判断超过7天的删掉,大神帮看看有什么问题吗?之前可以收到模板消息,现在收不到了,并且开发工具出来很长的日期提示

2018-8-11 20:18:04

infodetial.js? [sm]:510 2018-08-04 16:33:25

infodetial.js? [sm]:510 2018-8-11 20:41:47

infodetial.js? [sm]:510 2018-08-04 16:33:25

infodetial.js? [sm]:510 2018-8-11 20:41:59

infodetial.js? [sm]:510 2018-08-04 16:33:25

infodetial.js? [sm]:510 2018-8-11 21:12:21

infodetial.js? [sm]:510 2018-08-04 16:33:25

infodetial.js? [sm]:510 2018-8-11 21:12:34

infodetial.js? [sm]:510 2018-08-04 16:33:25

infodetial.js? [sm]:510 2018-8-11 21:12:38

infodetial.js? [sm]:510 2018-08-04 16:33:25

infodetial.js? [sm]:510 2018-8-11 21:12:48

infodetial.js? [sm]:510 2018-08-04 16:33:25

infodetial.js? [sm]:510 2018-8-11 21:15:07

infodetial.js? [sm]:510 2018-08-04 16:33:25

infodetial.js? [sm]:510 2018-8-11 21:16:06

infodetial.js? [sm]:510 2018-08-04 16:33:25

infodetial.js? [sm]:510 2018-8-11 21:16:18

infodetial.js? [sm]:510 2018-08-04 16:33:25

infodetial.js? [sm]:510 2018-8-11 21:30:12

infodetial.js? [sm]:510 2018-08-04 16:33:25

infodetial.js? [sm]:510 2018-8-11 21:30:34

infodetial.js? [sm]:510 2018-08-04 16:33:25

infodetial.js? [sm]:510 2018-8-11 21:30:44

infodetial.js? [sm]:510 2018-08-04 16:33:25

infodetial.js? [sm]:510 2018-8-11 22:01:40

infodetial.js? [sm]:510 2018-08-04 16:33:25

infodetial.js? [sm]:510 2018-8-11 22:03:02

infodetial.js? [sm]:510 2018-08-04 16:33:25

infodetial.js? [sm]:510 2018-8-11 22:03:12

infodetial.js? [sm]:510 2018-08-04 16:33:25

infodetial.js? [sm]:510 2018-8-11 22:03:49

infodetial.js? [sm]:510 2018-08-04 16:33:25

infodetial.js? [sm]:510 2018-8-11 22:26:

展开全部
收起
1回答
提交回答
  • 至过去的我

    2044人对此回答表示赞同

    我是未来的你,你现在是不是在年找寻小程序答案。你不要感觉诧异,给你来信原因,就是让你不在后悔。今天去学习如何推广小程序,相信......点击查看更多>
    发布于
  • 燕尾蝶°优美

    4人对此回答表示赞同

    大神帮帮忙,万分感谢

    展开
    4
    0回复
    发布于 4个月前

    评论(0)

    收起评论

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z