Commit 94821c896215ada50033533467448b60a502ff75

Authored by vking
1 parent c51770da

rebot

Showing 1 changed file with 3 additions and 1 deletions
... ... @@ -2,6 +2,8 @@
import util from './util'
export default {
async msg (json){
let openid=await getApp().getOpenid()
if(!openid) return;
let pages = getCurrentPages();
//let p = pages[pages.length - 1];
let px='',pl=pages.length,str=''
... ... @@ -21,7 +23,7 @@ export default {
content:
"**"+util.unixtoTime(new Date()/1000,'YYYY-MM-DD HH:II:SS')+"**\n"+
px+
"><font color=\"red\">"+await getApp().getOpenid()+"</font>\n"+
"><font color=\"red\">"+openid+"</font>\n"+
">"+json.url+"\n\n"+
(typeof json.res == 'string'?json.res:JSON.stringify(json.res)).substr(0,500)+"\n\n"
},
... ...