Skip to content

Commit e6c4c29

Browse files
committed
Remove the function of posting picture review
1 parent b6cd130 commit e6c4c29

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

auto_comment_plus.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def ordinary(N, opts=None):
271271
N['待评价订单'] -= 1
272272
return N
273273

274-
274+
'''
275275
# 晒单评价
276276
def sunbw(N, opts=None):
277277
opts = opts or {}
@@ -367,7 +367,7 @@ def sunbw(N, opts=None):
367367
time.sleep(SUNBW_SLEEP_SEC)
368368
N['待晒单'] -= 1
369369
return N
370-
370+
'''
371371

372372
# 追评
373373
def review(N, opts=None):
@@ -548,18 +548,21 @@ def main(opts=None):
548548
if not N:
549549
opts['logger'].error('Ck出现错误,请重新抓取!')
550550
exit()
551+
opts['logger'].info(f"已评价:{N['已评价']}个")
551552
if N['待评价订单'] != 0:
552553
opts['logger'].info("1.开始普通评价")
553554
N = ordinary(N, opts)
554555
opts['logger'].debug('N value after executing ordinary(): %s', N)
555556
N = No(opts)
556557
opts['logger'].debug('N value after executing No(): %s', N)
558+
''' "待晒单" is no longer found in N{} instead of "已评价"
557559
if N['待晒单'] != 0:
558560
opts['logger'].info("2.开始晒单评价")
559561
N = sunbw(N, opts)
560562
opts['logger'].debug('N value after executing sunbw(): %s', N)
561563
N = No(opts)
562564
opts['logger'].debug('N value after executing No(): %s', N)
565+
'''
563566
if N['待追评'] != 0:
564567
opts['logger'].info("3.开始批量追评!")
565568
N = review(N, opts)

0 commit comments

Comments
 (0)