zhuzhiqing 2 years ago
parent
commit
ee2347dc26
  1. 7
      qianpiao/dyh_chengdu.js

7
qianpiao/dyh_chengdu.js

@ -31,7 +31,7 @@ let userIdx = 0
let userCount = 0
let baseUrl = 'http://423n669m71.no-ip.org:9000/api/endpoints/2';
let apiKey = "ptr_oQzrYfeDBfuGSbaK2qOM83zN94RyEZfO8v+DdUJwccA="
let keys=['篮球',"田径","羽毛球","排球"]
let keys = ['篮球', "羽毛球", "排球"]
///////////////////////////////////////////////////////////////////
class UserInfo {
@ -702,7 +702,7 @@ async function getToken() {
"topcolor": '#FF0000',
"data": {
"title": {
"value": title
"value": title + "JD"
},
"content": {
"value": context
@ -722,8 +722,7 @@ async function getToken() {
console.log('res: ', res);
}
async function wxmmmm(title,context)
{
async function wxmmmm (title, context) {
const wxmpy = require('wxmnode');
let res = await wxmpy.sendMsgToUser("45741299", "871333", title, context, "")
console.log('res: ', res);

Loading…
Cancel
Save