|
@@ -488,11 +488,11 @@ async function getShopItem(sessionId, itemId, token, deviceId, province, city, z
|
|
|
lk.log(url);
|
|
lk.log(url);
|
|
|
lk.get(options, async (error, _response, data) => {
|
|
lk.get(options, async (error, _response, data) => {
|
|
|
let ret;
|
|
let ret;
|
|
|
|
|
+ lk.log(`data=${data}`);
|
|
|
try {
|
|
try {
|
|
|
if (error) {
|
|
if (error) {
|
|
|
lk.execFail();
|
|
lk.execFail();
|
|
|
} else {
|
|
} else {
|
|
|
- lk.log(data);
|
|
|
|
|
const jsonRetObj = JSON.parse(data);
|
|
const jsonRetObj = JSON.parse(data);
|
|
|
if (jsonRetObj.code == 2000) {
|
|
if (jsonRetObj.code == 2000) {
|
|
|
const rspData = jsonRetObj.data || {};
|
|
const rspData = jsonRetObj.data || {};
|