|
|
@@ -623,22 +623,25 @@ function handleFirstArtInfo() {
|
|
|
}
|
|
|
|
|
|
artInfo.title = `${artInfo.title}(流通:${artInfo.circulationNum})`;
|
|
|
- // // 强制开启购买
|
|
|
- // artInfo.status = 1;
|
|
|
- // 批量强开
|
|
|
+
|
|
|
+ // 购买寄售强开
|
|
|
if (payInfo.enableConsignment == 0) {
|
|
|
payInfo.enableConsignment = 1;
|
|
|
authorInfo.nickName = `${authorInfo.nickName}#改`;
|
|
|
magicJS.logger.info(`强制开启批量购买功能`);
|
|
|
}
|
|
|
- // if (payInfo.limited < 1) {
|
|
|
- // // 限量强开
|
|
|
- // payInfo.limited = 999;
|
|
|
- // magicJS.logger.info(`强制开启购买数量限制`);
|
|
|
- // }
|
|
|
- // if (payInfo.refreshTime == 0) {
|
|
|
- // payInfo.refreshTime = Math.floor(Date.now() / 1000);
|
|
|
- // }
|
|
|
+
|
|
|
+ // payInfo只跟首发相关
|
|
|
+ // 强制开启首发购买
|
|
|
+ // artInfo.status = 1;
|
|
|
+ if (payInfo.limited < 1) {
|
|
|
+ // 购买数量强开
|
|
|
+ payInfo.limited = 999;
|
|
|
+ magicJS.logger.info(`强制开启购买数量限制`);
|
|
|
+ }
|
|
|
+ if (payInfo.refreshTime == 0) {
|
|
|
+ payInfo.refreshTime = Math.floor(Date.now() / 1000);
|
|
|
+ }
|
|
|
gRetBody = rspData;
|
|
|
}
|
|
|
|