|
|
@@ -11,6 +11,7 @@
|
|
|
<script setup>
|
|
|
import { ref, getCurrentInstance } from "vue";
|
|
|
import { createPaymentOrder, queryPaymentStatus } from "@/api/payment";
|
|
|
+import { APP_CODE } from "@/config/app.js";
|
|
|
import { generateCustomId } from "@/utils/util.js";
|
|
|
|
|
|
// 组件实例
|
|
|
@@ -67,6 +68,7 @@ const createUniPay = async (options) => {
|
|
|
description: options.description,
|
|
|
openId: options.openId,
|
|
|
orderNo: orderNo.value,
|
|
|
+ appCode: APP_CODE,
|
|
|
});
|
|
|
|
|
|
// 订单创建成功,触发回调
|