feat(ops): 下单与核销纳入接口访问百分比
总部可按成功百分比拦截现场提货、配送下单,以及扫码、手机号和弱网核销,规则写入 v4 文档。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -164,7 +164,9 @@ export default function OrderConfirmPickupPage() {
|
||||
try {
|
||||
await doSubmit();
|
||||
} catch (e) {
|
||||
setMsg(e instanceof Error ? e.message : '下单失败');
|
||||
const tip = e instanceof Error ? e.message : '下单失败';
|
||||
setMsg(tip);
|
||||
toast(tip);
|
||||
} finally {
|
||||
setLoading(false);
|
||||
}
|
||||
|
||||
@@ -296,7 +296,9 @@ export default function OrderConfirmPage() {
|
||||
try {
|
||||
await doSubmit();
|
||||
} catch (e) {
|
||||
setMsg(e instanceof Error ? e.message : '下单失败');
|
||||
const tip = e instanceof Error ? e.message : '下单失败';
|
||||
setMsg(tip);
|
||||
toast(tip);
|
||||
} finally {
|
||||
setLoading(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user