refactor: destinationCountry 统一归一为中文国名
This commit is contained in:
+2
-2
@@ -121,10 +121,10 @@ def label_ocr(
|
||||
) -> dict:
|
||||
"""面单 OCR enrichment。默认处理英国(GB)+美国(US),近 7 天下单的订单。
|
||||
|
||||
手动跑其他国家: label_ocr(destination_countries=['DE'])
|
||||
手动跑其他国家: label_ocr(destination_countries=['德国'])
|
||||
"""
|
||||
if destination_countries is None:
|
||||
destination_countries = ['GB', 'US']
|
||||
destination_countries = ['英国', '美国']
|
||||
if _has_running_peer():
|
||||
print("已有 label-ocr 在运行,跳过本次")
|
||||
return {"skipped": True}
|
||||
|
||||
Reference in New Issue
Block a user