修复报错

This commit is contained in:
any
2021-01-06 22:33:34 +08:00
parent aaa4e4d923
commit 527a9734a3

View File

@@ -475,10 +475,10 @@ function followShop(shopId) {
}
function enterRoom() {
return new Promise(resolve => {
const url = `${weAppUrl}/enterRoom?reqSource=weapp`;
const url = `${weAppUrl}/enterRoom/h5?reqSource=weapp&invitePin=&openId=`;
const host = `draw.jdfcloud.com`;
const reqSource = 'weapp';
$.get(taskUrl(url, host, reqSource), (err, resp, data) => {
$.post({...taskUrl(url, host, reqSource),body:'{}'}, (err, resp, data) => {
try {
if (err) {
console.log('\n京东宠汪汪: API查询请求失败 ‼️‼️')