i
This commit is contained in:
@@ -34,9 +34,9 @@ const scanCode = () => {
|
||||
scanType: ["qrCode"],
|
||||
success: async (res) => {
|
||||
try {
|
||||
const user = JSON.parse(Taro.getStorageSync("userInfo"));
|
||||
const mer_type = JSON.parse(Taro.getStorageSync("mer_type"));
|
||||
let data;
|
||||
if (user.mer_type === 1) {
|
||||
if (mer_type === 1) {
|
||||
data = await activeOrderVerify({
|
||||
oid: res.result,
|
||||
});
|
||||
@@ -44,6 +44,7 @@ const scanCode = () => {
|
||||
data = await orderVerify({
|
||||
oid: res.result,
|
||||
});
|
||||
|
||||
}
|
||||
Taro.showToast({
|
||||
title: data.msg,
|
||||
|
||||
Reference in New Issue
Block a user