优化发码回调,失败停止整个流程
This commit is contained in:
@@ -638,7 +638,8 @@ function hasKuaishouIndustryVoucherContext(value: JsonObject): boolean {
|
||||
: {};
|
||||
const voucherCode = String(voucher.voucherCode || voucher.eticketId || "").trim();
|
||||
const status = String(voucher.status || "UNUSED").trim().toUpperCase();
|
||||
return Boolean(voucherCode && status !== "DESTROYED");
|
||||
const sendCallbackStatus = String(voucher.sendCallbackStatus || "success").trim().toLowerCase();
|
||||
return Boolean(voucherCode && status !== "DESTROYED" && sendCallbackStatus === "success");
|
||||
}
|
||||
|
||||
export function buildDispatchStockItems(
|
||||
|
||||
Reference in New Issue
Block a user