|
@@ -264,7 +264,7 @@ async function login(username, password){
|
|
|
magicJS.http.post(options).then(resp => {
|
|
magicJS.http.post(options).then(resp => {
|
|
|
const htmlText = resp.body;
|
|
const htmlText = resp.body;
|
|
|
try {
|
|
try {
|
|
|
- magicJS.logger.info(`接口数据:${data}`);
|
|
|
|
|
|
|
+ magicJS.logger.info(`接口数据:${JSON.stringify(data)}`);
|
|
|
resolve(true);
|
|
resolve(true);
|
|
|
} catch (err) {
|
|
} catch (err) {
|
|
|
resolve(false);
|
|
resolve(false);
|