From 23cca262e723d4d0329a219ca2316d2bfeacb24c Mon Sep 17 00:00:00 2001
From: Penny <2500338766@qq.com>
Date: Wed, 26 Apr 2023 07:51:57 +0800
Subject: [PATCH] =?UTF-8?q?feature:=E6=96=B0=E5=A2=9E=E5=85=91=E6=8D=A2?=
=?UTF-8?q?=E7=BB=98=E7=94=BB=E4=BD=BF=E7=94=A8=E6=AC=A1=E6=95=B0=E6=96=B9?=
=?UTF-8?q?=E6=B3=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/paint.js | 8 ++++++++
pages/userInfo/userInfo.vue | 38 ++++++++++++++++++++++++++++++++++---
2 files changed, 43 insertions(+), 3 deletions(-)
diff --git a/api/paint.js b/api/paint.js
index 4050e63..582883c 100644
--- a/api/paint.js
+++ b/api/paint.js
@@ -46,5 +46,13 @@ export function checkUserCanAiPaint(data) {
data
})
}
+//使用兑换cdk
+export function useCdk(data) {
+ return request({
+ url: `${serviceTitle}${prefix}/useCdk`,
+ method: 'post',
+ data
+ })
+}
diff --git a/pages/userInfo/userInfo.vue b/pages/userInfo/userInfo.vue
index 1e1418f..a5c26c1 100644
--- a/pages/userInfo/userInfo.vue
+++ b/pages/userInfo/userInfo.vue
@@ -50,6 +50,14 @@
+
+
@@ -57,13 +65,15 @@