|
|
@@ -713,12 +713,13 @@ async function getUserEnergyAward(token, deviceId) {
|
|
|
headers: headers,
|
|
|
body: body
|
|
|
};
|
|
|
- lk.get(options, async (error, _response, data) => {
|
|
|
+ lk.post(options, async (error, _response, data) => {
|
|
|
let ret;
|
|
|
try {
|
|
|
if (error) {
|
|
|
lk.execFail();
|
|
|
} else {
|
|
|
+ lk.log(data);
|
|
|
const jsonRetObj = JSON.parse(data);
|
|
|
if(jsonRetObj.code == 200){
|
|
|
const rspData = jsonRetObj.data || {};
|