From 69cc3923c831ef5ecb3ca8f88999bb04f6c01e0f Mon Sep 17 00:00:00 2001
From: liweiliang <838882374@qq.com>
Date: Thu, 29 Jun 2023 17:00:14 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/user/coin.js | 53 +++++
src/views/user/coin/index.vue | 405 ++++++++++++++++++++++++++++++++++
2 files changed, 458 insertions(+)
create mode 100644 src/api/user/coin.js
create mode 100644 src/views/user/coin/index.vue
diff --git a/src/api/user/coin.js b/src/api/user/coin.js
new file mode 100644
index 0000000..9a3d833
--- /dev/null
+++ b/src/api/user/coin.js
@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询币种配置列表
+export function listCoin(query) {
+ return request({
+ url: '/user/coin/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询币种配置详细
+export function getCoin(id) {
+ return request({
+ url: '/user/coin/' + id,
+ method: 'get'
+ })
+}
+
+// 新增币种配置
+export function addCoin(data) {
+ return request({
+ url: '/user/coin',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改币种配置
+export function updateCoin(data) {
+ return request({
+ url: '/user/coin',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除币种配置
+export function delCoin(id) {
+ return request({
+ url: '/user/coin/' + id,
+ method: 'delete'
+ })
+}
+
+// 导出币种配置
+export function exportCoin(query) {
+ return request({
+ url: '/user/coin/export',
+ method: 'get',
+ params: query
+ })
+}
\ No newline at end of file
diff --git a/src/views/user/coin/index.vue b/src/views/user/coin/index.vue
new file mode 100644
index 0000000..7178e12
--- /dev/null
+++ b/src/views/user/coin/index.vue
@@ -0,0 +1,405 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+ 修改
+
+
+ 删除
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+