Commit e6c3a477 by 黄日华

扫码付款orderId赋值

parent ef1350d4
......@@ -379,6 +379,7 @@ const CounterMixins = ComposeComponent => {
Speech.speak(msg);
} else if (type === 'paid') {
if (orderId) {
this.orderId = orderId;
let count = 0;
this.props.dispatch({
// 扫码付款步骤
......@@ -1156,6 +1157,8 @@ const CounterMixins = ComposeComponent => {
});
if (data.code === 1) {
Speech.speak(data.msg || '门已经打开,谢谢惠顾');
} else if (data.code === -2) {
Speech.speak(data.msg || '开门失败,请联系客服处理');
} else {
setTimeout(async () => {
const {data: dataNext} = await this.props.dispatch({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment