From 69babb6f3ea3c404730f43fcec23520a9340c5f0 Mon Sep 17 00:00:00 2001
From: sx <2427911852@qq.com>
Date: Fri, 21 Feb 2025 17:56:36 +0800
Subject: [PATCH] =?UTF-8?q?2025.02.21=20=E5=B7=A5=E4=BD=9C=E4=BB=A3?=
=?UTF-8?q?=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
jiuyi2/api/mine.js | 55 ++++
jiuyi2/pages/index/dataCenter/push.vue | 23 +-
jiuyi2/pages/index/wallet/bill.vue | 182 ++++++++++-
jiuyi2/pages/index/wallet/get.vue | 195 ++++++++++--
jiuyi2/pages/index/wallet/wallet.vue | 5 +-
jiuyi2/pages/mine/setting/binding.vue | 1 +
jiuyi2/pages/mine/setting/setting.vue | 2 +-
jiuyi2/pages/news/news.vue | 403 ++++++++++++-------------
jiuyi2/readme.md | 2 +
9 files changed, 615 insertions(+), 253 deletions(-)
diff --git a/jiuyi2/api/mine.js b/jiuyi2/api/mine.js
index 38c664c7..1b08a2d9 100644
--- a/jiuyi2/api/mine.js
+++ b/jiuyi2/api/mine.js
@@ -297,6 +297,61 @@ const mine = {
method: 'POST',
})
},
+
+ /**
+ * 账号解冻
+ * @param {Object} param
+ */
+ getWalletBillList(param) {
+ return util.request({
+ url: '/user/walletTransaction/list',
+ data: param.data,
+ query: param.query,
+ method: 'GET',
+ load: true,
+ })
+ },
+
+ /**
+ * 支付宝提现
+ * @param {Object} param
+ */
+ getToAlipay(param) {
+ return util.request({
+ url: '/user/alipay/withdraw',
+ data: param.data,
+ query: param.query,
+ method: 'POST',
+ load: true,
+ })
+ },
+
+ /**
+ * 银行卡提现
+ * @param {Object} param
+ */
+ getToBank(param) {
+ return util.request({
+ url: '/user/alipay/withdrawToBankCard',
+ data: param.data,
+ query: param.query,
+ method: 'POST',
+ load: true,
+ })
+ },
+
+ /**
+ * 获取提现配置
+ * @param {Object} param
+ */
+ getPayConfig(param) {
+ return util.request({
+ url: '/user/alipay/getPayConfig',
+ data: param.data,
+ query: param.query,
+ method: 'GET',
+ })
+ },
}
export default mine
\ No newline at end of file
diff --git a/jiuyi2/pages/index/dataCenter/push.vue b/jiuyi2/pages/index/dataCenter/push.vue
index ee2994e7..2fb4a106 100644
--- a/jiuyi2/pages/index/dataCenter/push.vue
+++ b/jiuyi2/pages/index/dataCenter/push.vue
@@ -18,17 +18,18 @@
import util from '@/common/js/util';
// api
import api from '@/api/index.js'
- import videoApi from '@/api/video.js'
import {
onLoad,
onReady,
onHide,
onUnload,
} from '@dcloudio/uni-app'
+
// 顶部
import apex from '@/components/header/apex.vue';
// 视频菜单
import videoMenu from '@/components/index/videoMenu.vue';
+
const {
proxy
} = getCurrentInstance()
@@ -37,7 +38,6 @@
const userinfo = computed(() => store.state.userinfo)
// 榴莲果兑换播放量数量
const durainView = ref(0)
-
// 列表数据
const list = reactive({
data: [],
@@ -182,7 +182,7 @@
return
}
- videoApi.pushVideo({
+ api.video.pushVideo({
query: {
ids: videoIds.value.join(','),
}
@@ -219,7 +219,7 @@
return
}
- videoApi.applyVideo({
+ api.video.applyVideo({
data: {
videoIds: videoIds.value.join(","),
author: apply.author,
@@ -256,17 +256,15 @@
})
}
- //
+ // 推流收藏视频
function pushCollect() {
- uni.navigateTo({
- url: util.setUrl('/pages/index/dataCenter/pushVideoCollects', {
- ids: collectVideoIds.value.join(','),
- })
- })
+ link(util.setUrl('/pages/index/dataCenter/pushVideoCollects', {
+ ids: collectVideoIds.value.join(','),
+ }))
}
// 跳转
- function navigateToPage(path) {
+ function link(path) {
uni.navigateTo({
url: path
});
@@ -277,7 +275,7 @@
- 历史推流
+ 历史推流
@@ -432,7 +430,6 @@
-
\ No newline at end of file
diff --git a/jiuyi2/readme.md b/jiuyi2/readme.md
index 20f473c9..111c7cca 100644
--- a/jiuyi2/readme.md
+++ b/jiuyi2/readme.md
@@ -64,6 +64,8 @@ selectAddress 选择地址
updateOrderList 更新订单列表
updateOrderDetail 更新订单详情
updateUserProduct 更新用户商品
+updateBindingAccount 更新绑定账号
+selectBindingBank 选择绑定的银行卡
缓存
---