diff --git a/src/api/badge/index.js b/src/api/badge/index.js index fbe4cc3..91178d3 100644 --- a/src/api/badge/index.js +++ b/src/api/badge/index.js @@ -15,6 +15,12 @@ export default { return fetch('/badge/list', params,'post','json') }, + addCategory(params){ + return fetch('/badge/class/add',params,'post','json') + }, + listCategory(params){ + return fetch('/badge/class/list',params,'post','json') + } } diff --git a/src/api/flower/index.js b/src/api/flower/index.js index aeda942..aa37d2a 100644 --- a/src/api/flower/index.js +++ b/src/api/flower/index.js @@ -26,6 +26,17 @@ export default { inviteList(params){ return fetch('/personal/inviteCode/records',params,'post','json') + }, + + wechat(params){ + return fetch('/config/qrcode/add',params,'post','json') + }, + wechatUpdate(params){ + return fetch('/config/qrcode/update',params,'post','json') + }, + + wechatList(params){ + return fetch('/config/qrcode/list',params,'post','json') } } diff --git a/src/components/upload/index.vue b/src/components/upload/index.vue index beb36e7..f03a61c 100644 --- a/src/components/upload/index.vue +++ b/src/components/upload/index.vue @@ -15,7 +15,7 @@ - + @@ -25,6 +25,10 @@ + + \ No newline at end of file diff --git a/src/views/flower/badge/components/edit.vue b/src/views/flower/badge/components/edit.vue index 8a09ea7..7842c49 100644 --- a/src/views/flower/badge/components/edit.vue +++ b/src/views/flower/badge/components/edit.vue @@ -1,112 +1,140 @@ - \ No newline at end of file + diff --git a/src/views/flower/badge/index.vue b/src/views/flower/badge/index.vue index 264cb29..af7aa66 100644 --- a/src/views/flower/badge/index.vue +++ b/src/views/flower/badge/index.vue @@ -4,18 +4,19 @@
- + +