Arthur-Wu committed this file on 2024-11-18
This commit is contained in:
@ -61,6 +61,7 @@ class YMServiceApi(object):
|
||||
writeResult = Txt().append_write_txt("ScenarioTest_GoodsWhiteListID.txt", str(goodsWhiteListID))
|
||||
if not writeResult:
|
||||
logging.error(f"---写入 新建促销商品白名单ID 失败!")
|
||||
return response.json()
|
||||
|
||||
def delete_whitelist_goods(self):
|
||||
logging.info("========== [删除促销白名单商品] ==========")
|
||||
@ -96,6 +97,7 @@ class YMServiceApi(object):
|
||||
writeResult = Txt().append_write_txt("ScenarioTest_WeightWhiteListID.txt", str(weightWhiteListID))
|
||||
if not writeResult:
|
||||
logging.error(f"---写入 新建重量放通白名单ID 失败!")
|
||||
return response.json()
|
||||
|
||||
def delete_weight_whitelist_goods(self):
|
||||
logging.info("========== [删除重量放通白名单商品] ==========")
|
||||
|
||||
Reference in New Issue
Block a user