diff --git a/src/views/user/active/indexconfig/api.ts b/src/views/user/active/indexconfig/api.ts index 3af6c5b..2981ba8 100644 --- a/src/views/user/active/indexconfig/api.ts +++ b/src/views/user/active/indexconfig/api.ts @@ -18,6 +18,14 @@ const AuthAPI = { params, }); }, + // 获取会员码 +getVipCode(data: any) { + return request({ + url: `${baseURL}/getVipCode`, + method: "post", + data: { ...data }, + }); +}, // 新增 add(data: any) { return request({ @@ -57,4 +65,4 @@ export interface Responseres { [property: string]: any; } -export default AuthAPI; \ No newline at end of file +export default AuthAPI; diff --git a/src/views/user/active/indexconfig/component/AddButton.vue b/src/views/user/active/indexconfig/component/AddButton.vue index 90eb9aa..d3869d2 100644 --- a/src/views/user/active/indexconfig/component/AddButton.vue +++ b/src/views/user/active/indexconfig/component/AddButton.vue @@ -1,19 +1,24 @@ \ No newline at end of file + diff --git a/src/views/user/active/indexconfig/component/downloadQR.vue b/src/views/user/active/indexconfig/component/downloadQR.vue new file mode 100644 index 0000000..11fb63a --- /dev/null +++ b/src/views/user/active/indexconfig/component/downloadQR.vue @@ -0,0 +1,63 @@ + + +