|
|
@@ -518,7 +518,7 @@ async function coin() {
|
|
|
},
|
|
|
body: magicJS.objToQueryStr(body)
|
|
|
}
|
|
|
- magicJS.http.post(myRequest).then(async response => {
|
|
|
+ await magicJS.http.post(myRequest).then(async response => {
|
|
|
try {
|
|
|
const body = response.body;
|
|
|
if (body?.code === 0 && body?.message === "0") {
|
|
|
@@ -579,7 +579,6 @@ async function getFavUid() {
|
|
|
magicJS.logger.error(JSON.stringify(e));
|
|
|
resolve();
|
|
|
} finally {
|
|
|
- magicJS.logger.info("test#0");
|
|
|
}
|
|
|
}).catch(err => {
|
|
|
const msg = `获取关注列表异常\n${JSON.stringify(err)}`;
|
|
|
@@ -1298,7 +1297,7 @@ function getWbiSigns(requestParams) {
|
|
|
});
|
|
|
|
|
|
// 将参数对象转换为排序后的查询字符串
|
|
|
- queryString = objectToQueryString(sortedObjectEntries(params));
|
|
|
+ queryString = objectToQueryString(params);
|
|
|
|
|
|
// 生成请求ID并附加到查询字符串
|
|
|
const requestId = md5(queryString + signatureBase);
|