File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -271,7 +271,7 @@ def ordinary(N, opts=None):
271271 N ['待评价订单' ] -= 1
272272 return N
273273
274-
274+ '''
275275# 晒单评价
276276def 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# 追评
373373def 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 )
You can’t perform that action at this time.
0 commit comments