This commit is contained in:
2023-09-06 03:49:21 +08:00
parent 8b5de95140
commit b6ca53f70e
39 changed files with 2146 additions and 679 deletions

View File

@@ -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,