|
|
@@ -17,7 +17,7 @@ const magicJS = MagicJS(`哔哩哔哩Live助手`, "INFO");
|
|
|
let gRetBody;
|
|
|
async function Main() {
|
|
|
if (magicJS.isRequest) {
|
|
|
- magicJS.logger.info("- 正在请求处理中");
|
|
|
+ // magicJS.logger.info("- 正在请求处理中");
|
|
|
checkHandleRequest();
|
|
|
} else {
|
|
|
|
|
|
@@ -34,11 +34,11 @@ async function Main() {
|
|
|
function checkHandleRequest(){
|
|
|
const url = $request.url;
|
|
|
const path = $request.path;
|
|
|
- magicJS.logger.info(`请求url=${url}#${$request.method}`);
|
|
|
- magicJS.logger.info(`path=${path}`);
|
|
|
+ // magicJS.logger.info(`请求url=${url}#${$request.method}`);
|
|
|
+ magicJS.logger.info(`path=${path}#${$request.method}`);
|
|
|
// magicJS.logger.info(`请求body=${magicJS.getRequestBody()}`);
|
|
|
if ($request && $request.method != 'OPTIONS') {
|
|
|
- if (path.indexOf('/xlive/app-room/v1/index/getInfoByUser/') > -1) {
|
|
|
+ if (path.indexOf('/xlive/app-room/v1/index/getInfoByUser') > -1) {
|
|
|
handleXLiveRoomInfo();
|
|
|
}
|
|
|
}
|